treasuremap/zuul.d/jobs.yaml
Vladislav Kuzmin b6ce028dcc Add phase plan for airship-core gating
Uplift airshipctl to version with new phases.
Add phases from zuul job in deploy-airship-core-gating.

Relates-To: #166
Change-Id: I98b605d16940fab2a728e4646e52c7d1ad992c2d
2021-06-11 18:50:34 +04:00

108 lines
4.1 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:
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-test-site
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/test-site/.*$
- ^manifests/type/airship-core/.*$
- ^manifests/function/.*$
- ^manifests/composite/.*$
- ^playbooks/.*$
- ^roles/.*$
- ^tools/deployment/.*$
nodeset: airship-treasuremap-single-32GB-bionic-node
vars:
site_name: test-site
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-network-cloud
parent: airship-treasuremap-deploy-test-site
vars:
site_name: virtual-network-cloud
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-network-cloud/.*$
- ^manifests/type/multi-tenant/.*$
- ^manifests/function/.*$
- ^manifests/composite/.*$