github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/gitlab/yaml/testdata/job_keywords/inherit/default.yaml (about)

     1  # https://docs.gitlab.com/ee/ci/yaml/#inheritdefault
     2  
     3  default:
     4    retry: 2
     5    image: ruby:3.0
     6    interruptible: true
     7  
     8  job1:
     9    script: echo "This job does not inherit any default keywords."
    10    inherit:
    11      default: false
    12  
    13  job2:
    14    script: echo "This job inherits only the two listed default keywords. It does not inherit 'interruptible'."
    15    inherit:
    16      default:
    17        - retry
    18        - image