diff --git a/playbooks/legacy/ansible-func-opensuse-423/post.yaml b/playbooks/legacy/ansible-func-opensuse-423/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/ansible-func-opensuse-423/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/ansible-func-opensuse-423/run.yaml b/playbooks/legacy/ansible-func-opensuse-423/run.yaml deleted file mode 100644 index 6f8f8401..00000000 --- a/playbooks/legacy/ansible-func-opensuse-423/run.yaml +++ /dev/null @@ -1,100 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-ansible-func-opensuse-423 from old job gate-{name}-ansible-func-opensuse-423 - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/dsvm-nodepool-src-old/post.yaml b/playbooks/legacy/dsvm-nodepool-src-old/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/dsvm-nodepool-src-old/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/dsvm-nodepool-src-old/run.yaml b/playbooks/legacy/dsvm-nodepool-src-old/run.yaml deleted file mode 100644 index c4a1df3b..00000000 --- a/playbooks/legacy/dsvm-nodepool-src-old/run.yaml +++ /dev/null @@ -1,121 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-dsvm-nodepool-src-old from old job gate-dsvm-nodepool-src-old-nv - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack-infra/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - export PYTHONUNBUFFERED=true - # Disable tempest as nodepool is talking to the cloud not tempest. - export DEVSTACK_GATE_TEMPEST=0 - # Use neutron as the public clouds in use are neutron based. - export DEVSTACK_GATE_NEUTRON=1 - # The nodepool process needs sudo rights in order to - # perform dib image builds - export DEVSTACK_GATE_REMOVE_STACK_SUDO=0 - # Disable services we do not need for nodepool - export DEVSTACK_LOCAL_CONFIG="disable_service horizon" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-acentral" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-acompute" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-alarm-evaluator" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-alarm-notifier" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-anotification" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-api" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-collector" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service cinder" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service c-bak" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service c-sch" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service c-api" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service c-vol" - - if [ "" == "-py35" ]; then - export DEVSTACK_GATE_USE_PYTHON3=True - - # swift is not ready for python3 yet - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-account" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-container" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-object" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-proxy" - fi - - export BRANCH_OVERRIDE=0.2.0 - if [ "$BRANCH_OVERRIDE" != "default" ] ; then - export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE - fi - # Because we are testing a non standard project, add the - # our project repository. This makes zuul do the right - # reference magic for testing changes. - export PROJECTS="openstack-infra/nodepool $PROJECTS" - # note the actual url here is somewhat irrelevant because it - # caches in nodepool, however make it a valid url for - # documentation purposes. - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin nodepool git://git.openstack.org/openstack-infra/nodepool" - export DEVSTACK_PROJECT_FROM_GIT="diskimage-builder" - export DEVSTACK_PROJECT_FROM_GIT+=",glean" - export DEVSTACK_PROJECT_FROM_GIT+=",shade" - - # Start with all images disabled. - export NODEPOOL_PAUSE_CENTOS_7_DIB=true - export NODEPOOL_PAUSE_DEBIAN_JESSIE_DIB=true - export NODEPOOL_PAUSE_FEDORA_26_DIB=true - export NODEPOOL_PAUSE_OPENSUSE_423_DIB=true - export NODEPOOL_PAUSE_UBUNTU_TRUSTY_DIB=true - export NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB=true - - if [ "" == "" ] ; then - # dsvm-nodepool-src - export NODEPOOL_PAUSE_UBUNTU_TRUSTY_DIB=false - elif [ "" == "-debian" ] ; then - # dsvm-nodepool-debian-src - export NODEPOOL_PAUSE_DEBIAN_JESSIE_DIB=false - elif [ "" == "-opensuse" ] ; then - # dsvm-nodepool-opensuse-src - export NODEPOOL_PAUSE_OPENSUSE_423_DIB=false - elif [ "" == "-redhat" ] ; then - # dsvm-nodepool-redhat-src - export NODEPOOL_PAUSE_CENTOS_7_DIB=false - export NODEPOOL_PAUSE_FEDORA_26_DIB=false - elif [ "" == "-ubuntu" ] ; then - # dsvm-nodepool-ubuntu-src - export NODEPOOL_PAUSE_UBUNTU_TRUSTY_DIB=false - export NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB=false - fi - export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_CENTOS_7_DIB=$NODEPOOL_PAUSE_CENTOS_7_DIB" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_DEBIAN_JESSIE_DIB=$NODEPOOL_PAUSE_DEBIAN_JESSIE_DIB" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_FEDORA_26_DIB=$NODEPOOL_PAUSE_FEDORA_26_DIB" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_OPENSUSE_423_DIB=$NODEPOOL_PAUSE_OPENSUSE_423_DIB" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_UBUNTU_TRUSTY_DIB=$NODEPOOL_PAUSE_UBUNTU_TRUSTY_DIB" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB=$NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB" - - function post_test_hook { - /opt/stack/new/nodepool/tools/check_devstack_plugin.sh - } - export -f post_test_hook - - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/dsvm-nodepool-src-zuulv3/post.yaml b/playbooks/legacy/dsvm-nodepool-src-zuulv3/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/dsvm-nodepool-src-zuulv3/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/dsvm-nodepool-src-zuulv3/run.yaml b/playbooks/legacy/dsvm-nodepool-src-zuulv3/run.yaml deleted file mode 100644 index 280a07ac..00000000 --- a/playbooks/legacy/dsvm-nodepool-src-zuulv3/run.yaml +++ /dev/null @@ -1,121 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-dsvm-nodepool-src-zuulv3 from old job gate-dsvm-nodepool-src-zuulv3 - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack-infra/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - export PYTHONUNBUFFERED=true - # Disable tempest as nodepool is talking to the cloud not tempest. - export DEVSTACK_GATE_TEMPEST=0 - # Use neutron as the public clouds in use are neutron based. - export DEVSTACK_GATE_NEUTRON=1 - # The nodepool process needs sudo rights in order to - # perform dib image builds - export DEVSTACK_GATE_REMOVE_STACK_SUDO=0 - # Disable services we do not need for nodepool - export DEVSTACK_LOCAL_CONFIG="disable_service horizon" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-acentral" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-acompute" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-alarm-evaluator" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-alarm-notifier" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-anotification" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-api" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-collector" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service cinder" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service c-bak" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service c-sch" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service c-api" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service c-vol" - - if [ "" == "-py35" ]; then - export DEVSTACK_GATE_USE_PYTHON3=True - - # swift is not ready for python3 yet - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-account" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-container" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-object" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-proxy" - fi - - export BRANCH_OVERRIDE=feature/zuulv3 - if [ "$BRANCH_OVERRIDE" != "default" ] ; then - export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE - fi - # Because we are testing a non standard project, add the - # our project repository. This makes zuul do the right - # reference magic for testing changes. - export PROJECTS="openstack-infra/nodepool $PROJECTS" - # note the actual url here is somewhat irrelevant because it - # caches in nodepool, however make it a valid url for - # documentation purposes. - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin nodepool git://git.openstack.org/openstack-infra/nodepool" - export DEVSTACK_PROJECT_FROM_GIT="diskimage-builder" - export DEVSTACK_PROJECT_FROM_GIT+=",glean" - export DEVSTACK_PROJECT_FROM_GIT+=",shade" - - # Start with all images disabled. - export NODEPOOL_PAUSE_CENTOS_7_DIB=true - export NODEPOOL_PAUSE_DEBIAN_JESSIE_DIB=true - export NODEPOOL_PAUSE_FEDORA_26_DIB=true - export NODEPOOL_PAUSE_OPENSUSE_423_DIB=true - export NODEPOOL_PAUSE_UBUNTU_TRUSTY_DIB=true - export NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB=true - - if [ "" == "" ] ; then - # dsvm-nodepool-src - export NODEPOOL_PAUSE_UBUNTU_TRUSTY_DIB=false - elif [ "" == "-debian" ] ; then - # dsvm-nodepool-debian-src - export NODEPOOL_PAUSE_DEBIAN_JESSIE_DIB=false - elif [ "" == "-opensuse" ] ; then - # dsvm-nodepool-opensuse-src - export NODEPOOL_PAUSE_OPENSUSE_423_DIB=false - elif [ "" == "-redhat" ] ; then - # dsvm-nodepool-redhat-src - export NODEPOOL_PAUSE_CENTOS_7_DIB=false - export NODEPOOL_PAUSE_FEDORA_26_DIB=false - elif [ "" == "-ubuntu" ] ; then - # dsvm-nodepool-ubuntu-src - export NODEPOOL_PAUSE_UBUNTU_TRUSTY_DIB=false - export NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB=false - fi - export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_CENTOS_7_DIB=$NODEPOOL_PAUSE_CENTOS_7_DIB" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_DEBIAN_JESSIE_DIB=$NODEPOOL_PAUSE_DEBIAN_JESSIE_DIB" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_FEDORA_26_DIB=$NODEPOOL_PAUSE_FEDORA_26_DIB" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_OPENSUSE_423_DIB=$NODEPOOL_PAUSE_OPENSUSE_423_DIB" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_UBUNTU_TRUSTY_DIB=$NODEPOOL_PAUSE_UBUNTU_TRUSTY_DIB" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB=$NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB" - - function post_test_hook { - /opt/stack/new/nodepool/tools/check_devstack_plugin.sh - } - export -f post_test_hook - - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/gate-kolla-dsvm-build-centos-source-centos-7/post.yaml b/playbooks/legacy/gate-kolla-dsvm-build-centos-source-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/gate-kolla-dsvm-build-centos-source-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/gate-kolla-dsvm-build-centos-source-centos-7/run.yaml b/playbooks/legacy/gate-kolla-dsvm-build-centos-source-centos-7/run.yaml deleted file mode 100644 index b7eb271b..00000000 --- a/playbooks/legacy/gate-kolla-dsvm-build-centos-source-centos-7/run.yaml +++ /dev/null @@ -1,63 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-gate-kolla-dsvm-build-centos-source-centos-7 from - old job gate-kolla-dsvm-build-centos-source-centos-7 - 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: /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 - - export ACTION=build - export BASE_DISTRO=centos - export INSTALL_TYPE=source - - tools/gate_run.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/gate-kolla-dsvm-build-oraclelinux-source-centos-7/post.yaml b/playbooks/legacy/gate-kolla-dsvm-build-oraclelinux-source-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/gate-kolla-dsvm-build-oraclelinux-source-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/gate-kolla-dsvm-build-oraclelinux-source-centos-7/run.yaml b/playbooks/legacy/gate-kolla-dsvm-build-oraclelinux-source-centos-7/run.yaml deleted file mode 100644 index 8858465a..00000000 --- a/playbooks/legacy/gate-kolla-dsvm-build-oraclelinux-source-centos-7/run.yaml +++ /dev/null @@ -1,63 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-gate-kolla-dsvm-build-oraclelinux-source-centos-7 - from old job gate-kolla-dsvm-build-oraclelinux-source-centos-7 - 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: /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 - - export ACTION=build - export BASE_DISTRO=oraclelinux - export INSTALL_TYPE=source - - tools/gate_run.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/gate-kolla-dsvm-build-ubuntu-source/post.yaml b/playbooks/legacy/gate-kolla-dsvm-build-ubuntu-source/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/gate-kolla-dsvm-build-ubuntu-source/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/gate-kolla-dsvm-build-ubuntu-source/run.yaml b/playbooks/legacy/gate-kolla-dsvm-build-ubuntu-source/run.yaml deleted file mode 100644 index 01ca9514..00000000 --- a/playbooks/legacy/gate-kolla-dsvm-build-ubuntu-source/run.yaml +++ /dev/null @@ -1,63 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-gate-kolla-dsvm-build-ubuntu-source from old job - gate-kolla-dsvm-build-ubuntu-source-ubuntu-xenial - 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: /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 - - export ACTION=build - export BASE_DISTRO=ubuntu - export INSTALL_TYPE=source - - tools/gate_run.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/grenade-dsvm-ironic-multinode-multitenant/post.yaml b/playbooks/legacy/grenade-dsvm-ironic-multinode-multitenant/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/grenade-dsvm-ironic-multinode-multitenant/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/grenade-dsvm-ironic-multinode-multitenant/run.yaml b/playbooks/legacy/grenade-dsvm-ironic-multinode-multitenant/run.yaml deleted file mode 100644 index 576a1419..00000000 --- a/playbooks/legacy/grenade-dsvm-ironic-multinode-multitenant/run.yaml +++ /dev/null @@ -1,217 +0,0 @@ -- hosts: primary - name: Autoconverted job legacy-grenade-dsvm-ironic-multinode-multitenant from old - job gate-grenade-dsvm-ironic-multinode-multitenant-ubuntu-xenial - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack-infra/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-vars-early - # Set this early so that we do not have to be as careful with builder ordering in jobs. - export GRENADE_PLUGINRC="enable_grenade_plugin ironic https://git.openstack.org/openstack/ironic" - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export PROJECTS="openstack-dev/grenade $PROJECTS" - export DEVSTACK_GATE_GRENADE=pullup - export DEVSTACK_GATE_OS_TEST_TIMEOUT=2400 - export DEVSTACK_GATE_TEMPEST_BAREMETAL_BUILD_TIMEOUT=1200 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_BUILD_DEPLOY_RAMDISK=False" - export DEVSTACK_GATE_TLSPROXY=0 - export BUILD_TIMEOUT - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export GRENADE_PLUGINRC+=$'\n'"enable_grenade_plugin networking-generic-switch https://git.openstack.org/openstack/networking-generic-switch" - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_GATE_TOPOLOGY="multinode" - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_GATE_OS_TEST_TIMEOUT=2400 - # networking-generic-switch requires sudo to execute ovs-vsctl commands - export DEVSTACK_GATE_REMOVE_STACK_SUDO=0 - export PROJECTS="openstack/networking-generic-switch $PROJECTS" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin networking-generic-switch git://git.openstack.org/openstack/networking-generic-switch" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_USE_LINK_LOCAL=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"OVS_PHYSICAL_BRIDGE=brbm" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"PHYSICAL_NETWORK=mynetwork" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_PROVISION_NETWORK_NAME=ironic-provision" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_PROVISION_SUBNET_PREFIX=10.0.5.0/24" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_PROVISION_SUBNET_GATEWAY=10.0.5.1" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_PLUGIN=ml2" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_USE_PROVIDERNET_FOR_PUBLIC=False" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"ENABLE_TENANT_VLANS=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_ML2_TENANT_NETWORK_TYPE=vlan" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TENANT_VLAN_RANGE=100:150" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_NETWORK_INTERFACES=flat,neutron" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_NETWORK_INTERFACE=neutron" - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEPLOY_DRIVER_ISCSI_WITH_IPA=True" - # Standardize VM size for each supported ramdisk - case "tinyipa" in - 'tinyipa') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=384" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'tinyipa256') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=256" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'coreos') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=1280" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=coreos" - ;; - # if using a ramdisk without a known good value, use the devstack - # default by not exporting any value for IRONIC_VM_SPECS_RAM - esac - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-vars-early - # use tempest plugin - if [[ "$ZUUL_BRANCH" != "master" ]] ; then - # NOTE(jroll) if this is not a patch against master, then - # fetch master to install the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' git+git://git.openstack.org/openstack/ironic'" - else - # on master, use the local change, so we can pick up any changes to the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' /opt/stack/new/ironic'" - fi - export TEMPEST_CONCURRENCY=4 - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - export PROJECTS="openstack/ironic $PROJECTS" - export PROJECTS="openstack/ironic-lib $PROJECTS" - export PROJECTS="openstack/ironic-python-agent $PROJECTS" - export PROJECTS="openstack/python-ironicclient $PROJECTS" - export PROJECTS="openstack/pyghmi $PROJECTS" - export PROJECTS="openstack/virtualbmc $PROJECTS" - export PYTHONUNBUFFERED=true - export DEVSTACK_GATE_TEMPEST=1 - export DEVSTACK_GATE_IRONIC=1 - export DEVSTACK_GATE_NEUTRON=1 - export DEVSTACK_GATE_VIRT_DRIVER=ironic - export DEVSTACK_GATE_CONFIGDRIVE=1 - export DEVSTACK_GATE_IRONIC_DRIVER=agent_ipmitool - export BRANCH_OVERRIDE=default - if [ "$BRANCH_OVERRIDE" != "default" ] ; then - export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE - fi - - if [[ ! "stable/newton stable/ocata stable/pike" =~ $ZUUL_BRANCH ]] ; then - export DEVSTACK_GATE_TLSPROXY=1 - fi - - if [ "agent_ipmitool" == "pxe_snmp" ] ; then - # explicitly enable pxe_snmp driver - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_DRIVERS=fake,pxe_snmp" - fi - - if [ "agent_ipmitool" == "redfish" ] ; then - # When deploying with redfish we need to enable the "redfish" - # hardware type - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_HARDWARE_TYPES=redfish" - fi - - if [ "wholedisk" == "wholedisk" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=0" - else - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=False" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=1" - fi - - if [ -n "" ] ; then - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=1 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"USE_SUBNETPOOL=False" - else - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=0 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=False" - fi - - if [ "bios" == "uefi" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_BOOT_MODE=uefi" - fi - - export DEVSTACK_PROJECT_FROM_GIT="" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_COUNT=7" - - # Ensure the ironic-vars-EARLY file exists - touch ironic-vars-early - # Pull in the EARLY variables injected by the optional builders - source ironic-vars-early - - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ironic git://git.openstack.org/openstack/ironic" - - # Ensure the ironic-EXTRA-vars file exists - touch ironic-extra-vars - # Pull in the EXTRA variables injected by the optional builders - source ironic-extra-vars - - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/ironic-dsvm-standalone/post.yaml b/playbooks/legacy/ironic-dsvm-standalone/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/ironic-dsvm-standalone/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/ironic-dsvm-standalone/run.yaml b/playbooks/legacy/ironic-dsvm-standalone/run.yaml deleted file mode 100644 index bb5dc459..00000000 --- a/playbooks/legacy/ironic-dsvm-standalone/run.yaml +++ /dev/null @@ -1,98 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-ironic-dsvm-standalone from old job gate-ironic-dsvm-standalone-ubuntu-xenial - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack-infra/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-vars-early - # use tempest plugin - if [[ "$ZUUL_BRANCH" != "master" ]] ; then - # NOTE(jroll) if this is not a patch against master, then - # fetch master to install the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' git+git://git.openstack.org/openstack/ironic'" - else - # on master, use the local change, so we can pick up any changes to the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' /opt/stack/new/ironic'" - fi - export TEMPEST_CONCURRENCY=4 - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_GATE_TEMPEST_REGEX="ironic_standalone" - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - export PROJECTS="openstack/ironic $PROJECTS" - export PROJECTS="openstack/ironic-lib $PROJECTS" - export PROJECTS="openstack/ironic-python-agent $PROJECTS" - export PROJECTS="openstack/python-ironicclient $PROJECTS" - export PYTHONUNBUFFERED=true - export DEVSTACK_GATE_TEMPEST=1 - export DEVSTACK_GATE_IRONIC=1 - export DEVSTACK_GATE_NEUTRON=1 - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=0 - export DEVSTACK_GATE_VIRT_DRIVER=ironic - export DEVSTACK_GATE_IRONIC_DRIVER=agent_ipmitool - export OVERRIDE_ENABLED_SERVICES="g-api,g-reg,q-agt,q-dhcp,q-l3,q-svc,key,mysql,rabbit,ir-api,ir-cond,s-account,s-container,s-object,s-proxy,tempest" - - export BRANCH_OVERRIDE=default - if [ "$BRANCH_OVERRIDE" != "default" ] ; then - export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE - fi - - export DEVSTACK_LOCAL_CONFIG="enable_plugin ironic git://git.openstack.org/openstack/ironic" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_COUNT=6" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEPLOY_DRIVER=agent_ipmitool" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"SWIFT_ENABLE_TEMPURLS=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"SWIFT_TEMPURL_KEY=secretkey" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_DRIVERS=fake,agent_ipmitool,pxe_ipmitool" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_AUTOMATED_CLEAN_ENABLED=False" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_USE_MOD_WSGI=True" - - # Ensure the ironic-vars-EARLY file exists - touch ironic-vars-early - # Pull in the EARLY variables injected by the optional builders - source ironic-vars-early - - # Ensure the ironic-EXTRA-vars file exists - touch ironic-extra-vars - # Pull in the EXTRA variables injected by the optional builders - source ironic-extra-vars - - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/mogan-dsvm-tempest-plugin/post.yaml b/playbooks/legacy/mogan-dsvm-tempest-plugin/post.yaml deleted file mode 100644 index dac87534..00000000 --- a/playbooks/legacy/mogan-dsvm-tempest-plugin/post.yaml +++ /dev/null @@ -1,80 +0,0 @@ -- 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=**/*nose_results.html - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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=**/*testr_results.html.gz - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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=/.testrepository/tmp* - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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=**/*testrepository.subunit.gz - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - name: Copy files from {{ ansible_user_dir }}/workspace/ on node - synchronize: - src: '{{ ansible_user_dir }}/workspace/' - dest: '{{ zuul.executor.log_root }}/tox' - mode: pull - copy_links: true - verify_host: true - rsync_opts: - - --include=/.tox/*/log/* - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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/playbooks/legacy/mogan-dsvm-tempest-plugin/run.yaml b/playbooks/legacy/mogan-dsvm-tempest-plugin/run.yaml deleted file mode 100644 index 0895cf65..00000000 --- a/playbooks/legacy/mogan-dsvm-tempest-plugin/run.yaml +++ /dev/null @@ -1,69 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-mogan-dsvm-tempest-plugin from old job gate-mogan-dsvm-tempest-plugin - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack-infra/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - cat << 'EOF' >>"/tmp/dg-local.conf" - [[local|localrc]] - enable_plugin ironic git://git.openstack.org/openstack/ironic - enable_plugin mogan git://git.openstack.org/openstack/mogan - IRONIC_TEMPEST_WHOLE_DISK_IMAGE=True - IRONIC_USE_RESOURCE_CLASSES=True - - EOF - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - export PYTHONUNBUFFERED=true - export DEVSTACK_GATE_TEMPEST=1 - export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1 - # Run only mogan tests - export DEVSTACK_GATE_TEMPEST_REGEX="^mogan\." - export DEVSTACK_GATE_IRONIC=1 - export DEVSTACK_GATE_NEUTRON=1 - export DEVSTACK_GATE_VIRT_DRIVER=ironic - export DEVSTACK_GATE_CONFIGDRIVE=1 - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=0 - export DEVSTACK_GATE_IRONIC_DRIVER=agent_ipmitool - export PROJECTS="openstack/mogan $PROJECTS" - export PROJECTS="openstack/python-moganclient $PROJECTS" - export PROJECTS="openstack/ironic $PROJECTS" - export PROJECTS="openstack/ironic-lib $PROJECTS" - export PROJECTS="openstack/ironic-python-agent $PROJECTS" - export PROJECTS="openstack/python-ironicclient $PROJECTS" - export OVERRIDE_ENABLED_SERVICES="g-api,g-reg,q-agt,q-dhcp,q-l3,q-svc,key,mysql,rabbit,ir-api,ir-cond,s-account,s-container,s-object,s-proxy,tempest" - - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/mogan-tox-functional/post.yaml b/playbooks/legacy/mogan-tox-functional/post.yaml deleted file mode 100644 index 68fbdf81..00000000 --- a/playbooks/legacy/mogan-tox-functional/post.yaml +++ /dev/null @@ -1,67 +0,0 @@ -- 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=**/*nose_results.html - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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=**/*testr_results.html.gz - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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=/.testrepository/tmp* - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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=**/*testrepository.subunit.gz - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - name: Copy files from {{ ansible_user_dir }}/workspace/ on node - synchronize: - src: '{{ ansible_user_dir }}/workspace/' - dest: '{{ zuul.executor.log_root }}/tox' - mode: pull - copy_links: true - verify_host: true - rsync_opts: - - --include=/.tox/*/log/* - - --include=*/ - - --exclude=* - - --prune-empty-dirs diff --git a/playbooks/legacy/mogan-tox-functional/run.yaml b/playbooks/legacy/mogan-tox-functional/run.yaml deleted file mode 100644 index 99b013c6..00000000 --- a/playbooks/legacy/mogan-tox-functional/run.yaml +++ /dev/null @@ -1,86 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-mogan-tox-functional from old job gate-mogan-tox-functional-ubuntu-xenial - 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: /usr/local/jenkins/slave_scripts/install-distro-packages.sh - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - if [ -x tools/test-setup.sh ] ; then - tools/test-setup.sh - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -x - sudo rm -f /etc/sudoers.d/zuul - # Prove that general sudo access is actually revoked - ! sudo -n true - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: /usr/local/jenkins/slave_scripts/run-tox.sh functional - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - OUT=`git ls-files --other --exclude-standard --directory` - if [ -z "$OUT" ]; then - echo "No extra files created during test." - exit 0 - else - echo "The following un-ignored files were created during the test:" - echo "$OUT" - exit 0 # TODO: change to 1 to fail tests. - fi - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-galera_server-ansible-ssl-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-galera_server-ansible-ssl-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-galera_server-ansible-ssl-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-galera_server-ansible-ssl-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-galera_server-ansible-ssl-centos-7/run.yaml deleted file mode 100644 index 914e03ff..00000000 --- a/playbooks/legacy/openstack-ansible-galera_server-ansible-ssl-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-galera_server-ansible-ssl-centos-7 - from old job gate-openstack-ansible-galera_server-ansible-ssl-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "ssl" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh ssl - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-galera_server-ansible-ssl/post.yaml b/playbooks/legacy/openstack-ansible-galera_server-ansible-ssl/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-galera_server-ansible-ssl/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-galera_server-ansible-ssl/run.yaml b/playbooks/legacy/openstack-ansible-galera_server-ansible-ssl/run.yaml deleted file mode 100644 index 750e554c..00000000 --- a/playbooks/legacy/openstack-ansible-galera_server-ansible-ssl/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-galera_server-ansible-ssl from - old job gate-openstack-ansible-galera_server-ansible-ssl-ubuntu-xenial-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "ssl" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh ssl - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-galera_server-ansible-upgrade-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-galera_server-ansible-upgrade-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-galera_server-ansible-upgrade-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-galera_server-ansible-upgrade-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-galera_server-ansible-upgrade-centos-7/run.yaml deleted file mode 100644 index dbe4af97..00000000 --- a/playbooks/legacy/openstack-ansible-galera_server-ansible-upgrade-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-galera_server-ansible-upgrade-centos-7 - from old job gate-openstack-ansible-galera_server-ansible-upgrade-centos-7 - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "upgrade" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh upgrade - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-galera_server-ansible-upgrade/post.yaml b/playbooks/legacy/openstack-ansible-galera_server-ansible-upgrade/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-galera_server-ansible-upgrade/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-galera_server-ansible-upgrade/run.yaml b/playbooks/legacy/openstack-ansible-galera_server-ansible-upgrade/run.yaml deleted file mode 100644 index d4dba81c..00000000 --- a/playbooks/legacy/openstack-ansible-galera_server-ansible-upgrade/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-galera_server-ansible-upgrade from - old job gate-openstack-ansible-galera_server-ansible-upgrade-ubuntu-xenial - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "upgrade" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh upgrade - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_barbican-ansible-func-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_barbican-ansible-func-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_barbican-ansible-func-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_barbican-ansible-func-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_barbican-ansible-func-centos-7/run.yaml deleted file mode 100644 index 2ff716a7..00000000 --- a/playbooks/legacy/openstack-ansible-os_barbican-ansible-func-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_barbican-ansible-func-centos-7 - from old job gate-openstack-ansible-os_barbican-ansible-func-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_barbican-ansible-func-opensuse-423/post.yaml b/playbooks/legacy/openstack-ansible-os_barbican-ansible-func-opensuse-423/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_barbican-ansible-func-opensuse-423/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_barbican-ansible-func-opensuse-423/run.yaml b/playbooks/legacy/openstack-ansible-os_barbican-ansible-func-opensuse-423/run.yaml deleted file mode 100644 index f287997b..00000000 --- a/playbooks/legacy/openstack-ansible-os_barbican-ansible-func-opensuse-423/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_barbican-ansible-func-opensuse-423 - from old job gate-openstack-ansible-os_barbican-ansible-func-opensuse-423-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi-centos-7/run.yaml deleted file mode 100644 index 7b55174b..00000000 --- a/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_ceilometer-ansible-gnocchi-centos-7 - from old job gate-openstack-ansible-os_ceilometer-ansible-gnocchi-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "gnocchi" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh gnocchi - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi-ubuntu-trusty/post.yaml b/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi-ubuntu-trusty/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi-ubuntu-trusty/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi-ubuntu-trusty/run.yaml b/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi-ubuntu-trusty/run.yaml deleted file mode 100644 index 94358c4b..00000000 --- a/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi-ubuntu-trusty/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_ceilometer-ansible-gnocchi-ubuntu-trusty - from old job gate-openstack-ansible-os_ceilometer-ansible-gnocchi-ubuntu-trusty-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "gnocchi" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh gnocchi - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi/post.yaml b/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi/run.yaml b/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi/run.yaml deleted file mode 100644 index d17d37dd..00000000 --- a/playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_ceilometer-ansible-gnocchi from - old job gate-openstack-ansible-os_ceilometer-ansible-gnocchi-ubuntu-xenial-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "gnocchi" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh gnocchi - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_cinder-ansible-upgrade/post.yaml b/playbooks/legacy/openstack-ansible-os_cinder-ansible-upgrade/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_cinder-ansible-upgrade/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_cinder-ansible-upgrade/run.yaml b/playbooks/legacy/openstack-ansible-os_cinder-ansible-upgrade/run.yaml deleted file mode 100644 index 5bfd7000..00000000 --- a/playbooks/legacy/openstack-ansible-os_cinder-ansible-upgrade/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_cinder-ansible-upgrade from - old job gate-openstack-ansible-os_cinder-ansible-upgrade-ubuntu-xenial - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "upgrade" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh upgrade - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_cloudkitty-ansible-func-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_cloudkitty-ansible-func-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_cloudkitty-ansible-func-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_cloudkitty-ansible-func-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_cloudkitty-ansible-func-centos-7/run.yaml deleted file mode 100644 index b1d7fdb2..00000000 --- a/playbooks/legacy/openstack-ansible-os_cloudkitty-ansible-func-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_cloudkitty-ansible-func-centos-7 - from old job gate-openstack-ansible-os_cloudkitty-ansible-func-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_cloudkitty-ansible-func-opensuse-423/post.yaml b/playbooks/legacy/openstack-ansible-os_cloudkitty-ansible-func-opensuse-423/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_cloudkitty-ansible-func-opensuse-423/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_cloudkitty-ansible-func-opensuse-423/run.yaml b/playbooks/legacy/openstack-ansible-os_cloudkitty-ansible-func-opensuse-423/run.yaml deleted file mode 100644 index c387b7df..00000000 --- a/playbooks/legacy/openstack-ansible-os_cloudkitty-ansible-func-opensuse-423/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_cloudkitty-ansible-func-opensuse-423 - from old job gate-openstack-ansible-os_cloudkitty-ansible-func-opensuse-423-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_glance-ansible-upgrade-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_glance-ansible-upgrade-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_glance-ansible-upgrade-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_glance-ansible-upgrade-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_glance-ansible-upgrade-centos-7/run.yaml deleted file mode 100644 index 1967df61..00000000 --- a/playbooks/legacy/openstack-ansible-os_glance-ansible-upgrade-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_glance-ansible-upgrade-centos-7 - from old job gate-openstack-ansible-os_glance-ansible-upgrade-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "upgrade" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh upgrade - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_glance-ansible-upgrade/post.yaml b/playbooks/legacy/openstack-ansible-os_glance-ansible-upgrade/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_glance-ansible-upgrade/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_glance-ansible-upgrade/run.yaml b/playbooks/legacy/openstack-ansible-os_glance-ansible-upgrade/run.yaml deleted file mode 100644 index a89b60d6..00000000 --- a/playbooks/legacy/openstack-ansible-os_glance-ansible-upgrade/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_glance-ansible-upgrade from - old job gate-openstack-ansible-os_glance-ansible-upgrade-ubuntu-xenial - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "upgrade" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh upgrade - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_ironic-ansible-func-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_ironic-ansible-func-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_ironic-ansible-func-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_ironic-ansible-func-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_ironic-ansible-func-centos-7/run.yaml deleted file mode 100644 index 7893a625..00000000 --- a/playbooks/legacy/openstack-ansible-os_ironic-ansible-func-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_ironic-ansible-func-centos-7 - from old job gate-openstack-ansible-os_ironic-ansible-func-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_ironic-ansible-func-opensuse-423/post.yaml b/playbooks/legacy/openstack-ansible-os_ironic-ansible-func-opensuse-423/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_ironic-ansible-func-opensuse-423/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_ironic-ansible-func-opensuse-423/run.yaml b/playbooks/legacy/openstack-ansible-os_ironic-ansible-func-opensuse-423/run.yaml deleted file mode 100644 index d77a808b..00000000 --- a/playbooks/legacy/openstack-ansible-os_ironic-ansible-func-opensuse-423/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_ironic-ansible-func-opensuse-423 - from old job gate-openstack-ansible-os_ironic-ansible-func-opensuse-423-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_keystone-ansible-upgrade-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_keystone-ansible-upgrade-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_keystone-ansible-upgrade-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_keystone-ansible-upgrade-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_keystone-ansible-upgrade-centos-7/run.yaml deleted file mode 100644 index adda60c2..00000000 --- a/playbooks/legacy/openstack-ansible-os_keystone-ansible-upgrade-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_keystone-ansible-upgrade-centos-7 - from old job gate-openstack-ansible-os_keystone-ansible-upgrade-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "upgrade" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh upgrade - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache-centos-7/run.yaml deleted file mode 100644 index b7d77ddd..00000000 --- a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_keystone-ansible-uw_apache-centos-7 - from old job gate-openstack-ansible-os_keystone-ansible-uw_apache-centos-7 - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "uw_apache" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh uw_apache - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache-ubuntu-trusty/post.yaml b/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache-ubuntu-trusty/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache-ubuntu-trusty/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache-ubuntu-trusty/run.yaml b/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache-ubuntu-trusty/run.yaml deleted file mode 100644 index 9a3be245..00000000 --- a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache-ubuntu-trusty/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_keystone-ansible-uw_apache-ubuntu-trusty - from old job gate-openstack-ansible-os_keystone-ansible-uw_apache-ubuntu-trusty - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "uw_apache" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh uw_apache - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache/post.yaml b/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache/run.yaml b/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache/run.yaml deleted file mode 100644 index 3361a68f..00000000 --- a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_keystone-ansible-uw_apache from - old job gate-openstack-ansible-os_keystone-ansible-uw_apache-ubuntu-xenial - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "uw_apache" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh uw_apache - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx-centos-7/run.yaml deleted file mode 100644 index 4f4f167f..00000000 --- a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_keystone-ansible-uw_nginx-centos-7 - from old job gate-openstack-ansible-os_keystone-ansible-uw_nginx-centos-7 - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "uw_nginx" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh uw_nginx - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx-ubuntu-trusty/post.yaml b/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx-ubuntu-trusty/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx-ubuntu-trusty/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx-ubuntu-trusty/run.yaml b/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx-ubuntu-trusty/run.yaml deleted file mode 100644 index 9161dbb8..00000000 --- a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx-ubuntu-trusty/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_keystone-ansible-uw_nginx-ubuntu-trusty - from old job gate-openstack-ansible-os_keystone-ansible-uw_nginx-ubuntu-trusty - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "uw_nginx" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh uw_nginx - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx/post.yaml b/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx/run.yaml b/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx/run.yaml deleted file mode 100644 index 275a0fbe..00000000 --- a/playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_keystone-ansible-uw_nginx from - old job gate-openstack-ansible-os_keystone-ansible-uw_nginx-ubuntu-xenial - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "uw_nginx" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh uw_nginx - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_magnum-ansible-func-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_magnum-ansible-func-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_magnum-ansible-func-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_magnum-ansible-func-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_magnum-ansible-func-centos-7/run.yaml deleted file mode 100644 index e64ab192..00000000 --- a/playbooks/legacy/openstack-ansible-os_magnum-ansible-func-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_magnum-ansible-func-centos-7 - from old job gate-openstack-ansible-os_magnum-ansible-func-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_magnum-ansible-func-opensuse-423/post.yaml b/playbooks/legacy/openstack-ansible-os_magnum-ansible-func-opensuse-423/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_magnum-ansible-func-opensuse-423/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_magnum-ansible-func-opensuse-423/run.yaml b/playbooks/legacy/openstack-ansible-os_magnum-ansible-func-opensuse-423/run.yaml deleted file mode 100644 index 31068c04..00000000 --- a/playbooks/legacy/openstack-ansible-os_magnum-ansible-func-opensuse-423/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_magnum-ansible-func-opensuse-423 - from old job gate-openstack-ansible-os_magnum-ansible-func-opensuse-423-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_monasca-ansible-func-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_monasca-ansible-func-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_monasca-ansible-func-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_monasca-ansible-func-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_monasca-ansible-func-centos-7/run.yaml deleted file mode 100644 index fe19c480..00000000 --- a/playbooks/legacy/openstack-ansible-os_monasca-ansible-func-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_monasca-ansible-func-centos-7 - from old job gate-openstack-ansible-os_monasca-ansible-func-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_monasca-ansible-func-opensuse-423/post.yaml b/playbooks/legacy/openstack-ansible-os_monasca-ansible-func-opensuse-423/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_monasca-ansible-func-opensuse-423/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_monasca-ansible-func-opensuse-423/run.yaml b/playbooks/legacy/openstack-ansible-os_monasca-ansible-func-opensuse-423/run.yaml deleted file mode 100644 index 15c0cd85..00000000 --- a/playbooks/legacy/openstack-ansible-os_monasca-ansible-func-opensuse-423/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_monasca-ansible-func-opensuse-423 - from old job gate-openstack-ansible-os_monasca-ansible-func-opensuse-423-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_neutron-ansible-calico/post.yaml b/playbooks/legacy/openstack-ansible-os_neutron-ansible-calico/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_neutron-ansible-calico/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_neutron-ansible-calico/run.yaml b/playbooks/legacy/openstack-ansible-os_neutron-ansible-calico/run.yaml deleted file mode 100644 index 73326c6b..00000000 --- a/playbooks/legacy/openstack-ansible-os_neutron-ansible-calico/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_neutron-ansible-calico from - old job gate-openstack-ansible-os_neutron-ansible-calico-ubuntu-xenial - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "calico" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh calico - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_neutron-ansible-func_ovs-ubuntu-trusty/post.yaml b/playbooks/legacy/openstack-ansible-os_neutron-ansible-func_ovs-ubuntu-trusty/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_neutron-ansible-func_ovs-ubuntu-trusty/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_neutron-ansible-func_ovs-ubuntu-trusty/run.yaml b/playbooks/legacy/openstack-ansible-os_neutron-ansible-func_ovs-ubuntu-trusty/run.yaml deleted file mode 100644 index f7bb564e..00000000 --- a/playbooks/legacy/openstack-ansible-os_neutron-ansible-func_ovs-ubuntu-trusty/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_neutron-ansible-func_ovs-ubuntu-trusty - from old job gate-openstack-ansible-os_neutron-ansible-func_ovs-ubuntu-trusty - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func_ovs" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func_ovs - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_neutron-ansible-func_ovs/post.yaml b/playbooks/legacy/openstack-ansible-os_neutron-ansible-func_ovs/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_neutron-ansible-func_ovs/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_neutron-ansible-func_ovs/run.yaml b/playbooks/legacy/openstack-ansible-os_neutron-ansible-func_ovs/run.yaml deleted file mode 100644 index ee3a8ae2..00000000 --- a/playbooks/legacy/openstack-ansible-os_neutron-ansible-func_ovs/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_neutron-ansible-func_ovs from - old job gate-openstack-ansible-os_neutron-ansible-func_ovs-ubuntu-xenial - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func_ovs" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func_ovs - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_neutron-ansible-upgrade/post.yaml b/playbooks/legacy/openstack-ansible-os_neutron-ansible-upgrade/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_neutron-ansible-upgrade/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_neutron-ansible-upgrade/run.yaml b/playbooks/legacy/openstack-ansible-os_neutron-ansible-upgrade/run.yaml deleted file mode 100644 index 755f1613..00000000 --- a/playbooks/legacy/openstack-ansible-os_neutron-ansible-upgrade/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_neutron-ansible-upgrade from - old job gate-openstack-ansible-os_neutron-ansible-upgrade-ubuntu-xenial - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "upgrade" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh upgrade - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_rally-ansible-func-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_rally-ansible-func-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_rally-ansible-func-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_rally-ansible-func-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_rally-ansible-func-centos-7/run.yaml deleted file mode 100644 index 720667fa..00000000 --- a/playbooks/legacy/openstack-ansible-os_rally-ansible-func-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_rally-ansible-func-centos-7 - from old job gate-openstack-ansible-os_rally-ansible-func-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_rally-ansible-func-opensuse-423/post.yaml b/playbooks/legacy/openstack-ansible-os_rally-ansible-func-opensuse-423/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_rally-ansible-func-opensuse-423/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_rally-ansible-func-opensuse-423/run.yaml b/playbooks/legacy/openstack-ansible-os_rally-ansible-func-opensuse-423/run.yaml deleted file mode 100644 index 6071156c..00000000 --- a/playbooks/legacy/openstack-ansible-os_rally-ansible-func-opensuse-423/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_rally-ansible-func-opensuse-423 - from old job gate-openstack-ansible-os_rally-ansible-func-opensuse-423-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_sahara-ansible-func-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_sahara-ansible-func-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_sahara-ansible-func-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_sahara-ansible-func-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_sahara-ansible-func-centos-7/run.yaml deleted file mode 100644 index 8a87ea52..00000000 --- a/playbooks/legacy/openstack-ansible-os_sahara-ansible-func-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_sahara-ansible-func-centos-7 - from old job gate-openstack-ansible-os_sahara-ansible-func-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_sahara-ansible-func-opensuse-423/post.yaml b/playbooks/legacy/openstack-ansible-os_sahara-ansible-func-opensuse-423/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_sahara-ansible-func-opensuse-423/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_sahara-ansible-func-opensuse-423/run.yaml b/playbooks/legacy/openstack-ansible-os_sahara-ansible-func-opensuse-423/run.yaml deleted file mode 100644 index 1cbd913a..00000000 --- a/playbooks/legacy/openstack-ansible-os_sahara-ansible-func-opensuse-423/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_sahara-ansible-func-opensuse-423 - from old job gate-openstack-ansible-os_sahara-ansible-func-opensuse-423-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_swift-ansible-func_pypy-ubuntu-trusty/post.yaml b/playbooks/legacy/openstack-ansible-os_swift-ansible-func_pypy-ubuntu-trusty/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_swift-ansible-func_pypy-ubuntu-trusty/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_swift-ansible-func_pypy-ubuntu-trusty/run.yaml b/playbooks/legacy/openstack-ansible-os_swift-ansible-func_pypy-ubuntu-trusty/run.yaml deleted file mode 100644 index 3667cf5d..00000000 --- a/playbooks/legacy/openstack-ansible-os_swift-ansible-func_pypy-ubuntu-trusty/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_swift-ansible-func_pypy-ubuntu-trusty - from old job gate-openstack-ansible-os_swift-ansible-func_pypy-ubuntu-trusty-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func_pypy" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func_pypy - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_swift-ansible-func_pypy/post.yaml b/playbooks/legacy/openstack-ansible-os_swift-ansible-func_pypy/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_swift-ansible-func_pypy/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_swift-ansible-func_pypy/run.yaml b/playbooks/legacy/openstack-ansible-os_swift-ansible-func_pypy/run.yaml deleted file mode 100644 index 5e35b6d7..00000000 --- a/playbooks/legacy/openstack-ansible-os_swift-ansible-func_pypy/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_swift-ansible-func_pypy from - old job gate-openstack-ansible-os_swift-ansible-func_pypy-ubuntu-xenial-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func_pypy" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func_pypy - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg-centos-7/run.yaml deleted file mode 100644 index 8303c09f..00000000 --- a/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_swift-ansible-multi_reg-centos-7 - from old job gate-openstack-ansible-os_swift-ansible-multi_reg-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "multi_reg" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh multi_reg - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg-ubuntu-trusty/post.yaml b/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg-ubuntu-trusty/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg-ubuntu-trusty/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg-ubuntu-trusty/run.yaml b/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg-ubuntu-trusty/run.yaml deleted file mode 100644 index 94c4fa4e..00000000 --- a/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg-ubuntu-trusty/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_swift-ansible-multi_reg-ubuntu-trusty - from old job gate-openstack-ansible-os_swift-ansible-multi_reg-ubuntu-trusty-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "multi_reg" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh multi_reg - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg/post.yaml b/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg/run.yaml b/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg/run.yaml deleted file mode 100644 index 48c06575..00000000 --- a/playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_swift-ansible-multi_reg from - old job gate-openstack-ansible-os_swift-ansible-multi_reg-ubuntu-xenial - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "multi_reg" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh multi_reg - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_swift-ansible-upgrade-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_swift-ansible-upgrade-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_swift-ansible-upgrade-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_swift-ansible-upgrade-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_swift-ansible-upgrade-centos-7/run.yaml deleted file mode 100644 index ff02c089..00000000 --- a/playbooks/legacy/openstack-ansible-os_swift-ansible-upgrade-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_swift-ansible-upgrade-centos-7 - from old job gate-openstack-ansible-os_swift-ansible-upgrade-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "upgrade" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh upgrade - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_swift-ansible-upgrade/post.yaml b/playbooks/legacy/openstack-ansible-os_swift-ansible-upgrade/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_swift-ansible-upgrade/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_swift-ansible-upgrade/run.yaml b/playbooks/legacy/openstack-ansible-os_swift-ansible-upgrade/run.yaml deleted file mode 100644 index e63600fb..00000000 --- a/playbooks/legacy/openstack-ansible-os_swift-ansible-upgrade/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_swift-ansible-upgrade from old - job gate-openstack-ansible-os_swift-ansible-upgrade-ubuntu-xenial - 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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "upgrade" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh upgrade - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_trove-ansible-func-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_trove-ansible-func-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_trove-ansible-func-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_trove-ansible-func-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_trove-ansible-func-centos-7/run.yaml deleted file mode 100644 index 3eb9d21f..00000000 --- a/playbooks/legacy/openstack-ansible-os_trove-ansible-func-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_trove-ansible-func-centos-7 - from old job gate-openstack-ansible-os_trove-ansible-func-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_trove-ansible-func-opensuse-423/post.yaml b/playbooks/legacy/openstack-ansible-os_trove-ansible-func-opensuse-423/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_trove-ansible-func-opensuse-423/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_trove-ansible-func-opensuse-423/run.yaml b/playbooks/legacy/openstack-ansible-os_trove-ansible-func-opensuse-423/run.yaml deleted file mode 100644 index f4a9d9ac..00000000 --- a/playbooks/legacy/openstack-ansible-os_trove-ansible-func-opensuse-423/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_trove-ansible-func-opensuse-423 - from old job gate-openstack-ansible-os_trove-ansible-func-opensuse-423-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_watcher-ansible-func-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_watcher-ansible-func-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_watcher-ansible-func-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_watcher-ansible-func-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_watcher-ansible-func-centos-7/run.yaml deleted file mode 100644 index 1e68de3f..00000000 --- a/playbooks/legacy/openstack-ansible-os_watcher-ansible-func-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_watcher-ansible-func-centos-7 - from old job gate-openstack-ansible-os_watcher-ansible-func-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_watcher-ansible-func-opensuse-423/post.yaml b/playbooks/legacy/openstack-ansible-os_watcher-ansible-func-opensuse-423/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_watcher-ansible-func-opensuse-423/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_watcher-ansible-func-opensuse-423/run.yaml b/playbooks/legacy/openstack-ansible-os_watcher-ansible-func-opensuse-423/run.yaml deleted file mode 100644 index 2974f821..00000000 --- a/playbooks/legacy/openstack-ansible-os_watcher-ansible-func-opensuse-423/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_watcher-ansible-func-opensuse-423 - from old job gate-openstack-ansible-os_watcher-ansible-func-opensuse-423-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_zaqar-ansible-func-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-os_zaqar-ansible-func-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_zaqar-ansible-func-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_zaqar-ansible-func-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-os_zaqar-ansible-func-centos-7/run.yaml deleted file mode 100644 index 6ce7a87e..00000000 --- a/playbooks/legacy/openstack-ansible-os_zaqar-ansible-func-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_zaqar-ansible-func-centos-7 - from old job gate-openstack-ansible-os_zaqar-ansible-func-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-os_zaqar-ansible-func-opensuse-423/post.yaml b/playbooks/legacy/openstack-ansible-os_zaqar-ansible-func-opensuse-423/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-os_zaqar-ansible-func-opensuse-423/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-os_zaqar-ansible-func-opensuse-423/run.yaml b/playbooks/legacy/openstack-ansible-os_zaqar-ansible-func-opensuse-423/run.yaml deleted file mode 100644 index a2e76fb7..00000000 --- a/playbooks/legacy/openstack-ansible-os_zaqar-ansible-func-opensuse-423/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-os_zaqar-ansible-func-opensuse-423 - from old job gate-openstack-ansible-os_zaqar-ansible-func-opensuse-423-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-pip_lock_down-ansible-func-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-pip_lock_down-ansible-func-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-pip_lock_down-ansible-func-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-pip_lock_down-ansible-func-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-pip_lock_down-ansible-func-centos-7/run.yaml deleted file mode 100644 index 49cd8f12..00000000 --- a/playbooks/legacy/openstack-ansible-pip_lock_down-ansible-func-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-pip_lock_down-ansible-func-centos-7 - from old job gate-openstack-ansible-pip_lock_down-ansible-func-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-plugins-ansible-func_py3-centos-7/post.yaml b/playbooks/legacy/openstack-ansible-plugins-ansible-func_py3-centos-7/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-plugins-ansible-func_py3-centos-7/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-plugins-ansible-func_py3-centos-7/run.yaml b/playbooks/legacy/openstack-ansible-plugins-ansible-func_py3-centos-7/run.yaml deleted file mode 100644 index 96b2213d..00000000 --- a/playbooks/legacy/openstack-ansible-plugins-ansible-func_py3-centos-7/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-plugins-ansible-func_py3-centos-7 - from old job gate-openstack-ansible-plugins-ansible-func_py3-centos-7-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func_py3" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func_py3 - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/openstack-ansible-plugins-ansible-func_py3/post.yaml b/playbooks/legacy/openstack-ansible-plugins-ansible-func_py3/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/openstack-ansible-plugins-ansible-func_py3/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/openstack-ansible-plugins-ansible-func_py3/run.yaml b/playbooks/legacy/openstack-ansible-plugins-ansible-func_py3/run.yaml deleted file mode 100644 index 2aa61835..00000000 --- a/playbooks/legacy/openstack-ansible-plugins-ansible-func_py3/run.yaml +++ /dev/null @@ -1,101 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-openstack-ansible-plugins-ansible-func_py3 from old - job gate-openstack-ansible-plugins-ansible-func_py3-ubuntu-xenial-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: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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 openstack/$ZUUL_SHORT_PROJECT_NAME openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "openstack/$ZUUL_SHORT_PROJECT_NAME" != "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: | - # NOTE(mhayden): The CentOS CI image has many repositories enabled by - # default that can cause package conflicts. We must disable all of - # them here and only enable base, updates, and epel. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable \* >/dev/null - sudo yum-config-manager --enable base >/dev/null - sudo yum-config-manager --enable epel >/dev/null - sudo yum-config-manager --enable updates >/dev/null - fi - 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: | - # NOTE(mhayden): EPEL is no longer required after installing distro - # packages with bindep. Individual roles may re-enable EPEL if they - # need it for their package installation tasks. - # We also do not want to run this on Fedora. - if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then - sudo yum-config-manager --disable epel >/dev/null - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Allow Jenkins user to ssh into localhost - ssh-keygen -f ~/.ssh/id_rsa -N "" - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan localhost >> ~/.ssh/known_hosts - ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Many of the Ansible roles have a tox environment - # called 'functional', so we implement a mapping - # of the scenario 'func' to 'functional' so reduce - # the need for code churn in those repositories - # immediately. - if [ "func_py3" == "func" ]; then - /usr/local/jenkins/slave_scripts/run-tox.sh functional - else - /usr/local/jenkins/slave_scripts/run-tox.sh func_py3 - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/rally-dsvm-watcher-watcher/post.yaml b/playbooks/legacy/rally-dsvm-watcher-watcher/post.yaml deleted file mode 100644 index 4c699fc1..00000000 --- a/playbooks/legacy/rally-dsvm-watcher-watcher/post.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- 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 - - - 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=/rally-plot/** - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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=/rally-plot/extra/index.html - - --include=*/ - - --exclude=* - - --prune-empty-dirs diff --git a/playbooks/legacy/rally-dsvm-watcher-watcher/run.yaml b/playbooks/legacy/rally-dsvm-watcher-watcher/run.yaml deleted file mode 100644 index f85413d2..00000000 --- a/playbooks/legacy/rally-dsvm-watcher-watcher/run.yaml +++ /dev/null @@ -1,175 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-rally-dsvm-watcher-watcher from old job gate-rally-dsvm-watcher-watcher-ubuntu-xenial-nv - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack-infra/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - if [ $ZUUL_PROJECT == "openstack/rally" ] && [ $ZUUL_BRANCH != "master" ]; then - export DEVSTACK_GATE_FEATURE_MATRIX="/opt/stack/new/rally/devstack/features.yaml" - fi - - export PROJECTS="openstack/rally $PROJECTS" - - export DEVSTACK_GATE_NEUTRON=1 - export DEVSTACK_GATE_HORIZON=1 - export DEVSTACK_GATE_NEUTRON_EXTENSIONS=0 - export DEVSTACK_GATE_IRONIC=0 - export DEVSTACK_GATE_ZAQAR=0 - export DEVSTACK_GATE_SENLIN=0 - export DEVSTACK_GATE_WATCHER=1 - export DEVSTACK_GATE_MAGNUM=0 - export DEVSTACK_GATE_HEAT=0 - export DEVSTACK_GATE_SWIFT=0 - export DEVSTACK_GATE_TELEMETRY=0 - export DEVSTACK_GATE_TEMPEST_LARGE_OPS=0 - export DEVSTACK_GATE_EXERCISES=0 - export DEVSTACK_GATE_PREPOPULATE_USERS=0 - - export DEVSTACK_GATE_USE_PYTHON3=False - export USE_KEYSTONE_V2API=0 - export RALLY_SCENARIO=$ZUUL_SHORT_PROJECT_NAME-watcher - - if [ $USE_KEYSTONE_V2API -eq 1 ]; then - export IDENTITY_API_VERSION=2.0 - else - export IDENTITY_API_VERSION=3 - fi - - DEVSTACK_LOCAL_CONFIG="enable_plugin rally git://git.openstack.org/openstack/rally" - DEVSTACK_LOCAL_CONFIG+=$'\n'"CINDER_ENABLE_V1_API=True" - DEVSTACK_LOCAL_CONFIG+=$'\n'"IDENTITY_API_VERSION=$IDENTITY_API_VERSION" - - ENABLED_SERVICES=key,horizon, - ENABLED_SERVICES+=cinder,c-api,c-vol,c-sch,c-bak, - ENABLED_SERVICES+=g-api,g-reg, - ENABLED_SERVICES+=n-api,n-crt,n-cpu,n-sch,n-cond, - ENABLED_SERVICES+=q-qos, - - if [ $DEVSTACK_GATE_SWIFT -eq 1 ]; - then - ENABLED_SERVICES+=s-proxy,s-account,s-container,s-object, - else - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-account" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-container" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-object" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-proxy" - fi - - if [ $DEVSTACK_GATE_HEAT -ne 0 ]; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin heat https://git.openstack.org/openstack/heat" - fi - - export PROJECTS="openstack/neutron $PROJECTS" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin neutron git://git.openstack.org/openstack/neutron" - if [ $DEVSTACK_GATE_NEUTRON_EXTENSIONS -ne 0 ]; then - export PROJECTS="openstack/neutron-lbaas $PROJECTS" - export PROJECTS="openstack/octavia $PROJECTS" - export PROJECTS="openstack/neutron-fwaas $PROJECTS" - export PROJECTS="openstack/diskimage-builder $PROJECTS" - export PROJECTS="openstack/tripleo-image-elements $PROJECTS" - export PROJECTS="openstack/neutron-vpnaas $PROJECTS" - export PROJECTS="openstack/networking-bgpvpn $PROJECTS" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin neutron-lbaas git://git.openstack.org/openstack/neutron-lbaas" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin octavia https://git.openstack.org/openstack/octavia" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin neutron-fwaas https://git.openstack.org/openstack/neutron-fwaas" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin neutron-vpnaas https://git.openstack.org/openstack/neutron-vpnaas" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin networking-bgpvpn https://git.openstack.org/openstack/networking-bgpvpn.git" - export ENABLED_SERVICES+=q-lbaasv2,octavia,o-cw,o-hk,o-hm,o-api,q-fwaas,q-svc,q-agt,q-dhcp,q-l3,q-meta, - fi - if [ $DEVSTACK_GATE_IRONIC -ne 0 ]; then - export PROJECTS="openstack/ironic $PROJECTS" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ironic git://git.openstack.org/openstack/ironic" - fi - if [ $DEVSTACK_GATE_ZAQAR -ne 0 ]; then - export PROJECTS="openstack/python-zaqarclient $PROJECTS" - export PROJECTS="openstack/zaqar-ui $PROJECTS" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin zaqar git://git.openstack.org/openstack/zaqar" - fi - if [ $DEVSTACK_GATE_SENLIN -ne 0 ]; then - export PROJECTS="openstack/senlin $PROJECTS" - export PROJECTS="openstack/python-senlinclient $PROJECTS" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin senlin git://git.openstack.org/openstack/senlin" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_service sl-api sl-eng" - fi - if [ $DEVSTACK_GATE_WATCHER -ne 0 ]; then - export PROJECTS="openstack/watcher $PROJECTS" - export PROJECTS="openstack/python-watcherclient $PROJECTS" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin watcher git://git.openstack.org/openstack/watcher" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_service watcher-api watcher-decision-engine watcher-applier" - fi - if [ $DEVSTACK_GATE_MAGNUM -ne 0 ]||[ $RALLY_SCENARIO = "magnum" ]; then - export PROJECTS="openstack/magnum $PROJECTS" - export PROJECTS="openstack/python-magnumclient $PROJECTS" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin magnum https://git.openstack.org/openstack/magnum" - fi - if [ $DEVSTACK_GATE_TELEMETRY -ne 0 ]; then - export PROJECTS="openstack/panko $PROJECTS" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin panko git://git.openstack.org/openstack/panko" - export ENABLED_SERVICES+=panko-api, - export PROJECTS="openstack/ceilometer $PROJECTS" - export PROJECTS="openstack/aodh $PROJECTS" - export PROJECTS="openstack/gnocchi $PROJECTS" - - export CEILOMETER_NOTIFICATION_TOPICS=notifications,profiler - - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin aodh git://git.openstack.org/openstack/aodh" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin gnocchi git://git.openstack.org/openstack/gnocchi" - export ENABLED_SERVICES+=ceilometer-acompute,ceilometer-acentral,ceilometer-api, - export ENABLED_SERVICES+=ceilometer-anotification,ceilometer-collector, - export ENABLED_SERVICES+=aodh-api,aodh-evaluator,aodh-notifier, - fi - export ENABLED_SERVICES - export DEVSTACK_LOCAL_CONFIG - - if [[ "$ZUUL_PROJECT" = "openstack/neutron" ]]; then - function gate_hook { - bash -xe $BASE/new/neutron/neutron/tests/contrib/gate_hook.sh rally $ZUUL_SHORT_PROJECT_NAME-watcher - } - export -f gate_hook - fi - - function post_test_hook { - $BASE/new/rally/tests/ci/rally-gate.sh - } - export -f post_test_hook - - if [[ "$DEVSTACK_GATE_USE_PYTHON3" = "True" ]]; then - # Switch off glance->swift communication as swift fails under py3.x - function pre_test_hook { - local localconf=$BASE/new/devstack/local.conf - echo "[[post-config|\$GLANCE_API_CONF]]" >> $localconf - echo "[glance_store]" >> $localconf - echo "default_store=file" >> $localconf - } - export -f pre_test_hook - fi - - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/tempest-dsvm-ironic-bfv/post.yaml b/playbooks/legacy/tempest-dsvm-ironic-bfv/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-bfv/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/tempest-dsvm-ironic-bfv/run.yaml b/playbooks/legacy/tempest-dsvm-ironic-bfv/run.yaml deleted file mode 100644 index 33d323d3..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-bfv/run.yaml +++ /dev/null @@ -1,169 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-tempest-dsvm-ironic-bfv from old job gate-tempest-dsvm-ironic-bfv-ubuntu-xenial - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack-infra/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEPLOY_DRIVER_ISCSI_WITH_IPA=True" - # Standardize VM size for each supported ramdisk - case "tinyipa" in - 'tinyipa') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=384" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'tinyipa256') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=256" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'coreos') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=1280" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=coreos" - ;; - # if using a ramdisk without a known good value, use the devstack - # default by not exporting any value for IRONIC_VM_SPECS_RAM - esac - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_GATE_TEMPEST_REGEX="baremetal_boot_from_volume" - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-vars-early - # use tempest plugin - if [[ "$ZUUL_BRANCH" != "master" ]] ; then - # NOTE(jroll) if this is not a patch against master, then - # fetch master to install the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' git+git://git.openstack.org/openstack/ironic'" - else - # on master, use the local change, so we can pick up any changes to the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' /opt/stack/new/ironic'" - fi - export TEMPEST_CONCURRENCY=1 - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_STORAGE_INTERFACES=cinder,noop" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_STORAGE_INTERFACE=cinder" - # We have to enable cinder this way, as normally when - # DEVSTACK_GATE_IRONIC=1 it disables all the cinder services. - export ENABLED_SERVICES=cinder,c-sch,c-api,c-vol - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - export PROJECTS="openstack/ironic $PROJECTS" - export PROJECTS="openstack/ironic-lib $PROJECTS" - export PROJECTS="openstack/ironic-python-agent $PROJECTS" - export PROJECTS="openstack/python-ironicclient $PROJECTS" - export PROJECTS="openstack/pyghmi $PROJECTS" - export PROJECTS="openstack/virtualbmc $PROJECTS" - export PYTHONUNBUFFERED=true - export DEVSTACK_GATE_TEMPEST=1 - export DEVSTACK_GATE_IRONIC=1 - export DEVSTACK_GATE_NEUTRON=1 - export DEVSTACK_GATE_VIRT_DRIVER=ironic - export DEVSTACK_GATE_CONFIGDRIVE=1 - export DEVSTACK_GATE_IRONIC_DRIVER=agent_ipmitool - export BRANCH_OVERRIDE=default - if [ "$BRANCH_OVERRIDE" != "default" ] ; then - export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE - fi - - if [[ ! "stable/newton stable/ocata stable/pike" =~ $ZUUL_BRANCH ]] ; then - export DEVSTACK_GATE_TLSPROXY=1 - fi - - if [ "agent_ipmitool" == "pxe_snmp" ] ; then - # explicitly enable pxe_snmp driver - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_DRIVERS=fake,pxe_snmp" - fi - - if [ "agent_ipmitool" == "redfish" ] ; then - # When deploying with redfish we need to enable the "redfish" - # hardware type - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_HARDWARE_TYPES=redfish" - fi - - if [ "wholedisk" == "wholedisk" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=0" - else - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=False" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=1" - fi - - if [ -n "" ] ; then - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=1 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"USE_SUBNETPOOL=False" - else - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=0 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=False" - fi - - if [ "bios" == "uefi" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_BOOT_MODE=uefi" - fi - - export DEVSTACK_PROJECT_FROM_GIT="" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_COUNT=3" - - # Ensure the ironic-vars-EARLY file exists - touch ironic-vars-early - # Pull in the EARLY variables injected by the optional builders - source ironic-vars-early - - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ironic git://git.openstack.org/openstack/ironic" - - # Ensure the ironic-EXTRA-vars file exists - touch ironic-extra-vars - # Pull in the EXTRA variables injected by the optional builders - source ironic-extra-vars - - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/tempest-dsvm-ironic-ipa-partition-redfish-tinyipa/post.yaml b/playbooks/legacy/tempest-dsvm-ironic-ipa-partition-redfish-tinyipa/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-ipa-partition-redfish-tinyipa/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/tempest-dsvm-ironic-ipa-partition-redfish-tinyipa/run.yaml b/playbooks/legacy/tempest-dsvm-ironic-ipa-partition-redfish-tinyipa/run.yaml deleted file mode 100644 index a1f35af2..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-ipa-partition-redfish-tinyipa/run.yaml +++ /dev/null @@ -1,157 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-tempest-dsvm-ironic-ipa-partition-redfish-tinyipa - from old job gate-tempest-dsvm-ironic-ipa-partition-redfish-tinyipa-ubuntu-xenial - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack-infra/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEPLOY_DRIVER_ISCSI_WITH_IPA=True" - # Standardize VM size for each supported ramdisk - case "tinyipa" in - 'tinyipa') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=384" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'tinyipa256') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=256" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'coreos') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=1280" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=coreos" - ;; - # if using a ramdisk without a known good value, use the devstack - # default by not exporting any value for IRONIC_VM_SPECS_RAM - esac - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_GATE_TEMPEST_REGEX="ironic" - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-vars-early - # use tempest plugin - if [[ "$ZUUL_BRANCH" != "master" ]] ; then - # NOTE(jroll) if this is not a patch against master, then - # fetch master to install the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' git+git://git.openstack.org/openstack/ironic'" - else - # on master, use the local change, so we can pick up any changes to the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' /opt/stack/new/ironic'" - fi - export TEMPEST_CONCURRENCY=1 - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - export PROJECTS="openstack/ironic $PROJECTS" - export PROJECTS="openstack/ironic-lib $PROJECTS" - export PROJECTS="openstack/ironic-python-agent $PROJECTS" - export PROJECTS="openstack/python-ironicclient $PROJECTS" - export PROJECTS="openstack/pyghmi $PROJECTS" - export PROJECTS="openstack/virtualbmc $PROJECTS" - export PYTHONUNBUFFERED=true - export DEVSTACK_GATE_TEMPEST=1 - export DEVSTACK_GATE_IRONIC=1 - export DEVSTACK_GATE_NEUTRON=1 - export DEVSTACK_GATE_VIRT_DRIVER=ironic - export DEVSTACK_GATE_CONFIGDRIVE=1 - export DEVSTACK_GATE_IRONIC_DRIVER=redfish - export BRANCH_OVERRIDE=default - if [ "$BRANCH_OVERRIDE" != "default" ] ; then - export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE - fi - - if [[ ! "stable/newton stable/ocata stable/pike" =~ $ZUUL_BRANCH ]] ; then - export DEVSTACK_GATE_TLSPROXY=1 - fi - - if [ "redfish" == "pxe_snmp" ] ; then - # explicitly enable pxe_snmp driver - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_DRIVERS=fake,pxe_snmp" - fi - - if [ "redfish" == "redfish" ] ; then - # When deploying with redfish we need to enable the "redfish" - # hardware type - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_HARDWARE_TYPES=redfish" - fi - - if [ "partition" == "wholedisk" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=0" - else - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=False" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=1" - fi - - if [ -n "" ] ; then - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=1 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"USE_SUBNETPOOL=False" - else - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=0 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=False" - fi - - if [ "bios" == "uefi" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_BOOT_MODE=uefi" - fi - - export DEVSTACK_PROJECT_FROM_GIT="" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_COUNT=1" - - # Ensure the ironic-vars-EARLY file exists - touch ironic-vars-early - # Pull in the EARLY variables injected by the optional builders - source ironic-vars-early - - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ironic git://git.openstack.org/openstack/ironic" - - # Ensure the ironic-EXTRA-vars file exists - touch ironic-extra-vars - # Pull in the EXTRA variables injected by the optional builders - source ironic-extra-vars - - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/tempest-dsvm-ironic-ipa-partition-uefi-pxe_ipmitool-tinyipa/post.yaml b/playbooks/legacy/tempest-dsvm-ironic-ipa-partition-uefi-pxe_ipmitool-tinyipa/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-ipa-partition-uefi-pxe_ipmitool-tinyipa/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/tempest-dsvm-ironic-ipa-partition-uefi-pxe_ipmitool-tinyipa/run.yaml b/playbooks/legacy/tempest-dsvm-ironic-ipa-partition-uefi-pxe_ipmitool-tinyipa/run.yaml deleted file mode 100644 index 60c15827..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-ipa-partition-uefi-pxe_ipmitool-tinyipa/run.yaml +++ /dev/null @@ -1,157 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-tempest-dsvm-ironic-ipa-partition-uefi-pxe_ipmitool-tinyipa - from old job gate-tempest-dsvm-ironic-ipa-partition-uefi-pxe_ipmitool-tinyipa-ubuntu-xenial - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack-infra/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEPLOY_DRIVER_ISCSI_WITH_IPA=True" - # Standardize VM size for each supported ramdisk - case "tinyipa" in - 'tinyipa') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=384" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'tinyipa256') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=256" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'coreos') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=1280" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=coreos" - ;; - # if using a ramdisk without a known good value, use the devstack - # default by not exporting any value for IRONIC_VM_SPECS_RAM - esac - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_GATE_TEMPEST_REGEX="ironic" - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-vars-early - # use tempest plugin - if [[ "$ZUUL_BRANCH" != "master" ]] ; then - # NOTE(jroll) if this is not a patch against master, then - # fetch master to install the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' git+git://git.openstack.org/openstack/ironic'" - else - # on master, use the local change, so we can pick up any changes to the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' /opt/stack/new/ironic'" - fi - export TEMPEST_CONCURRENCY=1 - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - export PROJECTS="openstack/ironic $PROJECTS" - export PROJECTS="openstack/ironic-lib $PROJECTS" - export PROJECTS="openstack/ironic-python-agent $PROJECTS" - export PROJECTS="openstack/python-ironicclient $PROJECTS" - export PROJECTS="openstack/pyghmi $PROJECTS" - export PROJECTS="openstack/virtualbmc $PROJECTS" - export PYTHONUNBUFFERED=true - export DEVSTACK_GATE_TEMPEST=1 - export DEVSTACK_GATE_IRONIC=1 - export DEVSTACK_GATE_NEUTRON=1 - export DEVSTACK_GATE_VIRT_DRIVER=ironic - export DEVSTACK_GATE_CONFIGDRIVE=1 - export DEVSTACK_GATE_IRONIC_DRIVER=pxe_ipmitool - export BRANCH_OVERRIDE=default - if [ "$BRANCH_OVERRIDE" != "default" ] ; then - export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE - fi - - if [[ ! "stable/newton stable/ocata stable/pike" =~ $ZUUL_BRANCH ]] ; then - export DEVSTACK_GATE_TLSPROXY=1 - fi - - if [ "pxe_ipmitool" == "pxe_snmp" ] ; then - # explicitly enable pxe_snmp driver - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_DRIVERS=fake,pxe_snmp" - fi - - if [ "pxe_ipmitool" == "redfish" ] ; then - # When deploying with redfish we need to enable the "redfish" - # hardware type - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_HARDWARE_TYPES=redfish" - fi - - if [ "partition" == "wholedisk" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=0" - else - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=False" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=1" - fi - - if [ -n "" ] ; then - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=1 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"USE_SUBNETPOOL=False" - else - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=0 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=False" - fi - - if [ "uefi" == "uefi" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_BOOT_MODE=uefi" - fi - - export DEVSTACK_PROJECT_FROM_GIT="" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_COUNT=1" - - # Ensure the ironic-vars-EARLY file exists - touch ironic-vars-early - # Pull in the EARLY variables injected by the optional builders - source ironic-vars-early - - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ironic git://git.openstack.org/openstack/ironic" - - # Ensure the ironic-EXTRA-vars file exists - touch ironic-extra-vars - # Pull in the EXTRA variables injected by the optional builders - source ironic-extra-vars - - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/tempest-dsvm-ironic-ipa-resourceclasses-partition-pxe_ipmitool-tinyipa/post.yaml b/playbooks/legacy/tempest-dsvm-ironic-ipa-resourceclasses-partition-pxe_ipmitool-tinyipa/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-ipa-resourceclasses-partition-pxe_ipmitool-tinyipa/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/tempest-dsvm-ironic-ipa-resourceclasses-partition-pxe_ipmitool-tinyipa/run.yaml b/playbooks/legacy/tempest-dsvm-ironic-ipa-resourceclasses-partition-pxe_ipmitool-tinyipa/run.yaml deleted file mode 100644 index 64e97000..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-ipa-resourceclasses-partition-pxe_ipmitool-tinyipa/run.yaml +++ /dev/null @@ -1,166 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-tempest-dsvm-ironic-ipa-resourceclasses-partition-pxe_ipmitool-tinyipa - from old job gate-tempest-dsvm-ironic-ipa-resourceclasses-partition-pxe_ipmitool-tinyipa-ubuntu-xenial-nv - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack-infra/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_USE_RESOURCE_CLASSES=True" - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEPLOY_DRIVER_ISCSI_WITH_IPA=True" - # Standardize VM size for each supported ramdisk - case "tinyipa" in - 'tinyipa') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=384" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'tinyipa256') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=256" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'coreos') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=1280" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=coreos" - ;; - # if using a ramdisk without a known good value, use the devstack - # default by not exporting any value for IRONIC_VM_SPECS_RAM - esac - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_GATE_TEMPEST_REGEX="ironic" - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-vars-early - # use tempest plugin - if [[ "$ZUUL_BRANCH" != "master" ]] ; then - # NOTE(jroll) if this is not a patch against master, then - # fetch master to install the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' git+git://git.openstack.org/openstack/ironic'" - else - # on master, use the local change, so we can pick up any changes to the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' /opt/stack/new/ironic'" - fi - export TEMPEST_CONCURRENCY=1 - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - export PROJECTS="openstack/ironic $PROJECTS" - export PROJECTS="openstack/ironic-lib $PROJECTS" - export PROJECTS="openstack/ironic-python-agent $PROJECTS" - export PROJECTS="openstack/python-ironicclient $PROJECTS" - export PROJECTS="openstack/pyghmi $PROJECTS" - export PROJECTS="openstack/virtualbmc $PROJECTS" - export PYTHONUNBUFFERED=true - export DEVSTACK_GATE_TEMPEST=1 - export DEVSTACK_GATE_IRONIC=1 - export DEVSTACK_GATE_NEUTRON=1 - export DEVSTACK_GATE_VIRT_DRIVER=ironic - export DEVSTACK_GATE_CONFIGDRIVE=1 - export DEVSTACK_GATE_IRONIC_DRIVER=pxe_ipmitool - export BRANCH_OVERRIDE=default - if [ "$BRANCH_OVERRIDE" != "default" ] ; then - export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE - fi - - if [[ ! "stable/newton stable/ocata stable/pike" =~ $ZUUL_BRANCH ]] ; then - export DEVSTACK_GATE_TLSPROXY=1 - fi - - if [ "pxe_ipmitool" == "pxe_snmp" ] ; then - # explicitly enable pxe_snmp driver - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_DRIVERS=fake,pxe_snmp" - fi - - if [ "pxe_ipmitool" == "redfish" ] ; then - # When deploying with redfish we need to enable the "redfish" - # hardware type - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_HARDWARE_TYPES=redfish" - fi - - if [ "partition" == "wholedisk" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=0" - else - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=False" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=1" - fi - - if [ -n "" ] ; then - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=1 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"USE_SUBNETPOOL=False" - else - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=0 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=False" - fi - - if [ "bios" == "uefi" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_BOOT_MODE=uefi" - fi - - export DEVSTACK_PROJECT_FROM_GIT="" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_COUNT=2" - - # Ensure the ironic-vars-EARLY file exists - touch ironic-vars-early - # Pull in the EARLY variables injected by the optional builders - source ironic-vars-early - - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ironic git://git.openstack.org/openstack/ironic" - - # Ensure the ironic-EXTRA-vars file exists - touch ironic-extra-vars - # Pull in the EXTRA variables injected by the optional builders - source ironic-extra-vars - - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-tinyipa-multinode/post.yaml b/playbooks/legacy/tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-tinyipa-multinode/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-tinyipa-multinode/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-tinyipa-multinode/run.yaml b/playbooks/legacy/tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-tinyipa-multinode/run.yaml deleted file mode 100644 index 4def3ef8..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-tinyipa-multinode/run.yaml +++ /dev/null @@ -1,183 +0,0 @@ -- hosts: primary - name: Autoconverted job legacy-tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-tinyipa-multinode - from old job gate-tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-tinyipa-multinode-ubuntu-xenial-nv - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack-infra/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEPLOY_DRIVER_ISCSI_WITH_IPA=True" - # Standardize VM size for each supported ramdisk - case "tinyipa" in - 'tinyipa') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=384" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'tinyipa256') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=256" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'coreos') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=1280" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=coreos" - ;; - # if using a ramdisk without a known good value, use the devstack - # default by not exporting any value for IRONIC_VM_SPECS_RAM - esac - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_GATE_TOPOLOGY="multinode" - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_GATE_OS_TEST_TIMEOUT=2400 - # networking-generic-switch requires sudo to execute ovs-vsctl commands - export DEVSTACK_GATE_REMOVE_STACK_SUDO=0 - export PROJECTS="openstack/networking-generic-switch $PROJECTS" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin networking-generic-switch git://git.openstack.org/openstack/networking-generic-switch" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_USE_LINK_LOCAL=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"OVS_PHYSICAL_BRIDGE=brbm" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"PHYSICAL_NETWORK=mynetwork" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_PROVISION_NETWORK_NAME=ironic-provision" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_PROVISION_SUBNET_PREFIX=10.0.5.0/24" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_PROVISION_SUBNET_GATEWAY=10.0.5.1" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_PLUGIN=ml2" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_USE_PROVIDERNET_FOR_PUBLIC=False" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"ENABLE_TENANT_VLANS=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_ML2_TENANT_NETWORK_TYPE=vlan" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TENANT_VLAN_RANGE=100:150" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_NETWORK_INTERFACES=flat,neutron" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_NETWORK_INTERFACE=neutron" - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-vars-early - # use tempest plugin - if [[ "$ZUUL_BRANCH" != "master" ]] ; then - # NOTE(jroll) if this is not a patch against master, then - # fetch master to install the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' git+git://git.openstack.org/openstack/ironic'" - else - # on master, use the local change, so we can pick up any changes to the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' /opt/stack/new/ironic'" - fi - export TEMPEST_CONCURRENCY=4 - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - export PROJECTS="openstack/ironic $PROJECTS" - export PROJECTS="openstack/ironic-lib $PROJECTS" - export PROJECTS="openstack/ironic-python-agent $PROJECTS" - export PROJECTS="openstack/python-ironicclient $PROJECTS" - export PROJECTS="openstack/pyghmi $PROJECTS" - export PROJECTS="openstack/virtualbmc $PROJECTS" - export PYTHONUNBUFFERED=true - export DEVSTACK_GATE_TEMPEST=1 - export DEVSTACK_GATE_IRONIC=1 - export DEVSTACK_GATE_NEUTRON=1 - export DEVSTACK_GATE_VIRT_DRIVER=ironic - export DEVSTACK_GATE_CONFIGDRIVE=1 - export DEVSTACK_GATE_IRONIC_DRIVER=agent_ipmitool - export BRANCH_OVERRIDE=default - if [ "$BRANCH_OVERRIDE" != "default" ] ; then - export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE - fi - - if [[ ! "stable/newton stable/ocata stable/pike" =~ $ZUUL_BRANCH ]] ; then - export DEVSTACK_GATE_TLSPROXY=1 - fi - - if [ "agent_ipmitool" == "pxe_snmp" ] ; then - # explicitly enable pxe_snmp driver - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_DRIVERS=fake,pxe_snmp" - fi - - if [ "agent_ipmitool" == "redfish" ] ; then - # When deploying with redfish we need to enable the "redfish" - # hardware type - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_HARDWARE_TYPES=redfish" - fi - - if [ "wholedisk" == "wholedisk" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=0" - else - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=False" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=1" - fi - - if [ -n "" ] ; then - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=1 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"USE_SUBNETPOOL=False" - else - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=0 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=False" - fi - - if [ "bios" == "uefi" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_BOOT_MODE=uefi" - fi - - export DEVSTACK_PROJECT_FROM_GIT="" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_COUNT=7" - - # Ensure the ironic-vars-EARLY file exists - touch ironic-vars-early - # Pull in the EARLY variables injected by the optional builders - source ironic-vars-early - - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ironic git://git.openstack.org/openstack/ironic" - - # Ensure the ironic-EXTRA-vars file exists - touch ironic-extra-vars - # Pull in the EXTRA variables injected by the optional builders - source ironic-extra-vars - - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/tempest-dsvm-ironic-multitenant-network/post.yaml b/playbooks/legacy/tempest-dsvm-ironic-multitenant-network/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-multitenant-network/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/tempest-dsvm-ironic-multitenant-network/run.yaml b/playbooks/legacy/tempest-dsvm-ironic-multitenant-network/run.yaml deleted file mode 100644 index 18581e21..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-multitenant-network/run.yaml +++ /dev/null @@ -1,183 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-tempest-dsvm-ironic-multitenant-network from old - job gate-tempest-dsvm-ironic-multitenant-network-ubuntu-xenial - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack-infra/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEPLOY_DRIVER_ISCSI_WITH_IPA=True" - # Standardize VM size for each supported ramdisk - case "tinyipa" in - 'tinyipa') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=384" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'tinyipa256') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=256" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'coreos') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=1280" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=coreos" - ;; - # if using a ramdisk without a known good value, use the devstack - # default by not exporting any value for IRONIC_VM_SPECS_RAM - esac - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_GATE_TEMPEST_REGEX="baremetal_multitenancy" - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_GATE_OS_TEST_TIMEOUT=2400 - # networking-generic-switch requires sudo to execute ovs-vsctl commands - export DEVSTACK_GATE_REMOVE_STACK_SUDO=0 - export PROJECTS="openstack/networking-generic-switch $PROJECTS" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin networking-generic-switch git://git.openstack.org/openstack/networking-generic-switch" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_USE_LINK_LOCAL=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"OVS_PHYSICAL_BRIDGE=brbm" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"PHYSICAL_NETWORK=mynetwork" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_PROVISION_NETWORK_NAME=ironic-provision" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_PROVISION_SUBNET_PREFIX=10.0.5.0/24" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_PROVISION_SUBNET_GATEWAY=10.0.5.1" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_PLUGIN=ml2" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_USE_PROVIDERNET_FOR_PUBLIC=False" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"ENABLE_TENANT_VLANS=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_ML2_TENANT_NETWORK_TYPE=vlan" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TENANT_VLAN_RANGE=100:150" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_NETWORK_INTERFACES=flat,neutron" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_NETWORK_INTERFACE=neutron" - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-vars-early - # use tempest plugin - if [[ "$ZUUL_BRANCH" != "master" ]] ; then - # NOTE(jroll) if this is not a patch against master, then - # fetch master to install the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' git+git://git.openstack.org/openstack/ironic'" - else - # on master, use the local change, so we can pick up any changes to the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' /opt/stack/new/ironic'" - fi - export TEMPEST_CONCURRENCY=1 - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - export PROJECTS="openstack/ironic $PROJECTS" - export PROJECTS="openstack/ironic-lib $PROJECTS" - export PROJECTS="openstack/ironic-python-agent $PROJECTS" - export PROJECTS="openstack/python-ironicclient $PROJECTS" - export PROJECTS="openstack/pyghmi $PROJECTS" - export PROJECTS="openstack/virtualbmc $PROJECTS" - export PYTHONUNBUFFERED=true - export DEVSTACK_GATE_TEMPEST=1 - export DEVSTACK_GATE_IRONIC=1 - export DEVSTACK_GATE_NEUTRON=1 - export DEVSTACK_GATE_VIRT_DRIVER=ironic - export DEVSTACK_GATE_CONFIGDRIVE=1 - export DEVSTACK_GATE_IRONIC_DRIVER=agent_ipmitool - export BRANCH_OVERRIDE=default - if [ "$BRANCH_OVERRIDE" != "default" ] ; then - export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE - fi - - if [[ ! "stable/newton stable/ocata stable/pike" =~ $ZUUL_BRANCH ]] ; then - export DEVSTACK_GATE_TLSPROXY=1 - fi - - if [ "agent_ipmitool" == "pxe_snmp" ] ; then - # explicitly enable pxe_snmp driver - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_DRIVERS=fake,pxe_snmp" - fi - - if [ "agent_ipmitool" == "redfish" ] ; then - # When deploying with redfish we need to enable the "redfish" - # hardware type - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_HARDWARE_TYPES=redfish" - fi - - if [ "wholedisk" == "wholedisk" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=0" - else - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=False" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=1" - fi - - if [ -n "" ] ; then - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=1 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"USE_SUBNETPOOL=False" - else - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=0 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=False" - fi - - if [ "bios" == "uefi" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_BOOT_MODE=uefi" - fi - - export DEVSTACK_PROJECT_FROM_GIT="" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_COUNT=3" - - # Ensure the ironic-vars-EARLY file exists - touch ironic-vars-early - # Pull in the EARLY variables injected by the optional builders - source ironic-vars-early - - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ironic git://git.openstack.org/openstack/ironic" - - # Ensure the ironic-EXTRA-vars file exists - touch ironic-extra-vars - # Pull in the EXTRA variables injected by the optional builders - source ironic-extra-vars - - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/tempest-dsvm-ironic-parallel/post.yaml b/playbooks/legacy/tempest-dsvm-ironic-parallel/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-parallel/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/tempest-dsvm-ironic-parallel/run.yaml b/playbooks/legacy/tempest-dsvm-ironic-parallel/run.yaml deleted file mode 100644 index 14c04cc2..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-parallel/run.yaml +++ /dev/null @@ -1,55 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-tempest-dsvm-ironic-parallel from old job gate-tempest-dsvm-ironic-parallel-ubuntu-xenial-nv - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack-infra/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - export PROJECTS="openstack/ironic $PROJECTS" - export PROJECTS="openstack/ironic-lib $PROJECTS" - export PROJECTS="openstack/ironic-python-agent $PROJECTS" - export PROJECTS="openstack/python-ironicclient $PROJECTS" - export PYTHONUNBUFFERED=true - export DEVSTACK_GATE_TEMPEST=1 - # NOTE(deva): tempest-lib support was added in Mitaka - # but this job does not run on stable branches, so we can keep it simple here - export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1 - export DEVSTACK_GATE_IRONIC=1 - export DEVSTACK_GATE_NEUTRON=1 - export DEVSTACK_GATE_VIRT_DRIVER=ironic - export DEVSTACK_GATE_CONFIGDRIVE=1 - export TEMPEST_CONCURRENCY=2 - export BRANCH_OVERRIDE=default - if [ "$BRANCH_OVERRIDE" != "default" ] ; then - export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE - fi - # Run only baremetal tests - export DEVSTACK_GATE_TEMPEST_REGEX='ironic' - - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/tempest-dsvm-ironic-pxe_ipa-full/post.yaml b/playbooks/legacy/tempest-dsvm-ironic-pxe_ipa-full/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-pxe_ipa-full/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/tempest-dsvm-ironic-pxe_ipa-full/run.yaml b/playbooks/legacy/tempest-dsvm-ironic-pxe_ipa-full/run.yaml deleted file mode 100644 index ba8a9fae..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-pxe_ipa-full/run.yaml +++ /dev/null @@ -1,156 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-tempest-dsvm-ironic-pxe_ipa-full from old job gate-tempest-dsvm-ironic-pxe_ipa-full-ubuntu-xenial-nv - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack-infra/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEPLOY_DRIVER_ISCSI_WITH_IPA=True" - # Standardize VM size for each supported ramdisk - case "tinyipa" in - 'tinyipa') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=384" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'tinyipa256') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=256" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'coreos') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=1280" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=coreos" - ;; - # if using a ramdisk without a known good value, use the devstack - # default by not exporting any value for IRONIC_VM_SPECS_RAM - esac - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_GATE_TEMPEST_FULL=1 - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-vars-early - # use tempest plugin - if [[ "$ZUUL_BRANCH" != "master" ]] ; then - # NOTE(jroll) if this is not a patch against master, then - # fetch master to install the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' git+git://git.openstack.org/openstack/ironic'" - else - # on master, use the local change, so we can pick up any changes to the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' /opt/stack/new/ironic'" - fi - export TEMPEST_CONCURRENCY=1 - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - export PROJECTS="openstack/ironic $PROJECTS" - export PROJECTS="openstack/ironic-lib $PROJECTS" - export PROJECTS="openstack/ironic-python-agent $PROJECTS" - export PROJECTS="openstack/python-ironicclient $PROJECTS" - export PROJECTS="openstack/pyghmi $PROJECTS" - export PROJECTS="openstack/virtualbmc $PROJECTS" - export PYTHONUNBUFFERED=true - export DEVSTACK_GATE_TEMPEST=1 - export DEVSTACK_GATE_IRONIC=1 - export DEVSTACK_GATE_NEUTRON=1 - export DEVSTACK_GATE_VIRT_DRIVER=ironic - export DEVSTACK_GATE_CONFIGDRIVE=1 - export DEVSTACK_GATE_IRONIC_DRIVER=pxe_ipmitool - export BRANCH_OVERRIDE=default - if [ "$BRANCH_OVERRIDE" != "default" ] ; then - export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE - fi - - if [[ ! "stable/newton stable/ocata stable/pike" =~ $ZUUL_BRANCH ]] ; then - export DEVSTACK_GATE_TLSPROXY=1 - fi - - if [ "pxe_ipmitool" == "pxe_snmp" ] ; then - # explicitly enable pxe_snmp driver - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_DRIVERS=fake,pxe_snmp" - fi - - if [ "pxe_ipmitool" == "redfish" ] ; then - # When deploying with redfish we need to enable the "redfish" - # hardware type - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_HARDWARE_TYPES=redfish" - fi - - if [ "partition" == "wholedisk" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=0" - else - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=False" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=1" - fi - - if [ -n "" ] ; then - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=1 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"USE_SUBNETPOOL=False" - else - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=0 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=False" - fi - - if [ "bios" == "uefi" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_BOOT_MODE=uefi" - fi - - export DEVSTACK_PROJECT_FROM_GIT="" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_COUNT=7" - - # Ensure the ironic-vars-EARLY file exists - touch ironic-vars-early - # Pull in the EARLY variables injected by the optional builders - source ironic-vars-early - - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ironic git://git.openstack.org/openstack/ironic" - - # Ensure the ironic-EXTRA-vars file exists - touch ironic-extra-vars - # Pull in the EXTRA variables injected by the optional builders - source ironic-extra-vars - - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/tempest-dsvm-ironic-pxe_ipmitool-postgres/post.yaml b/playbooks/legacy/tempest-dsvm-ironic-pxe_ipmitool-postgres/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-pxe_ipmitool-postgres/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- 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/playbooks/legacy/tempest-dsvm-ironic-pxe_ipmitool-postgres/run.yaml b/playbooks/legacy/tempest-dsvm-ironic-pxe_ipmitool-postgres/run.yaml deleted file mode 100644 index c590f392..00000000 --- a/playbooks/legacy/tempest-dsvm-ironic-pxe_ipmitool-postgres/run.yaml +++ /dev/null @@ -1,175 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-tempest-dsvm-ironic-pxe_ipmitool-postgres from old - job gate-tempest-dsvm-ironic-pxe_ipmitool-postgres-ubuntu-xenial-nv - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack-infra/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEPLOY_DRIVER_ISCSI_WITH_IPA=True" - # Standardize VM size for each supported ramdisk - case "tinyipa" in - 'tinyipa') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=384" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'tinyipa256') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=256" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" - ;; - 'coreos') - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=1280" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=coreos" - ;; - # if using a ramdisk without a known good value, use the devstack - # default by not exporting any value for IRONIC_VM_SPECS_RAM - esac - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_GATE_TEMPEST_REGEX="ironic" - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_GATE_POSTGRES=1 - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-extra-vars - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_IPXE_ENABLED=False" - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - cat << 'EOF' >> ironic-vars-early - # use tempest plugin - if [[ "$ZUUL_BRANCH" != "master" ]] ; then - # NOTE(jroll) if this is not a patch against master, then - # fetch master to install the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' git+git://git.openstack.org/openstack/ironic'" - else - # on master, use the local change, so we can pick up any changes to the plugin - export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' /opt/stack/new/ironic'" - fi - export TEMPEST_CONCURRENCY=1 - - EOF - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - export PROJECTS="openstack/ironic $PROJECTS" - export PROJECTS="openstack/ironic-lib $PROJECTS" - export PROJECTS="openstack/ironic-python-agent $PROJECTS" - export PROJECTS="openstack/python-ironicclient $PROJECTS" - export PROJECTS="openstack/pyghmi $PROJECTS" - export PROJECTS="openstack/virtualbmc $PROJECTS" - export PYTHONUNBUFFERED=true - export DEVSTACK_GATE_TEMPEST=1 - export DEVSTACK_GATE_IRONIC=1 - export DEVSTACK_GATE_NEUTRON=1 - export DEVSTACK_GATE_VIRT_DRIVER=ironic - export DEVSTACK_GATE_CONFIGDRIVE=1 - export DEVSTACK_GATE_IRONIC_DRIVER=pxe_ipmitool - export BRANCH_OVERRIDE=default - if [ "$BRANCH_OVERRIDE" != "default" ] ; then - export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE - fi - - if [[ ! "stable/newton stable/ocata stable/pike" =~ $ZUUL_BRANCH ]] ; then - export DEVSTACK_GATE_TLSPROXY=1 - fi - - if [ "pxe_ipmitool" == "pxe_snmp" ] ; then - # explicitly enable pxe_snmp driver - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_DRIVERS=fake,pxe_snmp" - fi - - if [ "pxe_ipmitool" == "redfish" ] ; then - # When deploying with redfish we need to enable the "redfish" - # hardware type - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_ENABLED_HARDWARE_TYPES=redfish" - fi - - if [ "partition" == "wholedisk" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=0" - else - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=False" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=1" - fi - - if [ -n "" ] ; then - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=1 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=True" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"USE_SUBNETPOOL=False" - else - export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=0 - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=False" - fi - - if [ "bios" == "uefi" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_BOOT_MODE=uefi" - fi - - export DEVSTACK_PROJECT_FROM_GIT="" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_COUNT=1" - - # Ensure the ironic-vars-EARLY file exists - touch ironic-vars-early - # Pull in the EARLY variables injected by the optional builders - source ironic-vars-early - - export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ironic git://git.openstack.org/openstack/ironic" - - # Ensure the ironic-EXTRA-vars file exists - touch ironic-extra-vars - # Pull in the EXTRA variables injected by the optional builders - source ironic-extra-vars - - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/zuul.d/zuul-legacy-jobs.yaml b/zuul.d/zuul-legacy-jobs.yaml index 0ea42ffb..06e385d0 100644 --- a/zuul.d/zuul-legacy-jobs.yaml +++ b/zuul.d/zuul-legacy-jobs.yaml @@ -1592,33 +1592,6 @@ - openstack-infra/shade - openstack/diskimage-builder -- job: - name: legacy-dsvm-nodepool-src-old - parent: legacy-dsvm-base - run: playbooks/legacy/dsvm-nodepool-src-old/run - post-run: playbooks/legacy/dsvm-nodepool-src-old/post - timeout: 5400 - required-projects: - - openstack-infra/devstack-gate - - openstack-infra/glean - - openstack-infra/nodepool - - openstack-infra/shade - - openstack/diskimage-builder - -- job: - name: legacy-dsvm-nodepool-src-zuulv3 - parent: legacy-dsvm-base - run: playbooks/legacy/dsvm-nodepool-src-zuulv3/run - post-run: playbooks/legacy/dsvm-nodepool-src-zuulv3/post - timeout: 5400 - required-projects: - - openstack-infra/devstack-gate - - openstack-infra/glean - - openstack-infra/nodepool - - openstack-infra/shade - - openstack-infra/zuul - - openstack/diskimage-builder - - job: name: legacy-dsvm-nodepool-ubuntu-src parent: legacy-dsvm-base @@ -1829,29 +1802,6 @@ - openstack/devstack-plugin-container - openstack/fuxi -- job: - name: legacy-gate-kolla-dsvm-build-centos-source-centos-7 - parent: legacy-dsvm-base - run: playbooks/legacy/gate-kolla-dsvm-build-centos-source-centos-7/run - post-run: playbooks/legacy/gate-kolla-dsvm-build-centos-source-centos-7/post - timeout: 7200 - nodeset: legacy-centos-7 - -- job: - name: legacy-gate-kolla-dsvm-build-oraclelinux-source-centos-7 - parent: legacy-dsvm-base - run: playbooks/legacy/gate-kolla-dsvm-build-oraclelinux-source-centos-7/run - post-run: playbooks/legacy/gate-kolla-dsvm-build-oraclelinux-source-centos-7/post - timeout: 7200 - nodeset: legacy-centos-7 - -- job: - name: legacy-gate-kolla-dsvm-build-ubuntu-source - parent: legacy-dsvm-base - run: playbooks/legacy/gate-kolla-dsvm-build-ubuntu-source/run - post-run: playbooks/legacy/gate-kolla-dsvm-build-ubuntu-source/post - timeout: 7200 - - job: name: legacy-gate-training-labs-scripts parent: legacy-base @@ -2114,24 +2064,6 @@ - openstack/python-ironicclient - openstack/virtualbmc -- job: - name: legacy-grenade-dsvm-ironic-multinode-multitenant - parent: legacy-dsvm-base-multinode - run: playbooks/legacy/grenade-dsvm-ironic-multinode-multitenant/run - post-run: playbooks/legacy/grenade-dsvm-ironic-multinode-multitenant/post - timeout: 10800 - required-projects: - - openstack-dev/grenade - - openstack-infra/devstack-gate - - openstack/ironic - - openstack/ironic-lib - - openstack/ironic-python-agent - - openstack/networking-generic-switch - - openstack/pyghmi - - openstack/python-ironicclient - - openstack/virtualbmc - nodeset: legacy-ubuntu-xenial-2-node - - job: name: legacy-grenade-dsvm-manila parent: legacy-dsvm-base @@ -2922,19 +2854,6 @@ - openstack/ironic - openstack/ironic-python-agent -- job: - name: legacy-ironic-dsvm-standalone - parent: legacy-dsvm-base - run: playbooks/legacy/ironic-dsvm-standalone/run - post-run: playbooks/legacy/ironic-dsvm-standalone/post - timeout: 10800 - required-projects: - - openstack-infra/devstack-gate - - openstack/ironic - - openstack/ironic-lib - - openstack/ironic-python-agent - - openstack/python-ironicclient - - job: name: legacy-ironic-inspector-tox-func parent: legacy-base @@ -4165,31 +4084,6 @@ post-run: playbooks/legacy/merlin-js-release-master/post timeout: 1800 -- job: - name: legacy-mogan-dsvm-tempest-plugin - parent: legacy-dsvm-base - run: playbooks/legacy/mogan-dsvm-tempest-plugin/run - post-run: playbooks/legacy/mogan-dsvm-tempest-plugin/post - timeout: 3600 - required-projects: - - openstack-infra/devstack-gate - - openstack/ironic - - openstack/ironic-lib - - openstack/ironic-python-agent - - openstack/mogan - - openstack/python-ironicclient - - openstack/python-moganclient - - openstack/tempest - -- job: - name: legacy-mogan-tox-functional - parent: legacy-base - run: playbooks/legacy/mogan-tox-functional/run - post-run: playbooks/legacy/mogan-tox-functional/post - timeout: 2400 - required-projects: - - openstack/requirements - - job: name: legacy-monasca-api-localrepo-upload parent: legacy-publish-openstack-artifacts @@ -5232,52 +5126,6 @@ required-projects: - openstack/requirements -- job: - name: legacy-openstack-ansible-galera_server-ansible-ssl - parent: legacy-base - run: playbooks/legacy/openstack-ansible-galera_server-ansible-ssl/run - post-run: playbooks/legacy/openstack-ansible-galera_server-ansible-ssl/post - timeout: 5400 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-galera_server - -- job: - name: legacy-openstack-ansible-galera_server-ansible-ssl-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-galera_server-ansible-ssl-centos-7/run - post-run: playbooks/legacy/openstack-ansible-galera_server-ansible-ssl-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-galera_server - -- job: - name: legacy-openstack-ansible-galera_server-ansible-upgrade - parent: legacy-base - run: playbooks/legacy/openstack-ansible-galera_server-ansible-upgrade/run - post-run: playbooks/legacy/openstack-ansible-galera_server-ansible-upgrade/post - timeout: 5400 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-galera_server - -- job: - name: legacy-openstack-ansible-galera_server-ansible-upgrade-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-galera_server-ansible-upgrade-centos-7/run - post-run: playbooks/legacy/openstack-ansible-galera_server-ansible-upgrade-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-galera_server - - job: name: legacy-openstack-ansible-openstack-ansible-aio parent: legacy-base @@ -5339,159 +5187,6 @@ post-run: playbooks/legacy/openstack-ansible-openstack-ansible-octavia/post timeout: 7200 -- job: - name: legacy-openstack-ansible-os_barbican-ansible-func-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_barbican-ansible-func-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_barbican-ansible-func-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/barbican - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_barbican - -- job: - name: legacy-openstack-ansible-os_barbican-ansible-func-opensuse-423 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_barbican-ansible-func-opensuse-423/run - post-run: playbooks/legacy/openstack-ansible-os_barbican-ansible-func-opensuse-423/post - timeout: 5400 - nodeset: legacy-opensuse-423 - required-projects: - - openstack/barbican - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_barbican - -- job: - name: legacy-openstack-ansible-os_ceilometer-ansible-gnocchi - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi/run - post-run: playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi/post - timeout: 5400 - required-projects: - - openstack/ceilometer - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_ceilometer - -- job: - name: legacy-openstack-ansible-os_ceilometer-ansible-gnocchi-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/ceilometer - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_ceilometer - -- job: - name: legacy-openstack-ansible-os_ceilometer-ansible-gnocchi-ubuntu-trusty - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi-ubuntu-trusty/run - post-run: playbooks/legacy/openstack-ansible-os_ceilometer-ansible-gnocchi-ubuntu-trusty/post - timeout: 5400 - nodeset: legacy-ubuntu-trusty - required-projects: - - openstack/ceilometer - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_ceilometer - -- job: - name: legacy-openstack-ansible-os_cinder-ansible-upgrade - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_cinder-ansible-upgrade/run - post-run: playbooks/legacy/openstack-ansible-os_cinder-ansible-upgrade/post - timeout: 5400 - required-projects: - - openstack/cinder - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_cinder - -- job: - name: legacy-openstack-ansible-os_cloudkitty-ansible-func-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_cloudkitty-ansible-func-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_cloudkitty-ansible-func-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/cloudkitty - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_cloudkitty - -- job: - name: legacy-openstack-ansible-os_cloudkitty-ansible-func-opensuse-423 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_cloudkitty-ansible-func-opensuse-423/run - post-run: playbooks/legacy/openstack-ansible-os_cloudkitty-ansible-func-opensuse-423/post - timeout: 5400 - nodeset: legacy-opensuse-423 - required-projects: - - openstack/cloudkitty - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_cloudkitty - -- job: - name: legacy-openstack-ansible-os_glance-ansible-upgrade - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_glance-ansible-upgrade/run - post-run: playbooks/legacy/openstack-ansible-os_glance-ansible-upgrade/post - timeout: 5400 - required-projects: - - openstack/glance - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_glance - -- job: - name: legacy-openstack-ansible-os_glance-ansible-upgrade-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_glance-ansible-upgrade-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_glance-ansible-upgrade-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/glance - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_glance - -- job: - name: legacy-openstack-ansible-os_ironic-ansible-func-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_ironic-ansible-func-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_ironic-ansible-func-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/ironic - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_ironic - -- job: - name: legacy-openstack-ansible-os_ironic-ansible-func-opensuse-423 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_ironic-ansible-func-opensuse-423/run - post-run: playbooks/legacy/openstack-ansible-os_ironic-ansible-func-opensuse-423/post - timeout: 5400 - nodeset: legacy-opensuse-423 - required-projects: - - openstack/ironic - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_ironic - - job: name: legacy-openstack-ansible-os_keystone-ansible-upgrade parent: legacy-base @@ -5504,157 +5199,6 @@ - openstack/openstack-ansible - openstack/openstack-ansible-os_keystone -- job: - name: legacy-openstack-ansible-os_keystone-ansible-upgrade-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_keystone-ansible-upgrade-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_keystone-ansible-upgrade-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/keystone - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_keystone - -- job: - name: legacy-openstack-ansible-os_keystone-ansible-uw_apache - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache/run - post-run: playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache/post - timeout: 5400 - required-projects: - - openstack/keystone - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_keystone - -- job: - name: legacy-openstack-ansible-os_keystone-ansible-uw_apache-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/keystone - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_keystone - -- job: - name: legacy-openstack-ansible-os_keystone-ansible-uw_apache-ubuntu-trusty - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache-ubuntu-trusty/run - post-run: playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_apache-ubuntu-trusty/post - timeout: 5400 - nodeset: legacy-ubuntu-trusty - required-projects: - - openstack/keystone - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_keystone - -- job: - name: legacy-openstack-ansible-os_keystone-ansible-uw_nginx - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx/run - post-run: playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx/post - timeout: 5400 - required-projects: - - openstack/keystone - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_keystone - -- job: - name: legacy-openstack-ansible-os_keystone-ansible-uw_nginx-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/keystone - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_keystone - -- job: - name: legacy-openstack-ansible-os_keystone-ansible-uw_nginx-ubuntu-trusty - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx-ubuntu-trusty/run - post-run: playbooks/legacy/openstack-ansible-os_keystone-ansible-uw_nginx-ubuntu-trusty/post - timeout: 5400 - nodeset: legacy-ubuntu-trusty - required-projects: - - openstack/keystone - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_keystone - -- job: - name: legacy-openstack-ansible-os_magnum-ansible-func-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_magnum-ansible-func-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_magnum-ansible-func-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/magnum - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_magnum - -- job: - name: legacy-openstack-ansible-os_magnum-ansible-func-opensuse-423 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_magnum-ansible-func-opensuse-423/run - post-run: playbooks/legacy/openstack-ansible-os_magnum-ansible-func-opensuse-423/post - timeout: 5400 - nodeset: legacy-opensuse-423 - required-projects: - - openstack/magnum - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_magnum - -- job: - name: legacy-openstack-ansible-os_monasca-ansible-func-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_monasca-ansible-func-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_monasca-ansible-func-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_monasca - -- job: - name: legacy-openstack-ansible-os_monasca-ansible-func-opensuse-423 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_monasca-ansible-func-opensuse-423/run - post-run: playbooks/legacy/openstack-ansible-os_monasca-ansible-func-opensuse-423/post - timeout: 5400 - nodeset: legacy-opensuse-423 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_monasca - -- job: - name: legacy-openstack-ansible-os_neutron-ansible-calico - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_neutron-ansible-calico/run - post-run: playbooks/legacy/openstack-ansible-os_neutron-ansible-calico/post - timeout: 5400 - required-projects: - - openstack/neutron - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_neutron - - job: name: legacy-openstack-ansible-os_neutron-ansible-dragonflow parent: legacy-base @@ -5668,31 +5212,6 @@ - openstack/openstack-ansible - openstack/openstack-ansible-os_neutron -- job: - name: legacy-openstack-ansible-os_neutron-ansible-func_ovs - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_neutron-ansible-func_ovs/run - post-run: playbooks/legacy/openstack-ansible-os_neutron-ansible-func_ovs/post - timeout: 5400 - required-projects: - - openstack/neutron - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_neutron - -- job: - name: legacy-openstack-ansible-os_neutron-ansible-func_ovs-ubuntu-trusty - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_neutron-ansible-func_ovs-ubuntu-trusty/run - post-run: playbooks/legacy/openstack-ansible-os_neutron-ansible-func_ovs-ubuntu-trusty/post - timeout: 5400 - nodeset: legacy-ubuntu-trusty - required-projects: - - openstack/neutron - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_neutron - - job: name: legacy-openstack-ansible-os_neutron-ansible-upgrade parent: legacy-base @@ -5717,286 +5236,6 @@ - openstack/openstack-ansible - openstack/openstack-ansible-os_nova -- job: - name: legacy-openstack-ansible-os_nova-ansible-func_lxd-ubuntu-trusty - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_nova-ansible-func_lxd-ubuntu-trusty/run - post-run: playbooks/legacy/openstack-ansible-os_nova-ansible-func_lxd-ubuntu-trusty/post - timeout: 5400 - nodeset: legacy-ubuntu-trusty - required-projects: - - openstack/nova - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_nova - -- job: - name: legacy-openstack-ansible-os_nova-ansible-upgrade - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_nova-ansible-upgrade/run - post-run: playbooks/legacy/openstack-ansible-os_nova-ansible-upgrade/post - timeout: 5400 - required-projects: - - openstack/nova - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_nova - -- job: - name: legacy-openstack-ansible-os_rally-ansible-func-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_rally-ansible-func-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_rally-ansible-func-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_rally - - openstack/rally - -- job: - name: legacy-openstack-ansible-os_rally-ansible-func-opensuse-423 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_rally-ansible-func-opensuse-423/run - post-run: playbooks/legacy/openstack-ansible-os_rally-ansible-func-opensuse-423/post - timeout: 5400 - nodeset: legacy-opensuse-423 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_rally - - openstack/rally - -- job: - name: legacy-openstack-ansible-os_sahara-ansible-func-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_sahara-ansible-func-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_sahara-ansible-func-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/ara - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_sahara - - openstack/sahara - -- job: - name: legacy-openstack-ansible-os_sahara-ansible-func-opensuse-423 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_sahara-ansible-func-opensuse-423/run - post-run: playbooks/legacy/openstack-ansible-os_sahara-ansible-func-opensuse-423/post - timeout: 5400 - nodeset: legacy-opensuse-423 - required-projects: - - openstack/ara - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_sahara - - openstack/sahara - -- job: - name: legacy-openstack-ansible-os_swift-ansible-func_pypy - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_swift-ansible-func_pypy/run - post-run: playbooks/legacy/openstack-ansible-os_swift-ansible-func_pypy/post - timeout: 5400 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_swift - - openstack/swift - -- job: - name: legacy-openstack-ansible-os_swift-ansible-func_pypy-ubuntu-trusty - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_swift-ansible-func_pypy-ubuntu-trusty/run - post-run: playbooks/legacy/openstack-ansible-os_swift-ansible-func_pypy-ubuntu-trusty/post - timeout: 5400 - nodeset: legacy-ubuntu-trusty - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_swift - - openstack/swift - -- job: - name: legacy-openstack-ansible-os_swift-ansible-multi_reg - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg/run - post-run: playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg/post - timeout: 5400 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_swift - - openstack/swift - -- job: - name: legacy-openstack-ansible-os_swift-ansible-multi_reg-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_swift - - openstack/swift - -- job: - name: legacy-openstack-ansible-os_swift-ansible-multi_reg-ubuntu-trusty - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg-ubuntu-trusty/run - post-run: playbooks/legacy/openstack-ansible-os_swift-ansible-multi_reg-ubuntu-trusty/post - timeout: 5400 - nodeset: legacy-ubuntu-trusty - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_swift - - openstack/swift - -- job: - name: legacy-openstack-ansible-os_swift-ansible-upgrade - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_swift-ansible-upgrade/run - post-run: playbooks/legacy/openstack-ansible-os_swift-ansible-upgrade/post - timeout: 5400 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_swift - - openstack/swift - -- job: - name: legacy-openstack-ansible-os_swift-ansible-upgrade-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_swift-ansible-upgrade-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_swift-ansible-upgrade-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_swift - - openstack/swift - -- job: - name: legacy-openstack-ansible-os_trove-ansible-func-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_trove-ansible-func-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_trove-ansible-func-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_trove - - openstack/trove - -- job: - name: legacy-openstack-ansible-os_trove-ansible-func-opensuse-423 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_trove-ansible-func-opensuse-423/run - post-run: playbooks/legacy/openstack-ansible-os_trove-ansible-func-opensuse-423/post - timeout: 5400 - nodeset: legacy-opensuse-423 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_trove - - openstack/trove - -- job: - name: legacy-openstack-ansible-os_watcher-ansible-func-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_watcher-ansible-func-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_watcher-ansible-func-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_watcher - - openstack/watcher - -- job: - name: legacy-openstack-ansible-os_watcher-ansible-func-opensuse-423 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_watcher-ansible-func-opensuse-423/run - post-run: playbooks/legacy/openstack-ansible-os_watcher-ansible-func-opensuse-423/post - timeout: 5400 - nodeset: legacy-opensuse-423 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_watcher - - openstack/watcher - -- job: - name: legacy-openstack-ansible-os_zaqar-ansible-func-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_zaqar-ansible-func-centos-7/run - post-run: playbooks/legacy/openstack-ansible-os_zaqar-ansible-func-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_zaqar - - openstack/zaqar - -- job: - name: legacy-openstack-ansible-os_zaqar-ansible-func-opensuse-423 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-os_zaqar-ansible-func-opensuse-423/run - post-run: playbooks/legacy/openstack-ansible-os_zaqar-ansible-func-opensuse-423/post - timeout: 5400 - nodeset: legacy-opensuse-423 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-os_zaqar - - openstack/zaqar - -- job: - name: legacy-openstack-ansible-pip_lock_down-ansible-func-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-pip_lock_down-ansible-func-centos-7/run - post-run: playbooks/legacy/openstack-ansible-pip_lock_down-ansible-func-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-pip_lock_down - -- job: - name: legacy-openstack-ansible-plugins-ansible-func_py3 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-plugins-ansible-func_py3/run - post-run: playbooks/legacy/openstack-ansible-plugins-ansible-func_py3/post - timeout: 5400 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-plugins - -- job: - name: legacy-openstack-ansible-plugins-ansible-func_py3-centos-7 - parent: legacy-base - run: playbooks/legacy/openstack-ansible-plugins-ansible-func_py3-centos-7/run - post-run: playbooks/legacy/openstack-ansible-plugins-ansible-func_py3-centos-7/post - timeout: 5400 - nodeset: legacy-centos-7 - required-projects: - - openstack/openstack - - openstack/openstack-ansible - - openstack/openstack-ansible-plugins - - job: name: legacy-openstack-helm-addons-multi-basic-ovs-rbd-ubuntu-xenial-3-node parent: legacy-base @@ -9132,36 +8371,6 @@ - openstack/watcher - openstack/zaqar-ui -- job: - name: legacy-rally-dsvm-watcher-watcher - parent: legacy-dsvm-base - run: playbooks/legacy/rally-dsvm-watcher-watcher/run - post-run: playbooks/legacy/rally-dsvm-watcher-watcher/post - timeout: 7800 - required-projects: - - openstack-infra/devstack-gate - - openstack/aodh - - openstack/ceilometer - - openstack/diskimage-builder - - openstack/ironic - - openstack/magnum - - openstack/networking-bgpvpn - - openstack/neutron - - openstack/neutron-fwaas - - openstack/neutron-lbaas - - openstack/neutron-vpnaas - - openstack/octavia - - openstack/panko - - openstack/python-magnumclient - - openstack/python-senlinclient - - openstack/python-watcherclient - - openstack/python-zaqarclient - - openstack/rally - - openstack/senlin - - openstack/tripleo-image-elements - - openstack/watcher - - openstack/zaqar-ui - - job: name: legacy-rally-dsvm-zaqar-rally parent: legacy-dsvm-base @@ -10620,22 +9829,6 @@ - openstack-infra/devstack-gate - openstack/tempest -- job: - name: legacy-tempest-dsvm-ironic-bfv - parent: legacy-dsvm-base - run: playbooks/legacy/tempest-dsvm-ironic-bfv/run - post-run: playbooks/legacy/tempest-dsvm-ironic-bfv/post - timeout: 9600 - required-projects: - - openstack-infra/devstack-gate - - openstack/ironic - - openstack/ironic-lib - - openstack/ironic-python-agent - - openstack/pyghmi - - openstack/python-ironicclient - - openstack/tempest - - openstack/virtualbmc - - job: name: legacy-tempest-dsvm-ironic-inspector parent: legacy-dsvm-base @@ -10835,72 +10028,6 @@ - openstack/tempest - openstack/virtualbmc -- job: - name: legacy-tempest-dsvm-ironic-ipa-partition-redfish-tinyipa - parent: legacy-dsvm-base - run: playbooks/legacy/tempest-dsvm-ironic-ipa-partition-redfish-tinyipa/run - post-run: playbooks/legacy/tempest-dsvm-ironic-ipa-partition-redfish-tinyipa/post - timeout: 5400 - required-projects: - - openstack-infra/devstack-gate - - openstack/ironic - - openstack/ironic-lib - - openstack/ironic-python-agent - - openstack/pyghmi - - openstack/python-ironicclient - - openstack/tempest - - openstack/virtualbmc - -- job: - name: legacy-tempest-dsvm-ironic-ipa-partition-uefi-pxe_ipmitool-tinyipa - parent: legacy-dsvm-base - run: playbooks/legacy/tempest-dsvm-ironic-ipa-partition-uefi-pxe_ipmitool-tinyipa/run - post-run: playbooks/legacy/tempest-dsvm-ironic-ipa-partition-uefi-pxe_ipmitool-tinyipa/post - timeout: 5400 - required-projects: - - openstack-infra/devstack-gate - - openstack/ironic - - openstack/ironic-lib - - openstack/ironic-python-agent - - openstack/pyghmi - - openstack/python-ironicclient - - openstack/tempest - - openstack/virtualbmc - -- job: - name: legacy-tempest-dsvm-ironic-ipa-resourceclasses-partition-pxe_ipmitool-tinyipa - parent: legacy-dsvm-base - run: playbooks/legacy/tempest-dsvm-ironic-ipa-resourceclasses-partition-pxe_ipmitool-tinyipa/run - post-run: playbooks/legacy/tempest-dsvm-ironic-ipa-resourceclasses-partition-pxe_ipmitool-tinyipa/post - timeout: 5400 - required-projects: - - openstack-infra/devstack-gate - - openstack/ironic - - openstack/ironic-lib - - openstack/ironic-python-agent - - openstack/pyghmi - - openstack/python-ironicclient - - openstack/tempest - - openstack/virtualbmc - -- job: - name: legacy-tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-tinyipa-multinode - parent: legacy-dsvm-base-multinode - run: playbooks/legacy/tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-tinyipa-multinode/run - post-run: playbooks/legacy/tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-tinyipa-multinode/post - timeout: 10800 - required-projects: - - openstack-infra/devstack-gate - - openstack/ironic - - openstack/ironic-lib - - openstack/ironic-python-agent - - openstack/networking-generic-switch - - openstack/pyghmi - - openstack/python-ironicclient - - openstack/tempest - - openstack/virtualbmc - nodeset: legacy-ubuntu-xenial-2-node - - job: name: legacy-tempest-dsvm-ironic-ipa-wholedisk-bios-agent_ipmitool-coreos-src parent: legacy-dsvm-base @@ -11077,70 +10204,6 @@ - openstack/tempest - openstack/virtualbmc -- job: - name: legacy-tempest-dsvm-ironic-multitenant-network - parent: legacy-dsvm-base - run: playbooks/legacy/tempest-dsvm-ironic-multitenant-network/run - post-run: playbooks/legacy/tempest-dsvm-ironic-multitenant-network/post - timeout: 10800 - required-projects: - - openstack-infra/devstack-gate - - openstack/ironic - - openstack/ironic-lib - - openstack/ironic-python-agent - - openstack/networking-generic-switch - - openstack/pyghmi - - openstack/python-ironicclient - - openstack/tempest - - openstack/virtualbmc - -- job: - name: legacy-tempest-dsvm-ironic-parallel - parent: legacy-dsvm-base - run: playbooks/legacy/tempest-dsvm-ironic-parallel/run - post-run: playbooks/legacy/tempest-dsvm-ironic-parallel/post - timeout: 10800 - required-projects: - - openstack-infra/devstack-gate - - openstack/ara - - openstack/ironic - - openstack/ironic-lib - - openstack/ironic-python-agent - - openstack/python-ironicclient - - openstack/tempest - -- job: - name: legacy-tempest-dsvm-ironic-pxe_ipa-full - parent: legacy-dsvm-base - run: playbooks/legacy/tempest-dsvm-ironic-pxe_ipa-full/run - post-run: playbooks/legacy/tempest-dsvm-ironic-pxe_ipa-full/post - timeout: 9600 - required-projects: - - openstack-infra/devstack-gate - - openstack/ironic - - openstack/ironic-lib - - openstack/ironic-python-agent - - openstack/pyghmi - - openstack/python-ironicclient - - openstack/tempest - - openstack/virtualbmc - -- job: - name: legacy-tempest-dsvm-ironic-pxe_ipmitool-postgres - parent: legacy-dsvm-base - run: playbooks/legacy/tempest-dsvm-ironic-pxe_ipmitool-postgres/run - post-run: playbooks/legacy/tempest-dsvm-ironic-pxe_ipmitool-postgres/post - timeout: 10800 - required-projects: - - openstack-infra/devstack-gate - - openstack/ironic - - openstack/ironic-lib - - openstack/ironic-python-agent - - openstack/pyghmi - - openstack/python-ironicclient - - openstack/tempest - - openstack/virtualbmc - - job: name: legacy-tempest-dsvm-ironic-pxe_ipmitool-virtualbmc-src parent: legacy-dsvm-base diff --git a/zuul.d/zuul-legacy-project-templates.yaml b/zuul.d/zuul-legacy-project-templates.yaml index 3089023c..df5eaf52 100644 --- a/zuul.d/zuul-legacy-project-templates.yaml +++ b/zuul.d/zuul-legacy-project-templates.yaml @@ -52,26 +52,6 @@ jobs: - legacy-ansible-func-fedora-26 -- project-template: - name: ansible-role-functional-jobs-opensuse-423 - check: - jobs: - - legacy-ansible-func-opensuse-423 - gate: - jobs: - - legacy-ansible-func-opensuse-423 - -- project-template: - name: ansible-role-functional-jobs-trusty - check: - jobs: - - legacy-ansible-func-ubuntu-trusty: - branches: master - gate: - jobs: - - legacy-ansible-func-ubuntu-trusty: - branches: master - - project-template: name: ansible-role-functional-jobs-xenial check: