Skip to content
Snippets Groups Projects
Commit 40bdd271 authored by Andri Fränkl's avatar Andri Fränkl
Browse files

Update .gitlab-ci.yml

parent 7a19d5b1
No related branches found
No related tags found
1 merge request!24Update .gitlab-ci.yml
Pipeline #14831 failed
build-job:
stage: build
script:
- echo "Hello, $GITLAB_USER_LOGIN!"
test-job1:
stage: test
script:
- echo "This job tests something"
test-job2:
stage: test
script:
- 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 "which simulates a test that runs 20 seconds longer than test-job1"
- sleep 20
default:
tags:
- docker
image: python:3.10-slim-buster
deploy-prod:
stage: deploy
my_tests:
# Good to put a small description here of what this job does
before_script:
- pip install -r requirements.txt
script:
- echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
environment: production
- echo "Command 1"
- echo "Command 2"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment