divingbell/.zuul.yaml
Drew Walters 4846a2d5c1 CI: Add chart build job for latest Helm toolkit
This commit introduces a non-voting job to lint Helm charts against the
latest version of Helm toolkit from OpenStack-Helm Infra. This job
should serve as an indicator of when it's safe to advance the version of
Helm toolkit used by Airship.

Additionally, this commit modifies all Helm chart lint jobs to run on
each commit, regardless of the files modified by a change. This should
not introduce a noticeable difference in CI runtime, as these jobs
execute quicker than the tox jobs.

Change-Id: Iffbe718f2f8cabaac74910e0c40a13e17e3f0578
2019-04-03 14:25:44 +00:00

81 lines
2.6 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
vars:
rtd_webhook_id: '47940'
check:
jobs:
- airship-divingbell-linter
- airship-divingbell-ubuntu:
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- airship-divingbell-chart-build-gate
- airship-divingbell-chart-build-latest-htk
gate:
jobs:
- airship-divingbell-linter
- airship-divingbell-chart-build-gate
# NOTE(portdirect): enable when voting enabled.
# - airship-divingbell-ubuntu:
# irrelevant-files:
# - ^.*\.rst$
# - ^doc/.*$
# - ^releasenotes/.*$
- job:
name: airship-divingbell-linter
run: tools/gate/playbooks/zuul-linter.yaml
nodeset: openstack-helm-single-node
- job:
name: airship-divingbell-chart-build-gate
description: Builds charts using pinned Helm toolkit.
timeout: 7200
run: ./tools/gate/playbooks/build-charts.yaml
nodeset: openstack-helm-single-node
- job:
name: airship-divingbell-chart-build-latest-htk
description: Builds charts using latest Helm toolkit.
timeout: 7200
voting: false
run: ./tools/gate/playbooks/build-charts.yaml
nodeset: openstack-helm-single-node
vars:
HTK_COMMIT: master
- job:
name: airship-divingbell
roles:
- zuul: openstack/openstack-helm-infra
vars:
zuul_osh_infra_relative_path: ../openstack-helm-infra/
timeout: 7200
pre-run:
- tools/gate/playbooks/osh-infra-upgrade-host.yaml
- tools/gate/playbooks/osh-infra-deploy-docker.yaml
- tools/gate/playbooks/osh-infra-build.yaml
- tools/gate/playbooks/osh-infra-deploy-k8s.yaml
run: tools/gate/playbooks/airship-divingbell-check.yaml
post-run: tools/gate/playbooks/osh-infra-collect-logs.yaml
required-projects:
- openstack/openstack-helm-infra
- job:
name: airship-divingbell-ubuntu
parent: airship-divingbell
nodeset: openstack-helm-single-node