airshipctl/zuul.d/jobs.yaml
Drew Walters 2c0ff2be2e [#59] Fix docs publish job
This is a fix of [0]. The publication job expects secrets that are
included in another Openstack job. This change updates the airshipctl
publish job to use that job [1] as a parent.

[0] https://review.opendev.org/708941
[1] https://opendev.org/openstack/project-config/src/branch/master/zuul.d/jobs.yaml#L1054

Change-Id: Ibfd739bf761b3cb14ce96b754b808dc4570a737e
Signed-off-by: Drew Walters <andrew.walters@att.com>
2020-02-25 14:28:06 -06:00

86 lines
2.7 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.
- job:
name: airship-airshipctl-build-docs
nodeset: airship-airshipctl-single-node
run: playbooks/airship-airshipctl-build-docs.yaml
vars:
sphinx_build_dir: docs/build
python_version: 3.7
- job:
name: airship-airshipctl-lint-unit
pre-run: playbooks/airship-airshipctl-deploy-docker.yaml
run: playbooks/airship-airshipctl-lint-unit.yaml
nodeset: airship-airshipctl-single-node
- job:
name: airship-airshipctl-build-image
nodeset: airship-airshipctl-single-node
run: playbooks/airship-airshipctl-build-images.yaml
roles:
- zuul: openstack/openstack-helm-infra
irrelevant-files:
- ^.*\.md$
- ^docs/.*$
- job:
name: airship-airshipctl-functional-existing-k8s
pre-run: playbooks/airship-airshipctl-deploy-existing-k8s.yaml
run: playbooks/airship-airshipctl-functional-existing-k8s.yaml
nodeset: airship-airshipctl-single-node
- job:
name: airship-airshipctl-upload-git-mirror
parent: upload-git-mirror
description: Mirrors airship/airshipctl to airshipit/airshipctl
vars:
git_mirror_repository: airshipit/airshipctl
secrets:
- name: git_mirror_credentials
secret: airship-airshipctl-airshipit-github-secret
pass-to-parent: true
- job:
voting: false
name: airship-airshipctl-gate-test
attempts: 1
timeout: 3600
roles:
- zuul: openstack/openstack-helm-infra
pre-run:
- playbooks/airship-airshipctl-deploy-docker.yaml
run: playbooks/airship-airshipctl-test-runner.yaml
post-run: playbooks/airship-collect-logs.yaml
nodeset: airship-airshipctl-single-node
vars:
site_name: test-bootstrap
## var files are the files that are located at playbooks/vars directory
var_files:
- airship-ipam.yaml
- test-config.yaml
test_roles:
- airshipctl-systemwide-executable
- airshipctl-test-configs
serve_dir: /srv/iso
serve_port: 8099
- job:
name: airship-airshipctl-publish-docs
nodeset: airship-airshipctl-single-node
parent: trigger-readthedocs-webhook
run: playbooks/airship-airshipctl-build-docs.yaml
vars:
rtd_project_name: airship-airshipctl
rtd_webhook_id: 112688