airshipctl/zuul.d/jobs.yaml
Dmitry Ukov 25e7d92d48 Rename gating test site
* New name for gating site is 'test-site'
* Renamed 'test-bootstrap' type. New name is 'gating'.
* Moved BareMetalHost and its settings from ephemeral function to
  shared directory within the site

Change-Id: I510e74c1a553bb2b1f84e66f8e4a7796640b59cc
2020-04-29 17:32:40 +04:00

127 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-airshipctl-roles-test
run: tests/ansible/role-test-runner.yaml
nodeset: airship-airshipctl-single-node
- job:
name: airship-airshipctl-build-docs
nodeset: airship-airshipctl-single-node
run: playbooks/airship-airshipctl-build-docs.yaml
vars:
sphinx_build_dir: docs/build
python_version: 3.7
- 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-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:
voting: true
name: airship-airshipctl-gate-test
attempts: 1
timeout: 3600
pre-run:
- playbooks/airship-airshipctl-deploy-docker.yaml
- playbooks/airship-airshipctl-build-gate.yaml
post-run: playbooks/airship-collect-logs.yaml
run: playbooks/airship-airshipctl-test-runner.yaml
nodeset: airship-airshipctl-single-16GB-bionic-node
vars:
site_name: test-site
## var files are the files that are located at playbooks/vars directory
var_files:
- airship-ipam.yaml
- test-config.yaml
test_roles:
- airshipctl-systemwide-executable
- airshipctl-test-configs
- airshipctl-build-ephemeral-iso
- install-kubectl
- airshipctl-deploy-ephemeral-node
- airshipctl-cluster-initinfra
serve_dir: /srv/iso
serve_port: 8099
- job:
name: airship-airshipctl-32GB-gate-test
nodeset: airship-airshipctl-single-32GB-bionic-node
pre-run:
- playbooks/airship-airshipctl-deploy-docker.yaml
- playbooks/airship-airshipctl-build-gate.yaml
post-run: playbooks/airship-collect-logs.yaml
run: playbooks/airship-airshipctl-test-runner.yaml
timeout: 3600
vars:
site_name: test-site
var_files:
- airship-ipam.yaml
- test-config.yaml
test_roles:
- airshipctl-systemwide-executable
- airshipctl-test-configs
- airshipctl-build-ephemeral-iso
- install-kubectl
- airshipctl-deploy-ephemeral-node
- airshipctl-cluster-initinfra
serve_dir: /srv/iso
serve_port: 8099
voting: false
- job:
name: airship-airshipctl-publish-image
parent: airship-airshipctl-build-image
post-run: playbooks/airship-airshipctl-publish-images.yaml
secrets:
- airshipctl_image_repo_credentials
vars:
image: quay.io/airshipit/airshipctl
image_repo: https://quay.io/api/v1/