Skip to content
Snippets Groups Projects
Commit 3b09be08 authored by Nicola Jordan's avatar Nicola Jordan
Browse files

remove hack again

parent e343ac98
No related branches found
No related tags found
No related merge requests found
Pipeline #257903 passed with stage
in 1 minute and 4 seconds
...@@ -98,8 +98,6 @@ generate_executables: ...@@ -98,8 +98,6 @@ generate_executables:
stage: release stage: release
rules: rules:
- if: $CI_COMMIT_TAG # Run this job when a tag is created - if: $CI_COMMIT_TAG # Run this job when a tag is created
before_script:
- echo ARTIFACT_JOB_ID=$CI_JOB_ID >> executable_artifacts.env
script: script:
- ./go-executable-build.sh boilr boilr.go - ./go-executable-build.sh boilr boilr.go
artifacts: artifacts:
...@@ -126,14 +124,6 @@ upload: ...@@ -126,14 +124,6 @@ upload:
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file builds/boilr-linux-386 "${PACKAGE_REGISTRY_URL}${CI_COMMIT_TAG}/boilr-linux-386"' - 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file builds/boilr-linux-386 "${PACKAGE_REGISTRY_URL}${CI_COMMIT_TAG}/boilr-linux-386"'
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file builds/boilr-windows-386.exe "${PACKAGE_REGISTRY_URL}${CI_COMMIT_TAG}/boilr-windows-386.exe"' - 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file builds/boilr-windows-386.exe "${PACKAGE_REGISTRY_URL}${CI_COMMIT_TAG}/boilr-windows-386.exe"'
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file builds/boilr-windows-amd64.exe "${PACKAGE_REGISTRY_URL}${CI_COMMIT_TAG}/boilr-windows-amd64.exe"' - 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file builds/boilr-windows-amd64.exe "${PACKAGE_REGISTRY_URL}${CI_COMMIT_TAG}/boilr-windows-amd64.exe"'
# latest, is a bit brittle, since the latest could be overridden, when we deploy a lower package (ie. securtity fix backport)
# but this should not be happening the way we use it as it stands /nj, 2023-03-23
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file builds/boilr-darwin-amd64 "${PACKAGE_REGISTRY_URL}latest/boilr-darwin-amd64"'
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file builds/boilr-darwin-arm64 "${PACKAGE_REGISTRY_URL}latest/boilr-darwin-arm64"'
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file builds/boilr-linux-amd64 "${PACKAGE_REGISTRY_URL}latest/boilr-linux-amd64"'
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file builds/boilr-linux-386 "${PACKAGE_REGISTRY_URL}latest/boilr-linux-386"'
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file builds/boilr-windows-386.exe "${PACKAGE_REGISTRY_URL}latest/boilr-windows-386.exe"'
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file builds/boilr-windows-amd64.exe "${PACKAGE_REGISTRY_URL}latest/boilr-windows-amd64.exe"'
release_job: release_job:
stage: release stage: release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment