diff options
author | talyz <kim.lindberger@gmail.com> | 2021-04-07 16:52:15 +0200 |
---|---|---|
committer | Milan <milan@petabyte.dev> | 2021-04-07 23:23:24 +0200 |
commit | 9b30cda2f6e301abc6f39e01902330d981b12a80 (patch) | |
tree | 7b22317bfe7e0fb30c4f7146906a9127d1f095bc /pkgs/applications/version-management/gitlab/update.py | |
parent | ead4b3caabbe48d1c4101570861d728a1a8799d8 (diff) | |
download | nixpkgs-9b30cda2f6e301abc6f39e01902330d981b12a80.tar nixpkgs-9b30cda2f6e301abc6f39e01902330d981b12a80.tar.gz nixpkgs-9b30cda2f6e301abc6f39e01902330d981b12a80.tar.bz2 nixpkgs-9b30cda2f6e301abc6f39e01902330d981b12a80.tar.lz nixpkgs-9b30cda2f6e301abc6f39e01902330d981b12a80.tar.xz nixpkgs-9b30cda2f6e301abc6f39e01902330d981b12a80.tar.zst nixpkgs-9b30cda2f6e301abc6f39e01902330d981b12a80.zip |
gitlab: 13.9.4 -> 13.10.2
Diffstat (limited to 'pkgs/applications/version-management/gitlab/update.py')
-rwxr-xr-x | pkgs/applications/version-management/gitlab/update.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgs/applications/version-management/gitlab/update.py b/pkgs/applications/version-management/gitlab/update.py index f662bd3097f..b84846c88ab 100755 --- a/pkgs/applications/version-management/gitlab/update.py +++ b/pkgs/applications/version-management/gitlab/update.py @@ -68,7 +68,7 @@ class GitLabRepo: version = self.rev2version(rev) passthru = {v: self.get_file(v, rev).strip() for v in ['GITALY_SERVER_VERSION', 'GITLAB_PAGES_VERSION', - 'GITLAB_SHELL_VERSION', 'GITLAB_WORKHORSE_VERSION']} + 'GITLAB_SHELL_VERSION']} return dict(version=self.rev2version(rev), repo_hash=self.get_git_hash(rev), owner=self.owner, @@ -181,19 +181,14 @@ def update_gitlab_shell(): gitlab_shell_version = data['passthru']['GITLAB_SHELL_VERSION'] _call_nix_update('gitlab-shell', gitlab_shell_version) - repo = GitLabRepo(repo='gitlab-shell') - gitlab_shell_dir = pathlib.Path(__file__).parent / 'gitlab-shell' - @cli.command('update-gitlab-workhorse') def update_gitlab_workhorse(): """Update gitlab-workhorse""" data = _get_data_json() - gitlab_workhorse_version = data['passthru']['GITLAB_WORKHORSE_VERSION'] + gitlab_workhorse_version = data['version'] _call_nix_update('gitlab-workhorse', gitlab_workhorse_version) - repo = GitLabRepo('gitlab-org', 'gitlab-workhorse') - gitlab_workhorse_dir = pathlib.Path(__file__).parent / 'gitlab-workhorse' @cli.command('update-all') @click.option('--rev', default='latest', help='The rev to use (vX.Y.Z-ee), or \'latest\'') |