Skip to content
Snippets Groups Projects

Tut01 test exercise

Merged Yana Kernerman requested to merge tut01 into main
1 file
+ 1
3
Compare changes
  • Side-by-side
  • Inline
+ 1
3
@@ -15,8 +15,7 @@ job_test_the_code:
job_build_artifact:
stage: build
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"
when: always
- when: always
image: registry.hub.docker.com/library/golang:1.21
script:
- go get -t ./...
@@ -51,4 +50,3 @@ job_publish_artifact:
--header "JOB-TOKEN: ${CI_JOB_TOKEN}" \
--upload-file ./artifact.bin \
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/artifacts/1.0.0/webservice"
Loading