Update .gitlab-ci.yml file
This commit is contained in:
@@ -5,8 +5,8 @@ stages:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
prepare_job:
|
first:
|
||||||
stage: prepare
|
stage: prepare_job
|
||||||
image: python:3.10
|
image: python:3.10
|
||||||
script:
|
script:
|
||||||
- 'pip install requests'
|
- 'pip install requests'
|
||||||
@@ -15,8 +15,9 @@ prepare_job:
|
|||||||
- 'ls -al'
|
- 'ls -al'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
dependencies:
|
needs:
|
||||||
- prepare_job
|
- prepare_job
|
||||||
stage: release # It only runs when *both* jobs in the test stage complete successfully.
|
stage: release # It only runs when *both* jobs in the test stage complete successfully.
|
||||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user