treasuremap/zuul.d/jobs.yaml

84 lines
3.0 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: 10500
required-projects:
- airship/airshipctl
roles:
- zuul: airship/airshipctl
pre-run:
- playbooks/airship-treasuremap-ensure-checkout.yaml
- playbooks/airship-treasuremap-deploy-docker.yaml
run: playbooks/airship-treasuremap-gate-runner.yaml
nodeset: airship-treasuremap-single-node
vars:
gate_scripts:
- ./tools/deployment/01_install_essentials.sh
- ./tools/deployment/21_systemwide_executable.sh
- ./tools/deployment/22_test_configs.sh
- ./tools/deployment/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: 9500
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
nodeset: airship-treasuremap-single-32GB-bionic-node
vars:
site_name: test-site
gate_scripts:
- ./tools/deployment/01_install_essentials.sh
- ./tools/deployment/22_test_configs.sh
- ./tools/deployment/23_pull_documents.sh
- ./tools/deployment/23_generate_secrets.sh
- ./tools/deployment/24_build_images.sh
- ./tools/deployment/25_deploy_ephemeral_node.sh
- ./tools/deployment/26_deploy_capi_ephemeral_node.sh
- ./tools/deployment/30_deploy_controlplane.sh
- ./tools/deployment/31_deploy_initinfra_target_node.sh
- ./tools/deployment/32_cluster_init_target_node.sh
- ./tools/deployment/33_cluster_move_target_node.sh
- ./tools/deployment/35_deploy_worker_node.sh
- ./tools/deployment/36_deploy_workload.sh
serve_dir: /srv/images
serve_port: 8099
voting: false
- job:
name: airship-treasuremap-deploy-virtual-network-cloud
parent: airship-treasuremap-deploy-test-site
vars:
site_name: virtual-network-cloud