porthole/zuul.d/base.yaml
Sergiy Markin 9993c54155 [deploy-env] Switch to kubeadm role
Change-Id: I269243ff6a8e4a9c8761aa518c149602d3cba8ef
2024-02-14 19:00:52 +00:00

435 lines
16 KiB
YAML

# Copyright 2019 AT&T Intellectual Property. All other rights reserved.
#
# 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
#
# https://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.
#
- project:
check:
jobs:
- airship-porthole-linter
- openstack-tox-pep8
- openstack-tox-docs
# - airship-porthole-openstack-tox-py38
# - airship-porthole-openstack-tox-cover
- airship-porthole-images-focal-build-gate-calicoctl-utility
- airship-porthole-images-focal-build-gate-ceph-utility
- airship-porthole-images-focal-build-gate-compute-utility
- airship-porthole-images-focal-build-gate-etcdctl-utility
- airship-porthole-images-focal-build-gate-mysqlclient-utility
- airship-porthole-images-focal-build-gate-openstack-utility
- airship-porthole-images-focal-build-gate-postgresql-utility
# - airship-porthole-deploy-functional-tests-ubuntu_focal
- airship-porthole-openstack-tox-py38-kubeadm
- airship-porthole-openstack-tox-cover-kubeadm
- airship-porthole-deploy-functional-tests-ubuntu_focal-kubeadm
gate:
jobs:
- airship-porthole-linter
- openstack-tox-pep8
- openstack-tox-docs
- airship-porthole-openstack-tox-py38-kubeadm
- airship-porthole-openstack-tox-cover-kubeadm
- airship-porthole-deploy-functional-tests-ubuntu_focal-kubeadm
- airship-porthole-images-focal-build-gate-calicoctl-utility
- airship-porthole-images-focal-build-gate-ceph-utility
- airship-porthole-images-focal-build-gate-compute-utility
- airship-porthole-images-focal-build-gate-etcdctl-utility
- airship-porthole-images-focal-build-gate-mysqlclient-utility
- airship-porthole-images-focal-build-gate-openstack-utility
- airship-porthole-images-focal-build-gate-postgresql-utility
post:
jobs:
- airship-porthole-images-publish-calicoctl-utility
- airship-porthole-images-publish-ceph-utility
- airship-porthole-images-publish-compute-utility
- airship-porthole-images-publish-etcdctl-utility
- airship-porthole-images-publish-mysqlclient-utility
- airship-porthole-images-publish-openstack-utility
- airship-porthole-images-publish-postgresql-utility
- nodeset:
name: airship-porthole-single-node
nodes:
- name: primary
label: ubuntu-bionic
- nodeset:
name: airship-porthole-focal-single-node
nodes:
- name: primary
label: ubuntu-focal
- job:
name: airship-porthole-openstack-tox-py38-kubeadm
parent: openstack-tox-py38
nodeset: treasuremap-airskiff-1node-ubuntu_focal
roles:
- zuul: openstack/openstack-helm-infra
- zuul: zuul/zuul-jobs
required-projects:
- name: openstack/openstack-helm
- name: openstack/openstack-helm-infra
- name: airship/treasuremap
override-checkout: v1.9
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- ^site/seaworthy/.*$
- ^site/airsloop/.*$
- ^site/aiab/.*$
timeout: 10800
pre-run:
- tools/gate/playbooks/prepare-hosts.yaml
- tools/gate/playbooks/mount-volumes.yaml
- tools/gate/playbooks/deploy-env.yaml
- tools/gate/playbooks/airship-run-scripts.yaml
post-run:
- tools/gate/playbooks/osh-infra-collect-logs.yaml
vars:
extra_volume:
size: 80G
type: Linux
mount_point: /opt/ext_vol
docker:
root_path: "/opt/ext_vol/docker"
containerd:
root_path: "/opt/ext_vol/containerd"
kubeadm:
pod_network_cidr: "10.244.0.0/24"
service_cidr: "10.96.0.0/16"
loopback_setup: true
loopback_device: /dev/loop100
loopback_image: "/opt/ext_vol/openstack-helm/ceph-loop.img"
ceph_osd_data_device: /dev/loop100
kube_version: "1.28.4-1.1"
calico_version: "v3.27.0"
coredns_version: "v1.11.1"
helm_version: "v3.13.2"
yq_version: "v4.6.0"
crictl_version: "v1.26.1"
zuul_osh_infra_relative_path: ../../openstack/openstack-helm-infra
zuul_osh_relative_path: ../../openstack/openstack-helm
gate_scripts_relative_path: .
run_helm_tests: "no"
distro_suffix: ubuntu_focal
HELM_ARTIFACT_URL: https://get.helm.sh/helm-v3.13.2-linux-amd64.tar.gz
HTK_COMMIT: cfff60ec10a6c386f38db79bb9f59a552c2b032f
OSH_INFRA_COMMIT: cfff60ec10a6c386f38db79bb9f59a552c2b032f
OSH_COMMIT: 2d9457e34ca4200ed631466bd87569b0214c92e7
gate_scripts:
- ./tools/deployment/002-build-charts.sh
- ./tools/deployment/003-prepare-k8s.sh
- ./tools/deployment/004-make-images.sh
- ./tools/deployment/005-calicoctl-utility.sh
- ./tools/deployment/010-ceph-utility.sh
- ./tools/deployment/020-compute-utility.sh
- ./tools/deployment/030-etcdctl-utility.sh
- ./tools/deployment/040-mysqlclient-utility.sh
- ./tools/deployment/050-openstack-utility.sh
- ./tools/deployment/060-postgresql-utility.sh
# - job:
# name: airship-porthole-openstack-tox-py38
# parent: openstack-tox-py38
# description: Runs cover job on focal
# nodeset: airship-porthole-focal-single-node
# pre-run: tools/gate/playbooks/airship-porthole-gate-runner.yaml
# timeout: 7200
# vars:
# distro_suffix: ubuntu_focal
# gate_scripts:
# - ./tools/deployment/005-calicoctl-utility.sh
# - ./tools/deployment/010-ceph-utility.sh
# - ./tools/deployment/020-compute-utility.sh
# - ./tools/deployment/030-etcdctl-utility.sh
# - ./tools/deployment/040-mysqlclient-utility.sh
# - ./tools/deployment/050-openstack-utility.sh
# - ./tools/deployment/060-postgresql-utility.sh
# args:
# chdir: ../porthole
- job:
name: airship-porthole-openstack-tox-cover-kubeadm
parent: openstack-tox-cover
nodeset: treasuremap-airskiff-1node-ubuntu_focal
roles:
- zuul: openstack/openstack-helm-infra
- zuul: zuul/zuul-jobs
required-projects:
- name: openstack/openstack-helm
- name: openstack/openstack-helm-infra
- name: airship/treasuremap
override-checkout: v1.9
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- ^site/seaworthy/.*$
- ^site/airsloop/.*$
- ^site/aiab/.*$
timeout: 10800
pre-run:
- tools/gate/playbooks/prepare-hosts.yaml
- tools/gate/playbooks/mount-volumes.yaml
- tools/gate/playbooks/deploy-env.yaml
- tools/gate/playbooks/airship-run-scripts.yaml
post-run:
- tools/gate/playbooks/osh-infra-collect-logs.yaml
vars:
extra_volume:
size: 80G
type: Linux
mount_point: /opt/ext_vol
docker:
root_path: "/opt/ext_vol/docker"
containerd:
root_path: "/opt/ext_vol/containerd"
kubeadm:
pod_network_cidr: "10.244.0.0/24"
service_cidr: "10.96.0.0/16"
loopback_setup: true
loopback_device: /dev/loop100
loopback_image: "/opt/ext_vol/openstack-helm/ceph-loop.img"
ceph_osd_data_device: /dev/loop100
kube_version: "1.28.4-1.1"
calico_version: "v3.27.0"
coredns_version: "v1.11.1"
helm_version: "v3.13.2"
yq_version: "v4.6.0"
crictl_version: "v1.26.1"
zuul_osh_infra_relative_path: ../../openstack/openstack-helm-infra
zuul_osh_relative_path: ../../openstack/openstack-helm
gate_scripts_relative_path: .
run_helm_tests: "no"
distro_suffix: ubuntu_focal
HELM_ARTIFACT_URL: https://get.helm.sh/helm-v3.13.2-linux-amd64.tar.gz
HTK_COMMIT: cfff60ec10a6c386f38db79bb9f59a552c2b032f
OSH_INFRA_COMMIT: cfff60ec10a6c386f38db79bb9f59a552c2b032f
OSH_COMMIT: 2d9457e34ca4200ed631466bd87569b0214c92e7
gate_scripts:
- ./tools/deployment/002-build-charts.sh
- ./tools/deployment/003-prepare-k8s.sh
- ./tools/deployment/004-make-images.sh
- ./tools/deployment/005-calicoctl-utility.sh
- ./tools/deployment/010-ceph-utility.sh
- ./tools/deployment/020-compute-utility.sh
- ./tools/deployment/030-etcdctl-utility.sh
- ./tools/deployment/040-mysqlclient-utility.sh
- ./tools/deployment/050-openstack-utility.sh
- ./tools/deployment/060-postgresql-utility.sh
# - job:
# name: airship-porthole-openstack-tox-cover
# parent: openstack-tox-cover
# description: Runs cover job on focal
# nodeset: airship-porthole-focal-single-node
# pre-run: tools/gate/playbooks/airship-porthole-gate-runner.yaml
# timeout: 7200
# vars:
# distro_suffix: ubuntu_focal
# gate_scripts:
# - ./tools/deployment/005-calicoctl-utility.sh
# - ./tools/deployment/010-ceph-utility.sh
# - ./tools/deployment/020-compute-utility.sh
# - ./tools/deployment/030-etcdctl-utility.sh
# - ./tools/deployment/040-mysqlclient-utility.sh
# - ./tools/deployment/050-openstack-utility.sh
# - ./tools/deployment/060-postgresql-utility.sh
# args:
# chdir: ../porthole
- job:
name: airship-porthole-images
abstract: true
timeout: 7200
post-timeout: 7200
run: tools/gate/playbooks/docker-image-build.yaml
nodeset: treasuremap-airskiff-1node-ubuntu_focal
vars:
publish: false
tags:
dynamic:
branch: true
commit: false
static:
- latest
args:
chdir: ../porthole
- job:
name: airship-porthole-linter
description: |
Lints files for trailing whitespace
run: tools/gate/playbooks/zuul-linter.yaml
timeout: 300
nodeset: treasuremap-airskiff-1node-ubuntu_focal
vars:
args:
chdir: ../porthole
- job:
name: airship-porthole-deploy-functional-tests-kubeadm
abstract: true
description: Deploys all UC's and Executes functional tests
nodeset: treasuremap-airskiff-1node-ubuntu_focal
roles:
- zuul: openstack/openstack-helm-infra
- zuul: zuul/zuul-jobs
required-projects:
- name: openstack/openstack-helm
- name: openstack/openstack-helm-infra
- name: airship/treasuremap
override-checkout: v1.9
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- ^site/seaworthy/.*$
- ^site/airsloop/.*$
- ^site/aiab/.*$
timeout: 10800
pre-run:
- tools/gate/playbooks/prepare-hosts.yaml
- tools/gate/playbooks/mount-volumes.yaml
- tools/gate/playbooks/deploy-env.yaml
- tools/gate/playbooks/airship-run-scripts.yaml
post-run:
- tools/gate/playbooks/osh-infra-collect-logs.yaml
vars:
extra_volume:
size: 80G
type: Linux
mount_point: /opt/ext_vol
docker:
root_path: "/opt/ext_vol/docker"
containerd:
root_path: "/opt/ext_vol/containerd"
kubeadm:
pod_network_cidr: "10.244.0.0/24"
service_cidr: "10.96.0.0/16"
loopback_setup: true
loopback_device: /dev/loop100
loopback_image: "/opt/ext_vol/openstack-helm/ceph-loop.img"
ceph_osd_data_device: /dev/loop100
kube_version: "1.28.4-1.1"
calico_version: "v3.27.0"
coredns_version: "v1.11.1"
helm_version: "v3.13.2"
yq_version: "v4.6.0"
crictl_version: "v1.26.1"
zuul_osh_infra_relative_path: ../../openstack/openstack-helm-infra
zuul_osh_relative_path: ../../openstack/openstack-helm
gate_scripts_relative_path: .
run_helm_tests: "no"
distro_suffix: ubuntu_focal
HELM_ARTIFACT_URL: https://get.helm.sh/helm-v3.13.2-linux-amd64.tar.gz
HTK_COMMIT: cfff60ec10a6c386f38db79bb9f59a552c2b032f
OSH_INFRA_COMMIT: cfff60ec10a6c386f38db79bb9f59a552c2b032f
OSH_COMMIT: 2d9457e34ca4200ed631466bd87569b0214c92e7
gate_scripts:
- ./tools/deployment/002-build-charts.sh
- ./tools/deployment/003-prepare-k8s.sh
- ./tools/deployment/004-make-images.sh
- ./tools/deployment/005-calicoctl-utility.sh
- ./tools/deployment/010-ceph-utility.sh
- ./tools/deployment/020-compute-utility.sh
- ./tools/deployment/030-etcdctl-utility.sh
- ./tools/deployment/040-mysqlclient-utility.sh
- ./tools/deployment/050-openstack-utility.sh
- ./tools/deployment/060-postgresql-utility.sh
- job:
name: airship-porthole-deploy-functional-tests-ubuntu_focal-kubeadm
parent: airship-porthole-deploy-functional-tests-kubeadm
run: tools/gate/playbooks/make-functional-tests.yaml
vars:
args:
chdir: ../porthole
distro_suffix: ubuntu_focal
osh_params:
openstack_release: yoga
container_distro_name: ubuntu
container_distro_version: focal
# - job:
# name: airship-porthole-deploy-functional-tests
# abstract: true
# description: Deploys all UC's and Executes functional tests
# nodeset: airship-porthole-focal-single-node
# timeout: 7200
# run:
# - tools/gate/playbooks/airship-porthole-gate-runner.yaml
# - tools/gate/playbooks/make-functional-tests.yaml
# post-run:
# - tools/gate/playbooks/airship-porthole-collect-logs.yaml
# vars:
# gate_scripts:
# - ./tools/deployment/005-calicoctl-utility.sh
# - ./tools/deployment/010-ceph-utility.sh
# - ./tools/deployment/020-compute-utility.sh
# - ./tools/deployment/030-etcdctl-utility.sh
# - ./tools/deployment/040-mysqlclient-utility.sh
# - ./tools/deployment/050-openstack-utility.sh
# - ./tools/deployment/060-postgresql-utility.sh
# args:
# chdir: ../porthole
# - job:
# name: airship-porthole-deploy-functional-tests-ubuntu_focal
# parent: airship-porthole-deploy-functional-tests
# vars:
# distro_suffix: ubuntu_focal
# osh_params:
# openstack_release: yoga
# container_distro_name: ubuntu
# container_distro_version: focal
- secret:
name: quay_credentials
data:
username: !encrypted/pkcs1-oaep
- SQ0e+mvFN7eU+snMDhXC417r3yy+OoZ+QQcAPAoI2xuUDbZOrCSXIlRATrNZX+NrRx/sT
GoxeeScqpX3hnBTHAvWn6iDzVoSIOgW8aG4+/kCjU1dtKzPgyuo4t+rFEe1iplLFyG1P1
xshMrc8dRpAJTjyUwWzY1zatb46LEBK1DD15kkAaS+6KKfD2dH/AX3XYzp3671cdsXtC7
R7Lm8lKh2MYYmF+ybuCd/JbeuH2aLQc1pLnigPBWJgslzxQ2F2hLXssj8cd+rGSxQ8jVG
SCqFkyggBdv/TGQdhihnse8Taj8tqgmqbh5KPZIKeCM5ekXbsCMuI1KNH0Fr7UeffOYNU
5CJsWnuZoX5xQxcRHWAprBaGr8jr6EeklW896GC7wMcFq+C4166H1Y44NMrLtzAlXEs8p
uO6Vl2AGqt4/ORkJ7aIUdjI21u0r7ULEFcj+Q7hMoC0q81f1RVqbvTWtAi6CfjiUdpEwm
vwpyfwUP4JugjC3UALe4tMyMO5pQiAIPzYs34/skqxvEQN+5+8BrBnr2tNAIbxMmgpZOU
Ov89WfURzb7pxBbVgC6HuyX2mQi3OHdYS33TM9e+pXgLN8XK7dzASaCFXa0zjA1xj4pHh
oBO66rVON6DsjEmliMUHLnkgXJnqqm9pLEa+avCuK0Kt7i5st1DBnxK/Goy2ec=
password: !encrypted/pkcs1-oaep
- CuInAjNp1dAXxxNzfs9O9I7+T6OJLx4gaPeafLxfjJs4uCRC8L6N1Kcyc1QPYlr6hfvFz
D8Er9OKTzbmQixDxGzCSJh/RRcpjwh8GJMn7cvGYMTsrWcYzvK2RC5778huxVnwT0gWiB
TaqUqOBsHQMlXumEAKO7qqaKxJ4LadXMp/eqcyVfCw1roEOO69QqhBajwhk/5RS3qm6QZ
KGr0T3AfDAtF276e4GI9L5paVNjME7Au22+S1pVaIxX91/qx3HFAz+HSErvhxGHVKhHr4
4G/YygeSJMWyKpk28kjoncxgzHNwREXZXbRabMwXoGuweOB4ZZ7JXy9yEkagojx0buBtn
Phv48p/8C/7ZN3v8xOiHRAnLk6jsWA4cu5Zhplark22Uq+d7MtlEgRpWvqDBWNF+9GCOQ
Vlpomy02Nj4PkZZDKY7Eo3uf/+3aa8/hhvJursqv6VvqwYl75euT8Immo1EUw/Hw4PBpJ
JXcwlGoK6kvXmYaG2c7yEiH2xNtTzVTai10fsalubQWR4FTmJA5LU9+HatHBa46XLy4gS
vMHs2uJudmxhqLIhs5Er248FVjfxw7le5dPun3ir4J7Mjgypu5y8eLCMZAFIwpeqlJrVU
uih8ByaTlSEh6FBzle7Hb330RjSztC4pX6xiNAmtkpxhF2rEEFS66B/ixwCphQ=