gitlab-org--gitlab-foss/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

# 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.
#
# 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
# See https://docs.gitlab.com/ee/ci/yaml/index.html for all available options
# you can delete this line if you're not using Docker
image: busybox:latest
before_script:
2017-09-07 05:25:06 -04:00
- 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"
after_script:
- echo "After script section"
- echo "For example you might do some cleanup here"
build1:
2017-09-07 05:25:06 -04:00
stage: build
script:
- echo "Do your build here"
test1:
2017-09-07 05:25:06 -04:00
stage: test
script:
2017-09-07 05:25:06 -04:00
- echo "Do a test here"
- echo "For example run a test suite"
test2:
2017-09-07 05:25:06 -04:00
stage: test
script:
2017-09-07 05:25:06 -04:00
- echo "Do another parallel test here"
- echo "For example run a lint test"
deploy1:
2017-09-07 05:25:06 -04:00
stage: deploy
script:
- echo "Do your deploy here"