From a5ea4e7921fec03a3b34cd6b1b9da664be5d0202 Mon Sep 17 00:00:00 2001 From: mavogel <mavogel@cern.ch> Date: Tue, 29 Aug 2023 16:13:45 +0200 Subject: [PATCH] Debugging --- .gitlab-ci.yml | 2 -- script-gitlab-ci.yml.py | 1 - 2 files changed, 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc247eefb..18d366b29 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,6 @@ build_x86_64-centos7-gcc11-dbg_dev3: - logs/qmtestCool/$BINARY_TAG before_script: - "echo $BINARY_TAG $CI_COMMIT_REF_NAME" - - "echo $PRIVATE_TOKEN $CI_JOB_TOKEN" - "export highest=$(curl --header \"JOB-TOKEN: $CI_JOB_TOKEN\" \"https://gitlab.cern.ch/api/v4/projects/25684/jobs?per_page=100\" | jq \".[] | select(.name == \\\"build_x86_64-centos7-gcc11-dbg_dev3\\\") | select(.ref == \\\"${CI_COMMIT_REF_NAME}\\\") | .id\" | sort -n | tail -1)" - "echo $highest" - "curl -L --header \"JOB-TOKEN: $CI_JOB_TOKEN\" \"https://gitlab.cern.ch/api/v4/projects/25684/jobs/$highest/artifacts\" > coral-build_x86_64-centos7-gcc11-dbg_dev3.zip" @@ -41,7 +40,6 @@ build_x86_64-centos7-gcc11-opt_dev3: - logs/qmtestCool/$BINARY_TAG before_script: - "echo $BINARY_TAG $CI_COMMIT_REF_NAME" - - "echo $PRIVATE_TOKEN $CI_JOB_TOKEN" - "export highest=$(curl --header \"JOB-TOKEN: $CI_JOB_TOKEN\" \"https://gitlab.cern.ch/api/v4/projects/25684/jobs?per_page=100\" | jq \".[] | select(.name == \\\"build_x86_64-centos7-gcc11-opt_dev3\\\") | select(.ref == \\\"${CI_COMMIT_REF_NAME}\\\") | .id\" | sort -n | tail -1)" - "echo $highest" - "curl -L --header \"JOB-TOKEN: $CI_JOB_TOKEN\" \"https://gitlab.cern.ch/api/v4/projects/25684/jobs/$highest/artifacts\" > coral-build_x86_64-centos7-gcc11-opt_dev3.zip" diff --git a/script-gitlab-ci.yml.py b/script-gitlab-ci.yml.py index a4f38512f..22ee1fe48 100755 --- a/script-gitlab-ci.yml.py +++ b/script-gitlab-ci.yml.py @@ -11,7 +11,6 @@ def build_gitlabci(binary_tag, view, OS): - logs/qmtestCool/$BINARY_TAG before_script: - "echo $BINARY_TAG $CI_COMMIT_REF_NAME" - - "echo $PRIVATE_TOKEN $CI_JOB_TOKEN" - "export highest=$(curl --header \\\"JOB-TOKEN: $CI_JOB_TOKEN\\\" \\\"https://gitlab.cern.ch/api/v4/projects/25684/jobs?per_page=100\\\" | jq \\\".[] | select(.name == \\\\\\\"{name}\\\\\\\") | select(.ref == \\\\\\\"${{CI_COMMIT_REF_NAME}}\\\\\\\") | .id\\\" | sort -n | tail -1)" - "echo $highest" - "curl -L --header \\\"JOB-TOKEN: $CI_JOB_TOKEN\\\" \\\"https://gitlab.cern.ch/api/v4/projects/25684/jobs/$highest/artifacts\\\" > coral-{name}.zip" -- GitLab