
Adding DISTRO parameter for makefile to invoke distribution specific Dockerfile and build image accordingly. Also qualifying image job name to distinguish ubuntu vs opensuse check jobs and passing distro specific variable. Similar logic for pushing distro specific images. Added new document section for multiple distro support. Change-Id: I215f8a107cab8770181c0472e0cc29053b2b978e
199 lines
6.3 KiB
YAML
199 lines
6.3 KiB
YAML
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
- project:
|
|
templates:
|
|
- docs-on-readthedocs
|
|
- openstack-python35-jobs
|
|
- openstack-python36-jobs
|
|
vars:
|
|
rtd_webhook_id: '38576'
|
|
check:
|
|
jobs:
|
|
- openstack-tox-pep8
|
|
- airship-shipyard-chart-build-gate
|
|
- airship-shipyard-chart-build-latest-htk
|
|
- airship-shipyard-whitespace-lint-gate
|
|
- airship-shipyard-airskiff-deployment
|
|
- airship-shipyard-image-gate-ubuntu
|
|
- airship-shipyard-image-gate-opensuse
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-pep8
|
|
- airship-shipyard-chart-build-gate
|
|
- airship-shipyard-whitespace-lint-gate
|
|
- airship-shipyard-image-gate-ubuntu
|
|
- airship-shipyard-image-gate-opensuse
|
|
post:
|
|
jobs:
|
|
- airship-shipyard-docker-build-post-ubuntu
|
|
- airship-shipyard-docker-build-post-opensuse
|
|
|
|
- nodeset:
|
|
name: airship-shipyard-single-node
|
|
nodes:
|
|
- name: primary
|
|
label: ubuntu-xenial
|
|
|
|
- job:
|
|
name: airship-shipyard-chart-build-gate
|
|
description: Build charts using pinned Helm toolkit.
|
|
timeout: 900
|
|
run: tools/gate/playbooks/build-charts.yaml
|
|
nodeset: airship-shipyard-single-node
|
|
|
|
- job:
|
|
name: airship-shipyard-chart-build-latest-htk
|
|
description: Build charts using latest Helm toolkit.
|
|
timeout: 900
|
|
voting: false
|
|
run: tools/gate/playbooks/build-charts.yaml
|
|
nodeset: airship-shipyard-single-node
|
|
vars:
|
|
HTK_COMMIT: master
|
|
|
|
- job:
|
|
name: airship-shipyard-whitespace-lint-gate
|
|
description: |
|
|
Lints all files by checking them for whitespace.
|
|
run: tools/gate/playbooks/zuul-linter.yaml
|
|
nodeset: airship-shipyard-single-node
|
|
|
|
- job:
|
|
name: airship-shipyard-image-base
|
|
description: |
|
|
Base job for running airship-shipyard image related jobs.
|
|
timeout: 3600
|
|
run: tools/gate/playbooks/run-image.yaml
|
|
nodeset: airship-shipyard-single-node
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
|
|
- job:
|
|
name: airship-shipyard-image-gate-ubuntu
|
|
description: |
|
|
Run shipyard-image build for ubuntu.
|
|
parent: airship-shipyard-image-base
|
|
vars:
|
|
publish: false
|
|
distro: ubuntu_xenial
|
|
tags:
|
|
dynamic:
|
|
patch_set: true
|
|
|
|
- job:
|
|
name: airship-shipyard-airskiff-deployment
|
|
nodeset: airship-shipyard-single-node
|
|
description: |
|
|
Deploy Memcached using Airskiff and submitted Armada changes.
|
|
timeout: 9600
|
|
voting: false
|
|
pre-run:
|
|
- tools/gate/playbooks/airskiff-reduce-site.yaml
|
|
- tools/gate/playbooks/git-config.yaml
|
|
run: tools/gate/playbooks/airskiff-deploy.yaml
|
|
post-run: tools/gate/playbooks/debug-report.yaml
|
|
required-projects:
|
|
- airship/armada
|
|
- airship/deckhand
|
|
- airship/pegleg
|
|
- airship/treasuremap
|
|
- openstack/openstack-helm-infra
|
|
vars:
|
|
OSH_INFRA_PATH: "../../openstack/openstack-helm-infra"
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
|
|
- job:
|
|
name: airship-shipyard-image-gate-opensuse
|
|
description: |
|
|
Run shipyard-image build for opensuse.
|
|
parent: airship-shipyard-image-base
|
|
vars:
|
|
publish: false
|
|
distro: opensuse_15
|
|
tags:
|
|
dynamic:
|
|
patch_set: true
|
|
|
|
- job:
|
|
name: airship-shipyard-docker-build-post-ubuntu
|
|
timeout: 1800
|
|
run: tools/gate/playbooks/run-image.yaml
|
|
nodeset: airship-shipyard-single-node
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
secrets:
|
|
- airship_shipyard_quay_creds
|
|
vars:
|
|
publish: true
|
|
distro: ubuntu_xenial
|
|
tags:
|
|
dynamic:
|
|
branch: true
|
|
commit: true
|
|
static:
|
|
- latest
|
|
|
|
- job:
|
|
name: airship-shipyard-docker-build-post-opensuse
|
|
timeout: 1800
|
|
run: tools/gate/playbooks/run-image.yaml
|
|
nodeset: airship-shipyard-single-node
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
secrets:
|
|
- airship_shipyard_quay_creds
|
|
vars:
|
|
publish: true
|
|
distro: opensuse_15
|
|
tags:
|
|
dynamic:
|
|
branch: true
|
|
commit: true
|
|
static:
|
|
- latest
|
|
|
|
- secret:
|
|
name: airship_shipyard_quay_creds
|
|
data:
|
|
username: !encrypted/pkcs1-oaep
|
|
- WD32oSzxpBLxbP0pm+JrO9/s08+anI7ntQyGcIFHXfdzR/aJy3N8n47CGi/L2VQgSNXcx
|
|
kM5FdaO0otGCmLfjQHM4vyamD7AIDEgS7hCgY2p+Ew0spslYCGlNFYtlKLHLED2s7WV2a
|
|
KA9AJPtXwNr2ogyRNsLx4Q1ALe5JdeOQBtn/tFHAj/t1azK8aiBLelbdFyzY+7omrdUd5
|
|
ZxUKFg9dx+LR06Zf6cALuyoyD+WJFEVFE3GlUs6WDIln64j6PLBP2eqtkCloQFax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