
- folder for each version, i.e. k8s-1.19.14 - job for each image being built 'airship-image-builder-build-k8s-1.19.14' implement profiles - Add a profiles folder that gets copied into the manifests folder - update readme with details - update zuul.d with additional pipelines to build the new profiles Change-Id: Ia01516419e58a33b538b06cd31a536e8cbfc15c2
83 lines
2.6 KiB
YAML
83 lines
2.6 KiB
YAML
- job:
|
|
name: airship-image-builder-upload-git-mirror
|
|
parent: upload-git-mirror
|
|
description: Mirrors airship/image-builder to airshipit/image-builder
|
|
vars:
|
|
git_mirror_repository: airshipit/image-builder
|
|
secrets:
|
|
- name: git_mirror_credentials
|
|
secret: airship_image_builder_airshipit_github_key
|
|
pass-to-parent: true
|
|
|
|
# Run the default build job 1.18
|
|
- job:
|
|
name: airship-image-builder-build-k8s-1.18
|
|
nodeset: airship-image-builder-single-node
|
|
timeout: 7200
|
|
post-timeout: 7200
|
|
pre-run: playbooks/airship-image-builder-deploy-docker.yaml
|
|
run: playbooks/airship-image-builder-build.yaml
|
|
post-run: playbooks/airship-image-builder-collect-logs.yaml
|
|
|
|
# Run the build job 1.19
|
|
- job:
|
|
name: airship-image-builder-build-k8s-1.19
|
|
nodeset: airship-image-builder-single-node
|
|
timeout: 7200
|
|
post-timeout: 7200
|
|
pre-run: playbooks/airship-image-builder-deploy-docker.yaml
|
|
run: playbooks/airship-image-builder-build.yaml
|
|
post-run: playbooks/airship-image-builder-collect-logs.yaml
|
|
vars:
|
|
image_profile_dir: k8s-1.19
|
|
|
|
# Tag default job with 1.18
|
|
- job:
|
|
name: airship-image-builder-publish-k8s-1.18
|
|
parent: airship-image-builder-build-k8s-1.18
|
|
nodeset: airship-image-builder-single-node
|
|
timeout: 7200
|
|
post-timeout: 7200
|
|
pre-run: playbooks/airship-image-builder-deploy-docker.yaml
|
|
run: playbooks/airship-image-builder-publish-latest.yaml
|
|
secrets:
|
|
- name: image_builder_quay_creds
|
|
secret: image_builder_quay_creds
|
|
vars:
|
|
image_tag: "k8s-1.18-latest"
|
|
|
|
# Tag the 1.19 job with 1.19
|
|
- job:
|
|
name: airship-image-builder-publish-k8s-1.19
|
|
parent: airship-image-builder-build-k8s-1.19
|
|
nodeset: airship-image-builder-single-node
|
|
timeout: 7200
|
|
post-timeout: 7200
|
|
pre-run: playbooks/airship-image-builder-deploy-docker.yaml
|
|
run: playbooks/airship-image-builder-publish-latest.yaml
|
|
secrets:
|
|
- name: image_builder_quay_creds
|
|
secret: image_builder_quay_creds
|
|
vars:
|
|
image_tag: "k8s-1.19-latest"
|
|
|
|
# Tag the 1.18 job with zuul rev tag
|
|
- job:
|
|
name: airship-image-builder-publish-commit-k8s-1.18
|
|
parent: airship-image-builder-publish-k8s-1.18
|
|
vars:
|
|
image_tag: "k8s-1.18-{{ zuul.newrev }}"
|
|
|
|
# Tag the 1.19 job with zuul rev tag
|
|
- job:
|
|
name: airship-image-builder-publish-commit-k8s-1.19
|
|
parent: airship-image-builder-publish-k8s-1.19
|
|
vars:
|
|
image_tag: "k8s-1.19-{{ zuul.newrev }}"
|
|
|
|
- nodeset:
|
|
name: airship-image-builder-single-node
|
|
nodes:
|
|
- name: primary
|
|
label: ubuntu-bionic-32GB
|