Skip to content

Instantly share code, notes, and snippets.

@dmsimard
Forked from kklimonda/jobs.yaml
Last active October 11, 2017 20:17
Show Gist options
  • Save dmsimard/b5a85109cffde40c5e6699bdc4e5c2d1 to your computer and use it in GitHub Desktop.
Save dmsimard/b5a85109cffde40c5e6699bdc4e5c2d1 to your computer and use it in GitHub Desktop.
---
- job:
name: job-base
run: playbooks/build/generic
- job:
name: job-5.0
parent: job-base
branches: master
vars:
version: 5.0
- job:
name: job-4.0
parent: job-base
branches: R4.0
vars:
version: 4.0
- project:
name: namespace/project
pipeline:
jobs:
- job-5.0
- job-4.0
---
- job:
name: job-base
- job:
name: job-base
branches: master
vars:
version: 5.0
- job:
name: job-base
branches: R4.0
vars:
version: 4.0
- job:
name: job-child
parent: job-base
run: playbooks/build/generic
- project:
name: namespace/project
pipeline:
jobs:
- job-base
---
- job:
name: job-base
run: playbooks/build/generic
- job:
name: job-5.0
parent: job-base
branches: master
vars:
version: 5.0
- job:
name: job-4.0
parent: job-base
branches: R4.0
vars:
version: 4.0
- project-template:
name: job-template
pipeline:
jobs:
- job-5.0
- job-4.0
- project:
name: namespace/project
templates:
- job-template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment