
When the successful gate test runs for approximately 1:20, current timeout does not allow jobs to pass if there is bad latency at the DC in which vm was spawned. This will reduce the amount of rechecks that patch sets owners have to perform. Change-Id: Icd7410126c6bcdf01ff6763255023539e1950c45
124 lines
4.4 KiB
YAML
124 lines
4.4 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-roles-test
|
|
run: tests/ansible/role-test-runner.yaml
|
|
nodeset: airship-airshipctl-single-node
|
|
|
|
- job:
|
|
name: airship-airshipctl-golint
|
|
pre-run: playbooks/airship-airshipctl-deploy-docker.yaml
|
|
run: playbooks/airship-airshipctl-golint.yaml
|
|
nodeset: airship-airshipctl-single-node
|
|
voting: false
|
|
|
|
- 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-update-github-issues
|
|
description: Updates and/or closes related issues on Github on merge
|
|
run: playbooks/airship-airshipctl-update-github-issues.yaml
|
|
nodeset: airship-airshipctl-single-node
|
|
secrets:
|
|
- name: github_credentials
|
|
secret: airship_airshipctl_airshipit_github_username_password
|
|
|
|
- job:
|
|
name: airship-airshipctl-build-image
|
|
nodeset: airship-airshipctl-single-node
|
|
run: playbooks/airship-airshipctl-build-images.yaml
|
|
irrelevant-files:
|
|
- ^.*\.md$
|
|
- ^docs/.*$
|
|
|
|
- job:
|
|
name: airship-airshipctl-validate-site-docs
|
|
pre-run:
|
|
- playbooks/airship-airshipctl-deploy-docker.yaml
|
|
run: playbooks/airshipctl-gate-runner.yaml
|
|
nodeset: airship-airshipctl-single-node
|
|
vars:
|
|
gate_scripts:
|
|
- ./tools/deployment/01_install_kubectl.sh
|
|
- ./tools/deployment/21_systemwide_executable.sh
|
|
- ./tools/validate_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:
|
|
name: airship-airshipctl-gate-script-runner
|
|
attempts: 1
|
|
timeout: 7200
|
|
pre-run:
|
|
- playbooks/airship-airshipctl-deploy-docker.yaml
|
|
- playbooks/airship-airshipctl-build-gate.yaml
|
|
post-run: playbooks/airship-collect-logs.yaml
|
|
run: playbooks/airshipctl-gate-runner.yaml
|
|
nodeset: airship-airshipctl-single-16GB-bionic-node
|
|
vars:
|
|
site_name: test-site
|
|
gate_scripts:
|
|
- ./tools/deployment/01_install_kubectl.sh
|
|
- ./tools/deployment/02_install_clusterctl.sh
|
|
# 21_systemwide_executable.sh is run in the build-gate pre-run above
|
|
- ./tools/deployment/22_test_configs.sh
|
|
- ./tools/deployment/24_build_ephemeral_iso.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
|
|
- ./tools/deployment/34_deploy_worker_node.sh
|
|
serve_dir: /srv/iso
|
|
serve_port: 8099
|
|
log_roles:
|
|
- gather-system-logs
|
|
- airship-gather-apache-logs
|
|
- airship-gather-libvirt-logs
|
|
- airship-gather-runtime-logs
|
|
- airship-airshipctl-gather-configs
|
|
- airship-gather-pod-logs
|
|
voting: false
|
|
|
|
- job:
|
|
name: airship-airshipctl-publish-image
|
|
parent: airship-airshipctl-build-image
|
|
post-run: playbooks/airship-airshipctl-publish-images.yaml
|
|
secrets:
|
|
- name: airshipctl_image_repo_credentials
|
|
secret: airshipctl_image_repo_credentials
|
|
pass-to-parent: true
|
|
vars:
|
|
image: quay.io/airshipit/airshipctl
|
|
image_repo: https://quay.io/api/v1/
|