Skip to content

ci: Commit lock files#1983

Open
thompson-tomo wants to merge 3 commits intoopen-telemetry:mainfrom
thompson-tomo:feat/#1962_UseGemLockfiles
Open

ci: Commit lock files#1983
thompson-tomo wants to merge 3 commits intoopen-telemetry:mainfrom
thompson-tomo:feat/#1962_UseGemLockfiles

Conversation

@thompson-tomo
Copy link
Contributor

@thompson-tomo thompson-tomo commented Feb 4, 2026

Closes #1962

This goes through and commits the gem lockfiles.

By committing the lockfiles this enables the fossa scan to be simplified to only upload pre-generated files rather than needing to generate them on the go. It also enables better deterministic builds as everyone will always be using the same lock file.

We do not need to worry about maintaining the lockfile as renovate will raise a weekly pr to bump the contents.

Note i have also scheduled a weekly upload of the files to fossa.

@arielvalentin
Copy link
Contributor

We have not committed lock files in the past because they are regenerated in CI with each Ruby version that may have a different installed bundler version and gem requirements.

I am concerned about the conflicts we used to run into will pop-up again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Commit gemfile.lock to repo

10 participants