treasuremap/zuul.d/jobs.yaml
Danny Massa f9ae26105b Adding dead-link-linter gate
Change-Id: I3b97e42abf5084a6dbd46616327e7bfe7b1a9791
2021-11-17 13:16:38 -06:00

119 lines
4.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-treasuremap-validate-site-docs
timeout: 10800
required-projects:
- airship/airshipctl
roles:
- zuul: airship/airshipctl
pre-run:
- playbooks/airship-treasuremap-ensure-checkout.yaml
- playbooks/airship-treasuremap-deploy-docker.yaml
irrelevant-files: &noncodefiles
- ^.*\.md$
- ^\.github/.*$
run: playbooks/airship-treasuremap-gate-runner.yaml
nodeset: airship-treasuremap-single-node
vars:
job_environment:
# Override AIRSHIPCTL default 'test-site' validation so gate jobs will run
# on all the sites present in TREASUREMAP repo
SITE: ""
SITES_TO_SKIP: "reference-multi-tenant virtual-multi-tenant"
gate_scripts:
- ./tools/deployment/common/01_install_essentials.sh
- ./tools/deployment/common/21_systemwide_executable.sh
- ./tools/deployment/common/22_test_configs.sh
- ./tools/deployment/common/23_pull_documents.sh
- ./tools/validate_docs
- job:
name: treasuremap-upload-git-mirror
parent: upload-git-mirror
description: Mirrors airship/treasuremap to airshipit/treasuremap
vars:
git_mirror_repository: airshipit/treasuremap
secrets:
- name: git_mirror_credentials
secret: airship_treasuremap_airshipit_github_key
pass-to-parent: true
- job:
name: airship-treasuremap-deploy-virtual-airship-core
attempts: 1
timeout: 10800
required-projects:
- airship/airshipctl
roles:
- zuul: airship/airshipctl
pre-run:
- playbooks/airship-treasuremap-ensure-checkout.yaml
- playbooks/airship-treasuremap-deploy-docker.yaml
- playbooks/airship-treasuremap-build-gate.yaml
post-run: playbooks/airship-collect-logs.yaml
run: playbooks/airship-treasuremap-gate-runner.yaml
files:
- ^manifests/site/virtual-airship-core/.*$
- ^manifests/type/airship-core/.*$
- ^manifests/function/.*$
- ^manifests/composite/.*$
- ^playbooks/.*$
- ^roles/.*$
- ^tools/deployment/.*$
nodeset: airship-treasuremap-single-32GB-bionic-node
vars:
site_name: virtual-airship-core
gate_scripts:
- ./tools/deployment/airship-core/01_install_essentials.sh
- ./tools/deployment/airship-core/22_test_configs.sh
- ./tools/deployment/airship-core/23_pull_documents.sh
- ./tools/deployment/airship-core/23_generate_secrets.sh
- ./tools/deployment/airship-core/24_build_images.sh
- ./tools/deployment/airship-core/25_deploy_gating.sh
serve_dir: /srv/images
serve_port: 8099
voting: true
- job:
name: airship-treasuremap-deploy-virtual-multi-tenant
parent: airship-treasuremap-deploy-virtual-airship-core
vars:
site_name: virtual-multi-tenant
gate_scripts:
- ./tools/deployment/multi-tenant/01_install_essentials.sh
- ./tools/deployment/multi-tenant/22_test_configs.sh
- ./tools/deployment/multi-tenant/23_pull_documents.sh
- ./tools/deployment/multi-tenant/23_generate_secrets.sh
- ./tools/deployment/multi-tenant/24_build_images.sh
- ./tools/deployment/multi-tenant/25_deploy_ephemeral_node.sh
- ./tools/deployment/multi-tenant/26_deploy_capi_ephemeral_node.sh
- ./tools/deployment/multi-tenant/30_deploy_controlplane.sh
- ./tools/deployment/multi-tenant/31_deploy_initinfra_target_node.sh
- ./tools/deployment/multi-tenant/32_cluster_init_target_node.sh
- ./tools/deployment/multi-tenant/33_cluster_move_target_node.sh
- ./tools/deployment/multi-tenant/35_deploy_worker_node.sh
- ./tools/deployment/multi-tenant/360_deploy_workload.sh
- ./tools/deployment/multi-tenant/361_deploy_workload_config.sh
files:
- ^manifests/site/virtual-multi-tenant/.*$
- ^manifests/type/multi-tenant/.*$
- ^manifests/function/.*$
- ^manifests/composite/.*$
- job:
name: airship-treasuremap-dead-link-linter
description: Ensures all URLs referenced in documentation are still working
run: playbooks/airship-treasuremap-dead-link-linter.yaml
nodeset: airship-treasuremap-single-node
voting: false