
1) Zuul gates takes two hours to merge the change. This Reduces repeating of same Jobs. 2) Consolidated deploy and apparmor scripts to Single Job. 3) Consolidated unit and feature tests to Single Job. Change-Id: I97eec8140a4e10fd1c70a0b732b3b3a28c45ab70 Signed-off-by: diwakar thyagaraj <diwakar.chitoor.thyagaraj@att.com>
133 lines
5.4 KiB
YAML
133 lines
5.4 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
|
|
- airship-porthole-images-build-gate-calicoctl-utility
|
|
- airship-porthole-images-build-gate-ceph-utility
|
|
- airship-porthole-images-build-gate-compute-utility
|
|
- airship-porthole-images-build-gate-etcdctl-utility
|
|
- airship-porthole-images-build-gate-mysqlclient-utility
|
|
- airship-porthole-images-build-gate-openstack-utility
|
|
- airship-porthole-images-build-gate-postgresql-utility
|
|
- airship-porthole-deploy-feature-test
|
|
|
|
gate:
|
|
jobs:
|
|
- airship-porthole-linter
|
|
- airship-porthole-images-build-gate-calicoctl-utility
|
|
- airship-porthole-images-build-gate-ceph-utility
|
|
- airship-porthole-images-build-gate-compute-utility
|
|
- airship-porthole-images-build-gate-etcdctl-utility
|
|
- airship-porthole-images-build-gate-mysqlclient-utility
|
|
- airship-porthole-images-build-gate-openstack-utility
|
|
- airship-porthole-images-build-gate-postgresql-utility
|
|
- airship-porthole-deploy-feature-test
|
|
|
|
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
|
|
- airship-porthole-deploy-feature-test
|
|
|
|
- nodeset:
|
|
name: airship-porthole-single-node
|
|
nodes:
|
|
- name: primary
|
|
label: ubuntu-bionic
|
|
|
|
- job:
|
|
name: airship-porthole-images
|
|
abstract: true
|
|
timeout: 1800
|
|
post-timeout: 1800
|
|
run: tools/gate/playbooks/docker-image-build.yaml
|
|
nodeset: airship-porthole-single-node
|
|
vars:
|
|
publish: false
|
|
tags:
|
|
dynamic:
|
|
branch: true
|
|
commit: false
|
|
static:
|
|
- latest
|
|
|
|
- job:
|
|
name: airship-porthole-linter
|
|
description: |
|
|
Lints files for trailing whitespace
|
|
run: tools/gate/playbooks/zuul-linter.yaml
|
|
timeout: 300
|
|
nodeset: airship-porthole-single-node
|
|
|
|
|
|
- job:
|
|
name: airship-porthole-deploy-feature-test
|
|
description: |
|
|
Deploys all UC's and Executes unit and feature tests.
|
|
run: tools/gate/playbooks/airship-porthole-gate-runner.yaml
|
|
nodeset: airship-porthole-single-node
|
|
timeout: 7200
|
|
post-run:
|
|
- tools/gate/playbooks/make-unit-tests.yaml
|
|
- tools/gate/playbooks/make-feature-tests.yaml
|
|
vars:
|
|
gate_scripts:
|
|
- ./tools/deployment/000-install-packages.sh
|
|
- ./tools/deployment/001-setup-apparmor-profiles.sh
|
|
- ./tools/deployment/002-deploy-k8s.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
|
|
args:
|
|
chdir: "{{ zuul.project.src_dir }}"
|
|
|
|
- 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
|
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