From b8a7036c40a8ee69d686df2c5c41be62aecd0a46 Mon Sep 17 00:00:00 2001 From: "Michal (inc0) Jastrzebski" Date: Fri, 5 Jan 2018 14:45:53 -0800 Subject: [PATCH] Move kolla-k8s jobs to kolla repo First step in zuulv3 Change-Id: I78ea8a214f183314fcbfc57b0b18d8f2ed5fbe3d --- .zuul.d/legacy.yml | 344 ++++++++++++++++++ .../post.yaml | 15 + .../run.yaml | 70 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 70 ++++ .../post.yaml | 15 + .../run.yaml | 70 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 70 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ .../post.yaml | 15 + .../run.yaml | 67 ++++ 51 files changed, 2406 insertions(+) create mode 100644 .zuul.d/legacy.yml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-multi/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-multi/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-reboot/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-reboot/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-external-ovs/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-external-ovs/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-compute-kit/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-compute-kit/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-entrypoint/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-entrypoint/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-operator/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-operator/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-iscsi/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-iscsi/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-3-ceph-multi/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-3-ceph-multi/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-ceph-multi/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-ceph-multi/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-compute-kit/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-compute-kit/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-entrypoint/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-entrypoint/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-t-ceph-multi/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-t-ceph-multi/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-compute-kit/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-compute-kit/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-entrypoint/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-entrypoint/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-ironic/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-ironic/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-microchart-ansible/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-microchart-ansible/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-t-iscsi/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-t-iscsi/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-ceph/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-ceph/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-iscsi/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-iscsi/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-ironic/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-ironic/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-microchart-ansible/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-microchart-ansible/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-t-iscsi/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-t-iscsi/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-2-ceph/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-2-ceph/run.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-3-ceph/post.yaml create mode 100644 tests/playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-3-ceph/run.yaml diff --git a/.zuul.d/legacy.yml b/.zuul.d/legacy.yml new file mode 100644 index 000000000..cc85cd291 --- /dev/null +++ b/.zuul.d/legacy.yml @@ -0,0 +1,344 @@ +--- +- project: + name: openstack/kolla-kubernetes + check: + jobs: + - kolla-kubernetes-deploy-centos-binary-2-ceph-multi: + voting: false + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-centos-binary-2-ceph: + voting: false + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-centos-binary-2-external-ovs: + voting: false + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-centos-binary-2-helm-entrypoint: + voting: false + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-centos-binary-2-helm-compute-kit: + voting: false + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-centos-binary-2-iscsi: + voting: false + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-ubuntu-binary-2-iscsi: + voting: false + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-ubuntu-binary-2-ceph: + voting: false + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-centos-binary-3-ceph-multi: + voting: false + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-centos-source-4-ironic: + voting: false + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-ubuntu-source-4-microchart-ansible: + voting: false + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-centos-source-4-microchart-ansible: + voting: false + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + experimental: + jobs: + - kolla-kubernetes-deploy-centos-binary-2-helm-operator: + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-centos-binary-2-ceph-reboot: + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-centos-binary-4-helm-compute-kit: + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-centos-binary-4-helm-entrypoint: + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-centos-binary-4-ceph-multi: + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-centos-source-4-helm-compute-kit: + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-centos-source-4-helm-entrypoint: + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-ubuntu-source-4-ironic: + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-upgrade-centos-binary-2-ceph: + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-upgrade-centos-binary-3-ceph: + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-centos-binary-t-ceph-multi: + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-centos-source-t-iscsi: + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + - kolla-kubernetes-deploy-ubuntu-source-t-iscsi: + irrelevant-files: + - ^.*\.rst$ + - ^deploy-guide/source/.* + - ^doc/.* + +- job: + name: kolla-kubernetes-deploy-centos-binary-2-ceph + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph/post.yaml + nodeset: centos-7 + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-binary-2-ceph-multi + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-multi/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-multi/post.yaml + nodeset: centos-7-2-node + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-binary-2-ceph-reboot + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-reboot/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-reboot/post.yaml + nodeset: centos-7-2-node + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-binary-2-external-ovs + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-external-ovs/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-external-ovs/post.yaml + nodeset: centos-7 + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-binary-2-helm-compute-kit + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-compute-kit/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-compute-kit/post.yaml + nodeset: centos-7 + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-binary-2-helm-entrypoint + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-entrypoint/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-entrypoint/post.yaml + nodeset: centos-7 + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-binary-2-helm-operator + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-operator/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-operator/post.yaml + nodeset: centos-7 + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-binary-2-iscsi + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-iscsi/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-iscsi/post.yaml + nodeset: centos-7 + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-binary-3-ceph-multi + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-3-ceph-multi/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-3-ceph-multi/post.yaml + nodeset: centos-7-2-node + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-binary-4-ceph-multi + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-ceph-multi/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-ceph-multi/post.yaml + nodeset: centos-7-2-node + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-binary-4-helm-compute-kit + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-compute-kit/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-compute-kit/post.yaml + nodeset: centos-7 + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-binary-4-helm-entrypoint + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-entrypoint/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-entrypoint/post.yaml + nodeset: centos-7 + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-binary-t-ceph-multi + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-t-ceph-multi/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-binary-t-ceph-multi/post.yaml + nodeset: centos-7-2-node + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-source-4-helm-compute-kit + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-compute-kit/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-compute-kit/post.yaml + nodeset: centos-7 + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-source-4-helm-entrypoint + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-entrypoint/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-entrypoint/post.yaml + nodeset: centos-7 + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-source-4-ironic + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-ironic/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-ironic/post.yaml + nodeset: centos-7 + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-source-4-microchart-ansible + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-microchart-ansible/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-microchart-ansible/post.yaml + nodeset: centos-7 + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-centos-source-t-iscsi + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-centos-source-t-iscsi/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-centos-source-t-iscsi/post.yaml + nodeset: centos-7 + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-ubuntu-binary-2-ceph + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-ceph/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-ceph/post.yaml + nodeset: ubuntu-xenial + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-ubuntu-binary-2-iscsi + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-iscsi/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-iscsi/post.yaml + nodeset: ubuntu-xenial + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-ubuntu-source-4-ironic + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-ironic/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-ironic/post.yaml + nodeset: ubuntu-xenial + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-ubuntu-source-4-microchart-ansible + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-microchart-ansible/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-microchart-ansible/post.yaml + nodeset: ubuntu-xenial + timeout: 3600 + +- job: + name: kolla-kubernetes-deploy-ubuntu-source-t-iscsi + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-t-iscsi/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-t-iscsi/post.yaml + nodeset: ubuntu-xenial + timeout: 3600 + +- job: + name: kolla-kubernetes-upgrade-centos-binary-2-ceph + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-2-ceph/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-2-ceph/post.yaml + nodeset: centos-7 + timeout: 3600 + +- job: + name: kolla-kubernetes-upgrade-centos-binary-3-ceph + parent: kolla-kubernetes-base + run: playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-3-ceph/run.yaml + post-run: playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-3-ceph/post.yaml + nodeset: centos-7 + timeout: 3600 diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-multi/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-multi/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-multi/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-multi/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-multi/run.yaml new file mode 100644 index 000000000..fcf329bd0 --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-multi/run.yaml @@ -0,0 +1,70 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-binary-2-ceph-multi + from old job gate-kolla-kubernetes-deploy-centos-binary-2-ceph-multi-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + +- hosts: primary + name: legacy-kolla-kubernetes-deploy-centos-binary-2-ceph-multi master + tasks: + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos binary ceph-multi centos-7-2-node shell 2 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-reboot/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-reboot/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-reboot/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-reboot/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-reboot/run.yaml new file mode 100644 index 000000000..a6d727bd7 --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph-reboot/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-binary-2-ceph-reboot + from old job gate-kolla-kubernetes-deploy-centos-binary-2-ceph-reboot-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos binary ceph-reboot centos-7-2-node shell 2 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph/run.yaml new file mode 100644 index 000000000..398fc84af --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-ceph/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-binary-2-ceph from + old job gate-kolla-kubernetes-deploy-centos-binary-2-ceph-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos binary ceph centos-7 shell 2 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-external-ovs/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-external-ovs/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-external-ovs/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-external-ovs/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-external-ovs/run.yaml new file mode 100644 index 000000000..ab7c9669f --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-external-ovs/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-binary-2-external-ovs + from old job gate-kolla-kubernetes-deploy-centos-binary-2-external-ovs-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos binary external-ovs centos-7 shell 2 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-compute-kit/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-compute-kit/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-compute-kit/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-compute-kit/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-compute-kit/run.yaml new file mode 100644 index 000000000..762763e16 --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-compute-kit/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-binary-2-helm-compute-kit + from old job gate-kolla-kubernetes-deploy-centos-binary-2-helm-compute-kit-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos binary helm-compute-kit centos-7 shell 2 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-entrypoint/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-entrypoint/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-entrypoint/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-entrypoint/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-entrypoint/run.yaml new file mode 100644 index 000000000..55b5836c9 --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-entrypoint/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-binary-2-helm-entrypoint + from old job gate-kolla-kubernetes-deploy-centos-binary-2-helm-entrypoint-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos binary helm-entrypoint centos-7 shell 2 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-operator/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-operator/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-operator/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-operator/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-operator/run.yaml new file mode 100644 index 000000000..39b6d77c7 --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-helm-operator/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-binary-2-helm-operator + from old job gate-kolla-kubernetes-deploy-centos-binary-2-helm-operator-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos binary helm-operator centos-7 shell 2 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-iscsi/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-iscsi/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-iscsi/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-iscsi/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-iscsi/run.yaml new file mode 100644 index 000000000..d40d32ac9 --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-2-iscsi/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-binary-2-iscsi from + old job gate-kolla-kubernetes-deploy-centos-binary-2-iscsi-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos binary iscsi centos-7 shell 2 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-3-ceph-multi/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-3-ceph-multi/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-3-ceph-multi/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-3-ceph-multi/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-3-ceph-multi/run.yaml new file mode 100644 index 000000000..7597f7ac0 --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-3-ceph-multi/run.yaml @@ -0,0 +1,70 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-binary-3-ceph-multi + from old job gate-kolla-kubernetes-deploy-centos-binary-3-ceph-multi-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + +- hosts: primary + name: legacy-kolla-kubernetes-deploy-centos-binary-3-ceph-multi master + tasks: + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos binary ceph-multi centos-7-2-node shell 3 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-ceph-multi/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-ceph-multi/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-ceph-multi/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-ceph-multi/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-ceph-multi/run.yaml new file mode 100644 index 000000000..01e7e776a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-ceph-multi/run.yaml @@ -0,0 +1,70 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-binary-4-ceph-multi + from old job gate-kolla-kubernetes-deploy-centos-binary-4-ceph-multi-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + +- hosts: primary + name: legacy-kolla-kubernetes-deploy-centos-binary-4-ceph-multi master + tasks: + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos binary ceph-multi centos-7-2-node shell 4 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-compute-kit/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-compute-kit/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-compute-kit/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-compute-kit/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-compute-kit/run.yaml new file mode 100644 index 000000000..626735245 --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-compute-kit/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-binary-4-helm-compute-kit + from old job gate-kolla-kubernetes-deploy-centos-binary-4-helm-compute-kit-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos binary helm-compute-kit centos-7 shell 4 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-entrypoint/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-entrypoint/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-entrypoint/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-entrypoint/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-entrypoint/run.yaml new file mode 100644 index 000000000..b405f69ea --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-4-helm-entrypoint/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-binary-4-helm-entrypoint + from old job gate-kolla-kubernetes-deploy-centos-binary-4-helm-entrypoint-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos binary helm-entrypoint centos-7 shell 4 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-t-ceph-multi/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-t-ceph-multi/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-t-ceph-multi/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-t-ceph-multi/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-t-ceph-multi/run.yaml new file mode 100644 index 000000000..414775ef7 --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-binary-t-ceph-multi/run.yaml @@ -0,0 +1,70 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-binary-t-ceph-multi + from old job gate-kolla-kubernetes-deploy-centos-binary-t-ceph-multi-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + +- hosts: primary + name: legacy-kolla-kubernetes-deploy-centos-binary-t-ceph-multi + tasks: + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos binary ceph-multi centos-7-2-node shell t gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-compute-kit/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-compute-kit/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-compute-kit/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-compute-kit/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-compute-kit/run.yaml new file mode 100644 index 000000000..f95750be1 --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-compute-kit/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-source-4-helm-compute-kit + from old job gate-kolla-kubernetes-deploy-centos-source-4-helm-compute-kit-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos source helm-compute-kit centos-7 shell 4 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-entrypoint/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-entrypoint/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-entrypoint/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-entrypoint/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-entrypoint/run.yaml new file mode 100644 index 000000000..68162c983 --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-helm-entrypoint/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-source-4-helm-entrypoint + from old job gate-kolla-kubernetes-deploy-centos-source-4-helm-entrypoint-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos source helm-entrypoint centos-7 shell 4 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-ironic/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-ironic/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-ironic/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-ironic/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-ironic/run.yaml new file mode 100644 index 000000000..b0ec775ed --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-ironic/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-source-4-ironic from + old job gate-kolla-kubernetes-deploy-centos-source-4-ironic-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos source ironic centos-7 shell 4 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-microchart-ansible/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-microchart-ansible/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-microchart-ansible/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-microchart-ansible/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-microchart-ansible/run.yaml new file mode 100644 index 000000000..0071eb5f2 --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-4-microchart-ansible/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-source-4-microchart-ansible + from old job gate-kolla-kubernetes-deploy-centos-source-4-microchart-ansible-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos source microchart-ansible centos-7 shell 4 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-t-iscsi/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-t-iscsi/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-t-iscsi/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-t-iscsi/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-t-iscsi/run.yaml new file mode 100644 index 000000000..30fe6a11b --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-centos-source-t-iscsi/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-centos-source-t-iscsi from + old job gate-kolla-kubernetes-deploy-centos-source-t-iscsi-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy centos source iscsi centos-7 shell t gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-ceph/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-ceph/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-ceph/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-ceph/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-ceph/run.yaml new file mode 100644 index 000000000..4a885c1a7 --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-ceph/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-ubuntu-binary-2-ceph from + old job gate-kolla-kubernetes-deploy-ubuntu-binary-2-ceph-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy ubuntu binary ceph ubuntu-xenial shell 2 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-iscsi/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-iscsi/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-iscsi/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-iscsi/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-iscsi/run.yaml new file mode 100644 index 000000000..10c8d538b --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-binary-2-iscsi/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-ubuntu-binary-2-iscsi from + old job gate-kolla-kubernetes-deploy-ubuntu-binary-2-iscsi-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy ubuntu binary iscsi ubuntu-xenial shell 2 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-ironic/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-ironic/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-ironic/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-ironic/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-ironic/run.yaml new file mode 100644 index 000000000..1e21ac11e --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-ironic/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-ubuntu-source-4-ironic from + old job gate-kolla-kubernetes-deploy-ubuntu-source-4-ironic-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy ubuntu source ironic ubuntu-xenial shell 4 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-microchart-ansible/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-microchart-ansible/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-microchart-ansible/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-microchart-ansible/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-microchart-ansible/run.yaml new file mode 100644 index 000000000..bfb40a788 --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-4-microchart-ansible/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-ubuntu-source-4-microchart-ansible + from old job gate-kolla-kubernetes-deploy-ubuntu-source-4-microchart-ansible-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy ubuntu source microchart-ansible ubuntu-xenial shell 4 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-t-iscsi/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-t-iscsi/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-t-iscsi/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-t-iscsi/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-t-iscsi/run.yaml new file mode 100644 index 000000000..cc90aa0fd --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-deploy-ubuntu-source-t-iscsi/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-deploy-ubuntu-source-t-iscsi from + old job gate-kolla-kubernetes-deploy-ubuntu-source-t-iscsi-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh deploy ubuntu source iscsi ubuntu-xenial shell t gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-2-ceph/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-2-ceph/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-2-ceph/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-2-ceph/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-2-ceph/run.yaml new file mode 100644 index 000000000..c12c21674 --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-2-ceph/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-upgrade-centos-binary-2-ceph from + old job gate-kolla-kubernetes-upgrade-centos-binary-2-ceph-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh upgrade centos binary ceph centos-7 shell 2 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/tests/playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-3-ceph/post.yaml b/tests/playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-3-ceph/post.yaml new file mode 100644 index 000000000..e07f5510a --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-3-ceph/post.yaml @@ -0,0 +1,15 @@ +- hosts: primary + tasks: + + - name: Copy files from {{ ansible_user_dir }}/workspace/ on node + synchronize: + src: '{{ ansible_user_dir }}/workspace/' + dest: '{{ zuul.executor.log_root }}' + mode: pull + copy_links: true + verify_host: true + rsync_opts: + - --include=/logs/** + - --include=*/ + - --exclude=* + - --prune-empty-dirs diff --git a/tests/playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-3-ceph/run.yaml b/tests/playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-3-ceph/run.yaml new file mode 100644 index 000000000..9935b9491 --- /dev/null +++ b/tests/playbooks/legacy/kolla-kubernetes-upgrade-centos-binary-3-ceph/run.yaml @@ -0,0 +1,67 @@ +- hosts: all + name: Autoconverted job legacy-kolla-kubernetes-upgrade-centos-binary-3-ceph from + old job gate-kolla-kubernetes-upgrade-centos-binary-3-ceph-nv + tasks: + + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + + - shell: + cmd: | + set -e + set -x + CLONEMAP=`mktemp` + REQS_DIR=`mktemp -d` + function cleanup { + mkdir -p $WORKSPACE + rm -rf $CLONEMAP $REQS_DIR + } + trap cleanup EXIT + cat > $CLONEMAP << EOF + clonemap: + - name: $ZUUL_PROJECT + dest: . + EOF + # zuul cloner works poorly if there are 2 names that are the + # same in here. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cat >> $CLONEMAP << EOF + - name: openstack/requirements + dest: $REQS_DIR + EOF + fi + /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ + git://git.openstack.org $ZUUL_PROJECT openstack/requirements + # REQS_DIR is not set for openstack/requirements and there is also + # no need to copy in this case. + if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then + cp $REQS_DIR/upper-constraints.txt ./ + fi + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + sudo yum-config-manager --enable epel || true + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}' + + - shell: + cmd: | + set -e + set -x + tools/setup_gate.sh upgrade centos binary ceph centos-7 shell 3 gate + executable: /bin/bash + chdir: '{{ ansible_user_dir }}/workspace' + environment: '{{ zuul | zuul_legacy_vars }}'