.
This commit is contained in:
+19
-19
@@ -28,26 +28,26 @@ lint_backend:
|
|||||||
- npm install eslint
|
- npm install eslint
|
||||||
- npx eslint .
|
- npx eslint .
|
||||||
|
|
||||||
build-job:
|
#build-job:
|
||||||
stage: build
|
# stage: build
|
||||||
script:
|
# script:
|
||||||
- echo "Hello, $GITLAB_USER_LOGIN!"
|
# - echo "Hello, $GITLAB_USER_LOGIN!"
|
||||||
|
|
||||||
test-job1:
|
#test-job1:
|
||||||
stage: test
|
# stage: test
|
||||||
script:
|
# script:
|
||||||
- echo "This job tests something"
|
# - echo "This job tests something"
|
||||||
|
|
||||||
test-job2:
|
#test-job2:
|
||||||
stage: test
|
# stage: test
|
||||||
script:
|
# script:
|
||||||
- echo "This job tests something, but takes more time than test-job1."
|
# - echo "This job tests something, but takes more time than test-job1."
|
||||||
- echo "After the echo commands complete, it runs the sleep command for 20 seconds"
|
# - echo "After the echo commands complete, it runs the sleep command for 20 seconds"
|
||||||
- sleep 20
|
# - sleep 20
|
||||||
|
|
||||||
deploy-prod:
|
#deploy-prod:
|
||||||
stage: deploy
|
# stage: deploy
|
||||||
script:
|
# script:
|
||||||
- echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
|
# - echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
|
||||||
environment: production
|
# environment: production
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user