github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/gitlab/yaml/testdata/job_keywords/when/example-1.yaml.golden (about)

     1  stages:
     2      - build
     3      - cleanup_build
     4      - test
     5      - deploy
     6      - cleanup
     7  build_job:
     8      script:
     9          - make build
    10      stage: build
    11  cleanup_build_job:
    12      script:
    13          - cleanup build when failed
    14      stage: cleanup_build
    15      when: on_failure
    16  cleanup_job:
    17      script:
    18          - cleanup after jobs
    19      stage: cleanup
    20      when: always
    21  deploy_job:
    22      environment:
    23          name: production
    24      script:
    25          - make deploy
    26      stage: deploy
    27      when: manual
    28  test_job:
    29      script:
    30          - make test
    31      stage: test