forked from mirrors/nixpkgs
Merge pull request #82374 from flokli/gitlab-12.8.6
gitlab: 12.8.5 -> 12.8.6
This commit is contained in:
commit
54597496b5
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"version": "12.8.5",
|
||||
"repo_hash": "1y5606p793w1js39420jcd2bj42cripczgrdxgg2cq0r2kq8axk8",
|
||||
"version": "12.8.6",
|
||||
"repo_hash": "0plcigppmg6ckmq8myj3m9adshdvqj7czx8fms71bsa9zx060wib",
|
||||
"owner": "gitlab-org",
|
||||
"repo": "gitlab",
|
||||
"rev": "v12.8.5-ee",
|
||||
"rev": "v12.8.6-ee",
|
||||
"passthru": {
|
||||
"GITALY_SERVER_VERSION": "12.8.5",
|
||||
"GITALY_SERVER_VERSION": "12.8.6",
|
||||
"GITLAB_PAGES_VERSION": "1.16.0",
|
||||
"GITLAB_SHELL_VERSION": "11.0.0",
|
||||
"GITLAB_WORKHORSE_VERSION": "8.21.0"
|
||||
|
|
|
@ -28,14 +28,14 @@ let
|
|||
};
|
||||
});
|
||||
in buildGoPackage rec {
|
||||
version = "12.8.5";
|
||||
version = "12.8.6";
|
||||
pname = "gitaly";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "gitlab-org";
|
||||
repo = "gitaly";
|
||||
rev = "v${version}";
|
||||
sha256 = "19pwffncihhywfac7ybry38vyj3pmdz66g5nqrvwn4xxw7ypvd24";
|
||||
sha256 = "1rf9qmyjllkwkyi7la1dzyjh0z9sw21zdzihd7v9ngwqssfk5zfk";
|
||||
};
|
||||
|
||||
# Fix a check which assumes that hook files are writeable by their
|
||||
|
|
|
@ -175,6 +175,8 @@ def update_gitaly():
|
|||
f.write(repo.get_file(fn, f"v{gitaly_server_version}"))
|
||||
|
||||
subprocess.check_output(['bundix'], cwd=gitaly_dir)
|
||||
|
||||
os.environ['GOROOT'] = ""
|
||||
subprocess.check_output(['vgo2nix'], cwd=gitaly_dir)
|
||||
|
||||
for fn in ['go.mod', 'go.sum']:
|
||||
|
@ -197,6 +199,7 @@ def update_gitlab_shell():
|
|||
with open(gitlab_shell_dir / fn, 'w') as f:
|
||||
f.write(repo.get_file(fn, f"v{gitlab_shell_version}"))
|
||||
|
||||
os.environ['GOROOT'] = ""
|
||||
subprocess.check_output(['vgo2nix'], cwd=gitlab_shell_dir)
|
||||
|
||||
for fn in ['go.mod', 'go.sum']:
|
||||
|
@ -217,6 +220,7 @@ def update_gitlab_workhorse():
|
|||
with open(gitlab_workhorse_dir / fn, 'w') as f:
|
||||
f.write(repo.get_file(fn, f"v{gitlab_workhorse_version}"))
|
||||
|
||||
os.environ['GOROOT'] = ""
|
||||
subprocess.check_output(['vgo2nix'], cwd=gitlab_workhorse_dir)
|
||||
|
||||
for fn in ['go.mod', 'go.sum']:
|
||||
|
|
Loading…
Reference in a new issue