This change reverts the multi-node setup to a single node setup for the Porthole functional tests. This is necessary to decrease the load on the test environment and to simplify the deployment process. In order to make it happen we switch from rook-ceph to ceph chart from OSH, which is more suitable for single node deployments. Change-Id: I085e6dd4f9d0a16d0abd183c0662de99b0e51823 Signed-off-by: Sergiy Markin <smarkin@mirantis.com>
203 lines
7.8 KiB
YAML
203 lines
7.8 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-images-jammy-build-calicoctl-utility
|
|
- airship-porthole-images-jammy-build-ceph-utility
|
|
- airship-porthole-images-jammy-build-compute-utility
|
|
- airship-porthole-images-jammy-build-kubeadm-utility
|
|
- airship-porthole-images-jammy-build-etcdctl-utility
|
|
- airship-porthole-images-jammy-build-mysqlclient-utility
|
|
- airship-porthole-images-jammy-build-openstack-utility
|
|
- airship-porthole-images-jammy-build-postgresql-utility
|
|
- airship-porthole-openstack-tox-py310-kubeadm
|
|
- airship-porthole-openstack-tox-cover-kubeadm
|
|
- airship-porthole-run-functional-tests-ubuntu_jammy-kubeadm-2024-1
|
|
- airship-porthole-run-functional-tests-ubuntu_jammy-kubeadm-2023-2
|
|
|
|
gate:
|
|
jobs:
|
|
- airship-porthole-linter
|
|
- openstack-tox-pep8
|
|
- openstack-tox-docs
|
|
- airship-porthole-openstack-tox-py310-kubeadm
|
|
- airship-porthole-openstack-tox-cover-kubeadm
|
|
- airship-porthole-images-jammy-build-calicoctl-utility
|
|
- airship-porthole-images-jammy-build-ceph-utility
|
|
- airship-porthole-images-jammy-build-compute-utility
|
|
- airship-porthole-images-jammy-build-kubeadm-utility
|
|
- airship-porthole-images-jammy-build-etcdctl-utility
|
|
- airship-porthole-images-jammy-build-mysqlclient-utility
|
|
- airship-porthole-images-jammy-build-openstack-utility
|
|
- airship-porthole-images-jammy-build-postgresql-utility
|
|
|
|
post:
|
|
jobs:
|
|
- airship-porthole-images-jammy-publish-calicoctl-utility
|
|
- airship-porthole-images-jammy-publish-ceph-utility
|
|
- airship-porthole-images-jammy-publish-compute-utility
|
|
- airship-porthole-images-jammy-publish-kubeadm-utility
|
|
- airship-porthole-images-jammy-publish-etcdctl-utility
|
|
- airship-porthole-images-jammy-publish-mysqlclient-utility
|
|
- airship-porthole-images-jammy-publish-openstack-utility
|
|
- airship-porthole-images-jammy-publish-postgresql-utility
|
|
|
|
|
|
- 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_jammy
|
|
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_jammy
|
|
vars:
|
|
args:
|
|
chdir: ../porthole
|
|
|
|
- job:
|
|
name: porthole-infra-deploy
|
|
parent: treasuremap-airskiff-infra-deploy-base
|
|
abstract: true
|
|
required-projects:
|
|
- name: airship/treasuremap
|
|
override-checkout: v1.9
|
|
roles:
|
|
- zuul: airship/treasuremap
|
|
irrelevant-files: &irrelevant-files
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^etc/.*$
|
|
- ^releasenotes/.*$
|
|
- ^setup.cfg$
|
|
vars:
|
|
treasuremap_ref: v1.9
|
|
args:
|
|
chdir: ../../airship/porthole
|
|
zuul_osh_relative_path: ../../openstack/openstack-helm
|
|
zuul_treasuremap_relative_path: ../../airship/treasuremap
|
|
gate_scripts_relative_path: ../../airship/porthole
|
|
distro_suffix: ubuntu_jammy
|
|
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-run-functional-tests-ubuntu_jammy-kubeadm-2024-1
|
|
parent: porthole-infra-deploy
|
|
nodeset: treasuremap-airskiff-1node-ubuntu_jammy
|
|
irrelevant-files: *irrelevant-files
|
|
run:
|
|
- tools/gate/playbooks/airship-run-scripts.yaml
|
|
- tools/gate/playbooks/run-functional-tests.yaml
|
|
vars:
|
|
osh_params:
|
|
openstack_release: "2024.1"
|
|
container_distro_name: ubuntu
|
|
container_distro_version: jammy
|
|
|
|
- job:
|
|
name: airship-porthole-run-functional-tests-ubuntu_jammy-kubeadm-2023-2
|
|
parent: porthole-infra-deploy
|
|
nodeset: treasuremap-airskiff-1node-ubuntu_jammy
|
|
irrelevant-files: *irrelevant-files
|
|
run:
|
|
- tools/gate/playbooks/airship-run-scripts.yaml
|
|
- tools/gate/playbooks/run-functional-tests.yaml
|
|
vars:
|
|
osh_params:
|
|
openstack_release: "2023.2"
|
|
container_distro_name: ubuntu
|
|
container_distro_version: jammy
|
|
|
|
- job:
|
|
name: airship-porthole-openstack-tox-py310-kubeadm
|
|
parent: porthole-infra-deploy
|
|
nodeset: treasuremap-airskiff-1node-ubuntu_jammy
|
|
irrelevant-files: *irrelevant-files
|
|
run:
|
|
- tools/gate/playbooks/airship-run-scripts.yaml
|
|
- tools/gate/playbooks/run-tox-tests.yaml
|
|
vars:
|
|
tox_envlist: py310
|
|
|
|
- job:
|
|
name: airship-porthole-openstack-tox-cover-kubeadm
|
|
parent: porthole-infra-deploy
|
|
nodeset: treasuremap-airskiff-1node-ubuntu_jammy
|
|
irrelevant-files: *irrelevant-files
|
|
run:
|
|
- tools/gate/playbooks/airship-run-scripts.yaml
|
|
- tools/gate/playbooks/run-tox-tests.yaml
|
|
vars:
|
|
tox_envlist: cover
|
|
|
|
- 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
|
|
Ov89Wf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