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

Tut01 test exercise

parent d0f28c60
No related branches found
No related tags found
1 merge request!5Tut01 test exercise
......@@ -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"
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