Skip to content
Snippets Groups Projects

Merging final pip in main

Closed Isabelle Josephine Karal requested to merge s91190/app-service:stable into main
1 file
+ 1
22
Compare changes
  • Side-by-side
  • Inline
+ 1
22
@@ -5,15 +5,10 @@ stages:
job_build:
stage: build
before_script:
- mkdir -p ./artifacts
script:
- apk add go
- go get -t ./...
- go build -o ./artifact.bin ./*.go
artifacts:
paths:
- ./artifacts
job_test:
@@ -25,21 +20,5 @@ job_test:
job_release:
stage: release
tags:
- docker-privileged
dependencies:
- job_build
before_script:
- apt update
- apt install -y ca-certificates curl
- update-ca-certificates
script:
- |
for artifact in ./artifacts/*; do
chmod +x ${artifact}
curl \
--header "JOB-TOKEN: ${CI_JOB_TOKEN}" \
--upload-file ${artifact} \
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/artifacts/${version}/"
done
- echo release
Loading