c39963341f
1. OSH jobs now require gate_scripts_relative_path variable to be explicitly defined. 2. Strict-mode test cases require a test package that does not have to install dependencies, or the test case will fail (since strict mode will uninstall the dependency package and thus the originally requested package). 3. Reduce redundant logging of the entire pod log every time the pod status is checked; this was causing long test cases (e.g. apt strict mode) to fail. 4. Add a helper function to dump the pod log for debugging failed test cases, since we will no longer have the redundant logs above. Change-Id: I7d2f6d2d161689a8744275b3d07571c83862a89c
148 lines
6.8 KiB
YAML
148 lines
6.8 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'
|
|
rtd_project_name: 'airship-divingbell'
|
|
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
|
|
- airship-divingbell-ubuntu:
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
|
|
post:
|
|
jobs:
|
|
- divingbell-upload-git-mirror
|
|
|
|
- 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
|
|
timeout: 7200
|
|
pre-run:
|
|
- tools/gate/playbooks/osh-infra-upgrade-host.yaml
|
|
run: tools/gate/playbooks/osh-infra-gate-runner.yaml
|
|
vars:
|
|
zuul_osh_infra_relative_path: ../../openstack/openstack-helm-infra/
|
|
gate_scripts_relative_path: ""
|
|
gate_scripts:
|
|
- "{{ zuul_osh_infra_relative_path }}./tools/deployment/apparmor/001-setup-apparmor-profiles.sh"
|
|
- "{{ zuul_osh_infra_relative_path }}./tools/deployment/common/005-deploy-k8s.sh"
|
|
- ./tools/gate/scripts/010-build-charts.sh
|
|
- sudo ./tools/gate/scripts/020-test-divingbell.sh
|
|
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
|
|
|
|
- job:
|
|
name: divingbell-upload-git-mirror
|
|
parent: upload-git-mirror
|
|
description: Mirrors airship/divingbell to airshipit/divingbell
|
|
vars:
|
|
git_mirror_repository: airshipit/divingbell
|
|
secrets:
|
|
- name: git_mirror_credentials
|
|
secret: divingbell-airshipit-github-secret
|
|
pass-to-parent: true
|
|
|
|
- secret:
|
|
name: divingbell-airshipit-github-secret
|
|
data:
|
|
user: git
|
|
host: github.com
|
|
host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A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