github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/gitlab/yaml/testdata/job_keywords/needs/example-1.yaml (about) 1 # https://docs.gitlab.com/ee/ci/yaml/#needs 2 3 linux:build: 4 stage: build 5 script: echo "Building linux..." 6 7 mac:build: 8 stage: build 9 script: echo "Building mac..." 10 11 lint: 12 stage: test 13 needs: [] 14 script: echo "Linting..." 15 16 linux:rspec: 17 stage: test 18 needs: ["linux:build"] 19 script: echo "Running rspec on linux..." 20 21 mac:rspec: 22 stage: test 23 needs: ["mac:build"] 24 script: echo "Running rspec on mac..." 25 26 production: 27 stage: deploy 28 script: echo "Running production..." 29 environment: production