Reference Airship manifests, CICD, and reference architecture.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
treasuremap/zuul.d/jobs.yaml

92 lines
3.4 KiB

# 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-update-github-issues
description: Updates and/or closes related issues on Github on merge
run: playbooks/airship-treasuremap-update-github-issues.yaml
nodeset: airship-treasuremap-single-node
secrets:
- name: github_credentials
secret: airship_treasuremap_airshipit_github_token
- job:
name: airship-treasuremap-validate-site-docs
required-projects:
- airship/airshipctl
roles:
- zuul: airship/airshipctl
pre-run:
- 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_kubectl.sh
- ./tools/deployment/21_systemwide_executable.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: 7200
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-16GB-bionic-node
vars:
# NOTE(drewwalters96): Set airshipctl_ref to a commit SHA in order to pin
# the cloned version of airshipctl to a known/compatible reference.
# airshipctl_ref: ""
site_name: test-site
gate_scripts:
- ./tools/deployment/01_install_kubectl.sh
- ./tools/deployment/22_test_configs.sh
- ./tools/deployment/23_pull_documents.sh
- ./tools/deployment/24_build_images.sh
- ./tools/deployment/25_deploy_ephemeral_node.sh
- ./tools/deployment/26_deploy_metal3_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
# NOTE(drewwalters96): Re-enable worker node deployment once it is
# functional.
# - ./tools/deployment/34_deploy_worker_node.sh
- ./tools/deployment/35_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