mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-11-22 08:56:58 -06:00
Hardcoded runner IDs into script paths
The runner ID CI variable resolved to the runners' numeric ID whereas the project path uses the runners' alpha-numeric formatted ID. Both IDs show in Gitlab's settings->cicd->runners. For the time being, I've hardcoded the alpha-numeric ID into the script paths in the CI config. If we have to retate runners, we will need to update these entries.
This commit is contained in:
parent
2a73946246
commit
4644b7a401
@ -71,9 +71,9 @@ create_build_machines:
|
|||||||
tags:
|
tags:
|
||||||
- build-orchestration
|
- build-orchestration
|
||||||
script:
|
script:
|
||||||
- /home/gitlab-runner/builds/$CI_RUNNER_ID/0/veilid/veilid/scripts/cicd/build-orchestration/build-machine-ctl.sh create amd64-deb
|
- /home/gitlab-runner/builds/fR8Szn9bp/0/veilid/veilid/scripts/cicd/build-orchestration/build-machine-ctl.sh create amd64-deb
|
||||||
- /home/gitlab-runner/builds/$CI_RUNNER_ID/0/veilid/veilid/scripts/cicd/build-orchestration/build-machine-ctl.sh create arm64-deb
|
- /home/gitlab-runner/builds/fR8Szn9bp/0/veilid/veilid/scripts/cicd/build-orchestration/build-machine-ctl.sh create arm64-deb
|
||||||
- /home/gitlab-runner/builds/$CI_RUNNER_ID/0/veilid/veilid/scripts/cicd/build-orchestration/build-machine-ctl.sh create amd64-rpm
|
- /home/gitlab-runner/builds/fR8Szn9bp/0/veilid/veilid/scripts/cicd/build-orchestration/build-machine-ctl.sh create amd64-rpm
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
||||||
|
|
||||||
@ -86,7 +86,7 @@ package_amd64_deb:
|
|||||||
script:
|
script:
|
||||||
- earthly bootstrap
|
- earthly bootstrap
|
||||||
- earthly +package-linux-amd64-deb
|
- earthly +package-linux-amd64-deb
|
||||||
- /home/gitlab-runner/builds/$CI_RUNNER_ID/0/veilid/veilid/scripts/cicd/build-machine/scp-to-orchestrator.sh
|
- /home/gitlab-runner/builds/t338Uo9fn/0/veilid/veilid/scripts/cicd/build-machine/scp-to-orchestrator.sh
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
||||||
|
|
||||||
@ -99,7 +99,7 @@ package_arm64_deb:
|
|||||||
script:
|
script:
|
||||||
- earthly bootstrap
|
- earthly bootstrap
|
||||||
- earthly +package-linux-arm64-deb
|
- earthly +package-linux-arm64-deb
|
||||||
- /home/gitlab-runner/builds/$CI_RUNNER_ID/0/veilid/veilid/scripts/cicd/build-machine/scp-to-orchestrator.sh
|
- /home/gitlab-runner/builds/7TYBLKUtG/0/veilid/veilid/scripts/cicd/build-machine/scp-to-orchestrator.sh
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
||||||
|
|
||||||
@ -112,7 +112,7 @@ package_amd64_rpm:
|
|||||||
script:
|
script:
|
||||||
- earthly bootstrap
|
- earthly bootstrap
|
||||||
- earthly +package-linux-amd64-rpm
|
- earthly +package-linux-amd64-rpm
|
||||||
- /home/gitlab-runner/builds/$CI_RUNNER_ID/0/veilid/veilid/scripts/cicd/build-machine/scp-to-orchestrator.sh
|
- /home/gitlab-runner/builds/C6yRimG-M/0/veilid/veilid/scripts/cicd/build-machine/scp-to-orchestrator.sh
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
||||||
|
|
||||||
@ -121,7 +121,7 @@ publish_crates:
|
|||||||
tags:
|
tags:
|
||||||
- build-amd64-deb
|
- build-amd64-deb
|
||||||
script:
|
script:
|
||||||
- cd /home/gitlab-runner/builds/$CI_RUNNER_ID/0/veilid/veilid/
|
- cd /home/gitlab-runner/builds/t338Uo9fn/0/veilid/veilid/
|
||||||
- vlt login
|
- vlt login
|
||||||
- vlt run --command="cargo publish -p veilid-tools --dry-run"
|
- vlt run --command="cargo publish -p veilid-tools --dry-run"
|
||||||
- vlt run --command="cargo publish -p veilid-tools"
|
- vlt run --command="cargo publish -p veilid-tools"
|
||||||
@ -136,7 +136,7 @@ publish_python:
|
|||||||
- build-amd64-deb
|
- build-amd64-deb
|
||||||
script:
|
script:
|
||||||
- vlt login
|
- vlt login
|
||||||
- cd /home/gitlab-runner/builds/$CI_RUNNER_ID/0/veilid/veilid/veilid-python && /home/gitlab-runner/.local/bin/poetry build
|
- cd /home/gitlab-runner/builds/t338Uo9fn/0/veilid/veilid/veilid-python && /home/gitlab-runner/.local/bin/poetry build
|
||||||
- vlt run --command="/home/gitlab-runner/.local/bin/poetry publish"
|
- vlt run --command="/home/gitlab-runner/.local/bin/poetry publish"
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
||||||
@ -150,8 +150,8 @@ build_repositories:
|
|||||||
variables:
|
variables:
|
||||||
SECURE_FILES_DOWNLOAD_PATH: './'
|
SECURE_FILES_DOWNLOAD_PATH: './'
|
||||||
script:
|
script:
|
||||||
- cp /home/gitlab-runner/builds/$CI_RUNNER_ID/0/veilid/veilid/scripts/cicd/build-orchestration/generate-release.sh ~
|
- cp /home/gitlab-runner/builds/fR8Szn9bp/0/veilid/veilid/scripts/cicd/build-orchestration/generate-release.sh ~
|
||||||
- /home/gitlab-runner/builds/$CI_RUNNER_ID/0/veilid/veilid/scripts/cicd/build-orchestration/distribute-packages.sh
|
- /home/gitlab-runner/builds/fR8Szn9bp/0/veilid/veilid/scripts/cicd/build-orchestration/distribute-packages.sh
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
||||||
|
|
||||||
@ -162,7 +162,7 @@ deploy_repos:
|
|||||||
tags:
|
tags:
|
||||||
- repo-server
|
- repo-server
|
||||||
script:
|
script:
|
||||||
- /home/gitlab-runner/builds/$CI_RUNNER_ID/0/veilid/veilid/scripts/cicd/repo-server/deploy-repo.sh
|
- /home/gitlab-runner/builds/XTKbS6v-r/0/veilid/veilid/scripts/cicd/repo-server/deploy-repo.sh
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
||||||
|
|
||||||
@ -173,8 +173,8 @@ delete_build_machines:
|
|||||||
tags:
|
tags:
|
||||||
- build-orchestration
|
- build-orchestration
|
||||||
script:
|
script:
|
||||||
- /home/gitlab-runner/builds/$CI_RUNNER_ID/0/veilid/veilid/scripts/cicd/build-orchestration/build-machine-ctl.sh delete amd64-deb
|
- /home/gitlab-runner/builds/fR8Szn9bp/0/veilid/veilid/scripts/cicd/build-orchestration/build-machine-ctl.sh delete amd64-deb
|
||||||
- /home/gitlab-runner/builds/$CI_RUNNER_ID/0/veilid/veilid/scripts/cicd/build-orchestration/build-machine-ctl.sh delete arm64-deb
|
- /home/gitlab-runner/builds/fR8Szn9bp/0/veilid/veilid/scripts/cicd/build-orchestration/build-machine-ctl.sh delete arm64-deb
|
||||||
- /home/gitlab-runner/builds/$CI_RUNNER_ID/0/veilid/veilid/scripts/cicd/build-orchestration/build-machine-ctl.sh delete amd64-rpm
|
- /home/gitlab-runner/builds/fR8Szn9bp/0/veilid/veilid/scripts/cicd/build-orchestration/build-machine-ctl.sh delete amd64-rpm
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
||||||
|
Loading…
Reference in New Issue
Block a user