From ada0b9b7cd8b205240c97bd992d29521499a6c26 Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Sun, 27 Sep 2020 21:03:38 -0500 Subject: [PATCH] Fixed deploy script for gitlab api v4 I think the old api was being used and was removed when the gitlab server was updated. Note gitlab is moving to graphql api in the next version https://docs.gitlab.com/ee/api/graphql/ --- deploy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy.py b/deploy.py index f1e713bbf..ad7b283bf 100755 --- a/deploy.py +++ b/deploy.py @@ -30,7 +30,8 @@ PROGRAMS = ['eic-shell', 'ipython'] ## URL for the current container (git tag will be filled in by the script) -CONTAINER_URL = r'https://eicweb.phy.anl.gov/{group}/{project}/-/jobs/artifacts/{version}/raw/build/{img}.sif?job=release_singularity' +CONTAINER_URL = r'https://eicweb.phy.anl.gov/api/v4/projects/290/jobs/artifacts/{version}/raw/build/{img}.sif?job=release:singularity' +#api/v4/projects/1/jobs/artifacts/master/raw/some/release/file.pdf ## Singularity bind directive BIND_DIRECTIVE= '-B {0}:{0}' -- GitLab