Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Transcript structure generator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
zavolan_group
tools
Transcript structure generator
Merge requests
!24
Update .gitlab-ci.yml
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update .gitlab-ci.yml
andri.fraenkl-main-patch-40540
into
main
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Andri Fränkl
requested to merge
andri.fraenkl-main-patch-40540
into
main
2 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
40bdd271
1 commit,
2 years ago
1 file
+
10
−
21
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
10
−
21
Options
build-job
:
default
:
stage
:
build
tags
:
script
:
-
docker
-
echo "Hello, $GITLAB_USER_LOGIN!"
image
:
python:3.10-slim-buster
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
deploy-prod
:
my_tests
:
stage
:
deploy
# Good to put a small description here of what this job does
before_script
:
-
pip install -r requirements.txt
script
:
script
:
-
echo "
This job deploys something from the $CI_COMMIT_BRANCH branch.
"
-
echo "
Command 1
"
environment
:
production
-
echo "Command 2"
Loading