New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitLab 13.0.14 -> 13.6.0 #99116
GitLab 13.0.14 -> 13.6.0 #99116
Conversation
@GrahamcOfBorg test gitlab |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for the most part, will test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works 👍
Thanks! Bumped to 13.4.3, now testing. |
After updating from 13.0.14 I had to clean |
@petabyteboy how did you "clean" |
In my case, restarting gitaly after starting gitlab seems to have done the trick — but it occurs again after the machine is rebooted. I suspect this is because the secret is generated at gitlab's startup and changes every time. I suppose gitaly should only be started after it's generated in this case — I'll test if adding We should fix this before merging, but I'm surprised that this seems to have been introduced with this version bump — maybe it's a race condition that existed beforehand but wasn't as likely to be triggered, and is now triggered by unrelated code taking longer or finishing faster. @ofborg eval (since the evaluation seems to have failed for unrelated reasons) |
I can confirm that simply restarting |
I propose to merge this to master, create a tracking issue for the remaining known issue(s?) and possibly show a warning during evaluation to make users aware of it. When the issue is solved we can backport it as well. |
I'm not keen on breaking gitlab on master, even with a warning. This will, AFAIK, always require manual intervention (including after reboots and such), and not be obvious until a user complains about not being able to push. |
I'm looking at fleshing out the gitlab nixos test a little, so we have a reliable way of testing an eventual fix. |
Gitaly should start after Gitlab and Gitaly should be restarted when Gitlab restarts, so I changed the deps like this:
and
With this, pushing still worked after multiple restarts of the gitlab service. We are running the code from this PR with my changes on our staging Gitlab at the Flying Circus and prod is currently upgrading :) |
I don't know the procedures for such big packages but what about updating to 13.6.0? |
I was running 13.5.x locally, 13.6.0 will require some manual work because they added a ruby dependency that tries to download stuff during the build process >.> |
I pushed an update to 13.6.0 and the fix proposed by @dpausp |
Changed ruby version to 2.7.x to match upstream. Added a gem config for gitlab-pg_query as it tries to download a source tarball during the build process. Also removed a patch for gitaly that has become obsolete by upstream fix [here](https://gitlab.com/gitlab-org/gitaly/-/commit/de04077c25cc23b001317d2efdf5a9ead0bc86b9).
@GrahamcOfBorg eval |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only used a test install but the upgrade worked for me.
Can someone take care of a backport PR for 20.09 at least? |
Thanks for merging. I will do a PR for the backport. |
Motivation for this change
Upgrade GitLab to latest version
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)Besides the version changes for GitLab and its dependencies, the other changes included are: