debian-mirror-gitlab/lib/gitlab/ci/templates/Bash.gitlab-ci.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
1.2 KiB
YAML
Raw Normal View History

2022-08-13 15:12:31 +05:30
# You can copy and paste this template into a new `.gitlab-ci.yml` file.
# You should not add this template to an existing `.gitlab-ci.yml` file by using the `include:` keyword.
#
2021-09-30 23:02:18 +05:30
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Bash.gitlab-ci.yml
2021-10-27 15:23:28 +05:30
# See https://docs.gitlab.com/ee/ci/yaml/index.html for all available options
2017-08-17 22:00:37 +05:30
# you can delete this line if you're not using Docker
image: busybox:latest
before_script:
2018-03-17 18:26:18 +05:30
- echo "Before script section"
- echo "For example you might run an update here or install a build dependency"
- echo "Or perhaps you might print out some debugging details"
2019-07-07 11:18:12 +05:30
2017-08-17 22:00:37 +05:30
after_script:
- echo "After script section"
- echo "For example you might do some cleanup here"
2019-07-07 11:18:12 +05:30
2017-08-17 22:00:37 +05:30
build1:
2018-03-17 18:26:18 +05:30
stage: build
script:
- echo "Do your build here"
2019-07-07 11:18:12 +05:30
2017-08-17 22:00:37 +05:30
test1:
2018-03-17 18:26:18 +05:30
stage: test
2019-07-07 11:18:12 +05:30
script:
2018-03-17 18:26:18 +05:30
- echo "Do a test here"
- echo "For example run a test suite"
2019-07-07 11:18:12 +05:30
2017-08-17 22:00:37 +05:30
test2:
2018-03-17 18:26:18 +05:30
stage: test
2019-07-07 11:18:12 +05:30
script:
2018-03-17 18:26:18 +05:30
- echo "Do another parallel test here"
- echo "For example run a lint test"
2019-07-07 11:18:12 +05:30
2017-08-17 22:00:37 +05:30
deploy1:
2018-03-17 18:26:18 +05:30
stage: deploy
script:
- echo "Do your deploy here"