edf8b5b88b
Change-Id: Ic7bbe548418f4b3f113e092042c316bf66e6b8d3
290 lines
12 KiB
YAML
290 lines
12 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.
|
|
|
|
- project:
|
|
templates:
|
|
- openstack-cover-jobs
|
|
|
|
check:
|
|
jobs:
|
|
- openstack-tox-py310
|
|
- openstack-tox-docs
|
|
- openstack-tox-pep8
|
|
- armada-chart-build-gate
|
|
- armada-chart-build-latest-htk
|
|
- armada-docker-build-gate-ubuntu_jammy
|
|
- armada-airskiff-deployment-jammy-kubeadm
|
|
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-py310
|
|
- openstack-tox-docs
|
|
- openstack-tox-pep8
|
|
- armada-chart-build-gate
|
|
- armada-docker-build-gate-ubuntu_jammy
|
|
|
|
post:
|
|
jobs:
|
|
- armada-docker-publish-ubuntu_jammy
|
|
- armada-upload-git-mirror
|
|
|
|
promote:
|
|
jobs:
|
|
- promote-airship-project-docs
|
|
|
|
- nodeset:
|
|
name: armada-single-node
|
|
nodes:
|
|
- name: primary
|
|
label: ubuntu-bionic
|
|
|
|
- nodeset:
|
|
name: armada-single-node-jammy
|
|
nodes:
|
|
- name: primary
|
|
label: ubuntu-jammy
|
|
|
|
- job:
|
|
name: armada-chart-build-gate
|
|
description: |
|
|
Builds charts using pinned Helm toolkit.
|
|
timeout: 900
|
|
run: tools/gate/playbooks/build-charts.yaml
|
|
nodeset: armada-single-node-jammy
|
|
vars:
|
|
HTK_COMMIT: 43fd7143481b6ddda0dbd2f26bf6ec39a417b15b
|
|
|
|
|
|
- job:
|
|
name: armada-chart-build-latest-htk
|
|
description: |
|
|
Builds charts using latest Helm toolkit.
|
|
timeout: 900
|
|
voting: true
|
|
run: tools/gate/playbooks/build-charts.yaml
|
|
nodeset: armada-single-node-jammy
|
|
vars:
|
|
HTK_COMMIT: master
|
|
|
|
- job:
|
|
name: armada-docker-build-gate-ubuntu_jammy
|
|
timeout: 3600
|
|
run: tools/gate/playbooks/docker-image-build.yaml
|
|
nodeset: armada-single-node-jammy
|
|
vars:
|
|
publish: false
|
|
distro: ubuntu_jammy
|
|
tags:
|
|
dynamic:
|
|
patch_set: true
|
|
|
|
|
|
- job:
|
|
name: armada-base
|
|
abstract: true
|
|
roles:
|
|
- zuul: openstack/openstack-helm-infra
|
|
- zuul: zuul/zuul-jobs
|
|
required-projects:
|
|
- name: openstack/openstack-helm
|
|
- name: openstack/openstack-helm-infra
|
|
- name: openstack/openstack-helm-plugin
|
|
- name: airship/treasuremap
|
|
override-checkout: v1.9
|
|
irrelevant-files: &irrelevant-files
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^examples/.*$
|
|
- ^releasenotes/.*$
|
|
- ^swagger/.*$
|
|
timeout: 10800
|
|
pre-run:
|
|
- tools/gate/playbooks/checkout-treasuremap-ref.yaml
|
|
- tools/gate/playbooks/prepare-hosts.yaml
|
|
- tools/gate/playbooks/mount-volumes.yaml
|
|
- tools/gate/playbooks/deploy-env.yaml
|
|
run:
|
|
- tools/gate/playbooks/airship-run-scripts.yaml
|
|
post-run:
|
|
- tools/gate/playbooks/osh-infra-collect-logs.yaml
|
|
vars:
|
|
treasuremap_ref: refs/changes/43/927643/4
|
|
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/16"
|
|
service_cidr: "10.96.0.0/16"
|
|
osh_plugin_repo: "{{ zuul.project.src_dir }}/../../openstack/openstack-helm-plugin"
|
|
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_repo: "v1.30"
|
|
kube_version: "1.30.3-1.1"
|
|
calico_setup: true
|
|
calico_version: "v3.27.4"
|
|
cilium_setup: false
|
|
cilium_version: "1.16.0"
|
|
flannel_setup: false
|
|
flannel_version: v0.25.4
|
|
helm_version: "v3.15.4"
|
|
crictl_version: "v1.30.1"
|
|
zuul_osh_relative_path: ../../openstack/openstack-helm
|
|
zuul_osh_infra_relative_path: ../../openstack/openstack-helm-infra
|
|
zuul_treasuremap_relative_path: ../../airship/treasuremap
|
|
gate_scripts_relative_path: ../../openstack/openstack-helm-infra
|
|
run_helm_tests: "no"
|
|
|
|
- job:
|
|
name: armada-airskiff-deployment-jammy-kubeadm
|
|
nodeset: treasuremap-airskiff-1node-ubuntu_jammy
|
|
description: |
|
|
Deploy Memcached using Airskiff and submitted Armada changes.
|
|
parent: armada-base
|
|
vars:
|
|
site: airskiff
|
|
HELM_ARTIFACT_URL: https://get.helm.sh/helm-v3.15.4-linux-amd64.tar.gz
|
|
HTK_COMMIT: 43fd7143481b6ddda0dbd2f26bf6ec39a417b15b
|
|
OSH_INFRA_COMMIT: 43fd7143481b6ddda0dbd2f26bf6ec39a417b15b
|
|
OSH_COMMIT: 540df5cb0dbdaed63c202e2d6f2b7891062f8203
|
|
TREASUREMAP_COMMIT: refs/changes/43/927643/4
|
|
CLONE_ARMADA: false
|
|
DISTRO: ubuntu_jammy
|
|
DOCKER_REGISTRY: localhost:5000
|
|
MAKE_ARMADA_IMAGES: true
|
|
gate_scripts_relative_path: ../../airship/treasuremap
|
|
gate_scripts:
|
|
- ./tools/deployment/airskiff/developer/000-prepare-k8s.sh
|
|
- ./tools/deployment/airskiff/developer/009-setup-apparmor.sh
|
|
- ./tools/deployment/airskiff/developer/000-clone-dependencies.sh
|
|
- ./tools/deployment/airskiff/developer/020-setup-client.sh
|
|
- ./tools/deployment/airskiff/developer/015-make-all-charts.sh
|
|
- ./tools/deployment/airskiff/developer/017-make-all-images.sh
|
|
- ./tools/deployment/airskiff/developer/025-start-artifactory.sh
|
|
- ./tools/deployment/airskiff/developer/026-reduce-site.sh
|
|
- ./tools/deployment/airskiff/developer/030-armada-bootstrap.sh
|
|
- ./tools/deployment/airskiff/developer/100-deploy-osh.sh
|
|
- ./tools/deployment/airskiff/common/os-env.sh
|
|
- ./tools/gate/wait-for-shipyard.sh
|
|
irrelevant-files: *irrelevant-files
|
|
|
|
|
|
- job:
|
|
name: armada-docker-publish-ubuntu_jammy
|
|
timeout: 3600
|
|
run: tools/gate/playbooks/docker-image-build.yaml
|
|
nodeset: armada-single-node-jammy
|
|
secrets:
|
|
- airship_armada_quay_creds
|
|
vars:
|
|
publish: true
|
|
distro: ubuntu_jammy
|
|
tags:
|
|
dynamic:
|
|
branch: true
|
|
commit: true
|
|
static:
|
|
- latest
|
|
- airflow_2.10.0
|
|
|
|
|
|
- secret:
|
|
name: airship_armada_quay_creds
|
|
data:
|
|
username: !encrypted/pkcs1-oaep
|
|
- mQ5xMKaU6+ug5Zp+LK5hfwbFamnW9hK2QVQOA7ylcoTMh8yz66YcgDjGJjbT2c66NF8eg
|
|
f279ODNmGe5pYepdR8/fU/aQ2pTVVvrF1bt0fcon8xxEZGuWnCftYZjO6Ogq+HWWwwnW0
|
|
HLcvnFK3GhGBJkYCG9742PxuLpDOYDSiK3jRCN1tgdY+vcHpm7bwqyhzywj7ar4lsk8Gk
|
|
d9Z57xkcURuw/GEBf8tHzd2PTAj3Oao6hKMTdCVhYZejjNNR34GPhGIvipb7m/dNIzT2c
|
|
j4a/Kq3HcqVog1OiCkSn4jRlIcD1Jgl/cyJyEz6dZCP2W16X/qwzDD8YUSsTPt4Jc6s/U
|
|
hD/aye5f1Jwoiyy23BM7BJ8s8eoioYsubV3TUGNQv64UxRnd4nPyWW2Q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job:
|
|
name: armada-upload-git-mirror
|
|
parent: upload-git-mirror
|
|
description: Mirrors airship/armada to airshipit/armada
|
|
vars:
|
|
git_mirror_repository: airshipit/armada
|
|
secrets:
|
|
- name: git_mirror_credentials
|
|
secret: armada-airshipit-github-secret-2023-03-23
|
|
pass-to-parent: true
|
|
|
|
- secret:
|
|
name: armada-airshipit-github-secret-2023-03-23
|
|
data:
|
|
user: git
|
|
host: github.com
|
|
host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=
|
|
ssh_key: !encrypted/pkcs1-oaep
|
|
- Ctq8uiBKJa7YVWphZu4y/M7cajpPKKIx9kc0xM8fIfkUBWG++JXFjvqVMn1wolfBCbfw5
|
|
fSqNyEazE+Vr8Gk/9iwpgD13b7O+ar7CfY/HmkjeqRQYqGDEsBzCKEksK4zjzzRBufqpC
|
|
DpulFkPSR9RoiQKuIv2C3n3afJkXgWPosdF9akluHRK5gzm7ayWkvoWEVQDkG1JaIrg6F
|
|
R/v12ADusA1RKYqbRy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