Skip to content
Snippets Groups Projects
Commit a1fcec7e authored by romanvalov's avatar romanvalov
Browse files

.

parent 3d6ce31e
No related branches found
No related tags found
No related merge requests found
Pipeline #11260 passed
build:
stage: build
script:
- echo "CI_COOK_BRANCH_SLUG=cook-${CI_COMMIT_REF_NAME}" >> ./.env
- echo "CI_RUN_CHECK=true" >> ./.env
artifacts:
reports:
dotenv: .env
test:
stage: test
script:
- env | sort | tee env.txt
artifacts:
paths:
- env.txt
rules:
- when: always
cache:
- key: "$CI_COOK_BRANCH_SLUG"
policy: push
paths:
- ./env.txt
check:
approve:
stage: test
script:
- env
rules:
- if: $CI_RUN_CHECK == "true"
when: manual
final:
deploy-to-s3:
stage: deploy
script:
- env
needs:
- job: check
optional: true
- job: build
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment