Seeing the following error when attempting to run a CI job. This is indicative that the CI job might be running the ./scripts/ci_harbor_artifact_count.sh script from the wrong relative path.
$ while [ "$(./scripts/ci_harbor_artifact_count.sh)" == "0" ]; do # collapsed multi-line command
bash: line 239: ./scripts/ci_harbor_artifact_count.sh: No such file or directory
$ cat "./harbor_check.log"
cat: ./harbor_check.log: No such file or directory
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit status 1
Verifying that the script is where it is supposed to be by logging into the runner VM.
cloud@ci-datafed-globus2:/home/gitlab-runner/builds/atE7ckEEH/0/dlsw/datafed/datafed$ ls -la ./scripts/ | grep harbor
-rwxr-xr-x 1 gitlab-runner docker 2408 Oct 28 09:24 ci_harbor_artifact_count.sh
Description
Seeing the following error when attempting to run a CI job. This is indicative that the CI job might be running the ./scripts/ci_harbor_artifact_count.sh script from the wrong relative path.
Verifying that the script is where it is supposed to be by logging into the runner VM.