Skip to content
Snippets Groups Projects
Commit 718984bc authored by Yana Kernerman's avatar Yana Kernerman
Browse files

Merge branch 'tut01' into 'main'

Tut01 test exercise

See merge request !5
parents d0f28c60 fde1da39
No related branches found
No related tags found
1 merge request!5Tut01 test exercise
Pipeline #69705 passed
...@@ -15,8 +15,7 @@ job_test_the_code: ...@@ -15,8 +15,7 @@ job_test_the_code:
job_build_artifact: job_build_artifact:
stage: build stage: build
rules: 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 image: registry.hub.docker.com/library/golang:1.21
script: script:
- go get -t ./... - go get -t ./...
...@@ -51,4 +50,3 @@ job_publish_artifact: ...@@ -51,4 +50,3 @@ job_publish_artifact:
--header "JOB-TOKEN: ${CI_JOB_TOKEN}" \ --header "JOB-TOKEN: ${CI_JOB_TOKEN}" \
--upload-file ./artifact.bin \ --upload-file ./artifact.bin \
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/artifacts/1.0.0/webservice" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/artifacts/1.0.0/webservice"
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