github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/gitlab/testdata/templates/bash.yaml (about) 1 # You can copy and paste this template into a new `.gitlab-ci.yml` file. 2 # You should not add this template to an existing `.gitlab-ci.yml` file by using the `include:` keyword. 3 # 4 # To contribute improvements to CI/CD templates, please follow the Development guide at: 5 # https://docs.gitlab.com/ee/development/cicd/templates.html 6 # This specific template is located at: 7 # https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Bash.gitlab-ci.yml 8 9 # See https://docs.gitlab.com/ee/ci/yaml/index.html for all available options 10 11 # you can delete this line if you're not using Docker 12 image: busybox:latest 13 14 before_script: 15 - echo "Before script section" 16 - echo "For example you might run an update here or install a build dependency" 17 - echo "Or perhaps you might print out some debugging details" 18 19 after_script: 20 - echo "After script section" 21 - echo "For example you might do some cleanup here" 22 23 build1: 24 stage: build 25 script: 26 - echo "Do your build here" 27 28 test1: 29 stage: test 30 script: 31 - echo "Do a test here" 32 - echo "For example run a test suite" 33 34 test2: 35 stage: test 36 script: 37 - echo "Do another parallel test here" 38 - echo "For example run a lint test" 39 40 deploy1: 41 stage: deploy 42 script: 43 - echo "Do your deploy here" 44 environment: production