diff --git a/playbooks/legacy/ansible-func-ubuntu-trusty/post.yaml b/playbooks/legacy/ansible-func-ubuntu-trusty/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/ansible-func-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/ansible-func-ubuntu-trusty/run.yaml b/playbooks/legacy/ansible-func-ubuntu-trusty/run.yaml deleted file mode 100644 index adea0ae6..00000000 --- a/playbooks/legacy/ansible-func-ubuntu-trusty/run.yaml +++ /dev/null @@ -1,100 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-ansible-func-ubuntu-trusty from old job gate-{name}-ansible-func-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" == "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/puppet-syntax-3-centos-7/run.yaml b/playbooks/legacy/puppet-syntax-3-centos-7/run.yaml deleted file mode 100644 index 5462c350..00000000 --- a/playbooks/legacy/puppet-syntax-3-centos-7/run.yaml +++ /dev/null @@ -1,86 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-puppet-syntax-3-legacy-centos-7 from old job gate-{name}-puppet-syntax-3-legacy-centos-7 - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - CLONEMAP=`mktemp` - function cleanup { - # In cases where zuul-cloner is aborted during a git - # clone operation, git will remove the git work tree in - # its cleanup. The work tree in these jobs is the - # workspace directory, which means that subsequent - # jenkins post-build actions can not run because the - # workspace has been removed. - # To reduce the likelihood of this having an impact, - # recreate the workspace directory if needed - mkdir -p $WORKSPACE - rm -f $CLONEMAP - } - trap cleanup EXIT - cat > $CLONEMAP << EOF - clonemap: - - name: $ZUUL_PROJECT - dest: . - EOF - /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ - git://git.openstack.org $ZUUL_PROJECT - 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 - if [ -f /usr/bin/yum ]; then - sudo yum -y remove rdo-release "centos-release-openstack-*" "centos-release-ceph-*" - sudo yum -y install libxml2-devel libxslt-devel ruby-devel zlib-devel - sudo yum -y groupinstall "Development Tools" - # Uninstall python-requests from pip, since we install it in - # system-config/install_puppet.sh - sudo pip uninstall requests -y || true - elif [ -f /usr/bin/apt-get ]; then - sudo apt-get update - sudo apt-get install -y libxml2-dev libxslt-dev ruby-dev zlib1g-dev - fi - executable: /bin/bash - 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: | - export PUPPET_GEM_VERSION='~> 3' - mkdir .bundled_gems - export GEM_HOME=`pwd`/.bundled_gems - gem install bundler --no-rdoc --no-ri --verbose - $GEM_HOME/bin/bundle install --retry 3 - # FUTURE_PARSER=yes is only supported by Puppet 3.x - if [ "3" -lt "4" ]; then - export FUTURE_PARSER=yes - fi - $GEM_HOME/bin/bundle exec rake syntax - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/pypi-both-upload/run.yaml b/playbooks/legacy/pypi-both-upload/run.yaml deleted file mode 100644 index 605d406d..00000000 --- a/playbooks/legacy/pypi-both-upload/run.yaml +++ /dev/null @@ -1,58 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-pypi-both-upload from old job {name}-pypi-both-upload - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - 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: | - set -e - set -x - CLONEMAP=`mktemp` - function cleanup { - # In cases where zuul-cloner is aborted during a git - # clone operation, git will remove the git work tree in - # its cleanup. The work tree in these jobs is the - # workspace directory, which means that subsequent - # jenkins post-build actions can not run because the - # workspace has been removed. - # To reduce the likelihood of this having an impact, - # recreate the workspace directory if needed - mkdir -p $WORKSPACE - rm -f $CLONEMAP - } - trap cleanup EXIT - cat > $CLONEMAP << EOF - clonemap: - - name: $ZUUL_PROJECT - dest: . - EOF - /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ - git://git.openstack.org $ZUUL_PROJECT - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - # Note we upload the wheel first because pip prefers wheels - # and there is a mirroring issue where sometimes the first - # artifact uploaded is the only one you get. Since pip prefers - # wheels it is best to make the wheel the one we get. - /usr/local/jenkins/slave_scripts/pypi-wheel-upload.sh $ZUUL_SHORT_PROJECT_NAME tarballs.openstack.org - /usr/local/jenkins/slave_scripts/pypi-tarball-upload.sh $ZUUL_SHORT_PROJECT_NAME tarballs.openstack.org - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/rally-dsvm-fakevirt-ceilometer/post.yaml b/playbooks/legacy/rally-dsvm-fakevirt-ceilometer/post.yaml deleted file mode 100644 index 4c699fc1..00000000 --- a/playbooks/legacy/rally-dsvm-fakevirt-ceilometer/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-fakevirt-ceilometer/run.yaml b/playbooks/legacy/rally-dsvm-fakevirt-ceilometer/run.yaml deleted file mode 100644 index b52f1833..00000000 --- a/playbooks/legacy/rally-dsvm-fakevirt-ceilometer/run.yaml +++ /dev/null @@ -1,175 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-rally-dsvm-fakevirt-ceilometer from old job gate-rally-dsvm-fakevirt-ceilometer-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: | - 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=0 - export DEVSTACK_GATE_MAGNUM=0 - export DEVSTACK_GATE_HEAT=0 - export DEVSTACK_GATE_SWIFT=1 - export DEVSTACK_GATE_TELEMETRY=0 - export DEVSTACK_GATE_TEMPEST_LARGE_OPS=10 - 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-fakevirt - - 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-fakevirt - } - 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/rally-dsvm-senlin-senlin/post.yaml b/playbooks/legacy/rally-dsvm-senlin-senlin/post.yaml deleted file mode 100644 index 4c699fc1..00000000 --- a/playbooks/legacy/rally-dsvm-senlin-senlin/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-senlin-senlin/run.yaml b/playbooks/legacy/rally-dsvm-senlin-senlin/run.yaml deleted file mode 100644 index e988151d..00000000 --- a/playbooks/legacy/rally-dsvm-senlin-senlin/run.yaml +++ /dev/null @@ -1,175 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-rally-dsvm-senlin-senlin from old job gate-rally-dsvm-senlin-senlin-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=1 - export DEVSTACK_GATE_WATCHER=0 - 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-senlin - - 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-senlin - } - 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/zuul.d/zuul-legacy-jobs.yaml b/zuul.d/zuul-legacy-jobs.yaml index 3186e42e..b3e2bff1 100644 --- a/zuul.d/zuul-legacy-jobs.yaml +++ b/zuul.d/zuul-legacy-jobs.yaml @@ -27,17 +27,6 @@ required-projects: - openstack/requirements -- job: - name: legacy-ansible-func-ubuntu-trusty - parent: legacy-base - run: playbooks/legacy/ansible-func-ubuntu-trusty/run.yaml - post-run: playbooks/legacy/ansible-func-ubuntu-trusty/post.yaml - timeout: 5400 - nodeset: legacy-ubuntu-trusty - branches: ^stable/newton$ - required-projects: - - openstack/requirements - - job: name: legacy-ansible-lint parent: legacy-base @@ -4827,14 +4816,6 @@ timeout: 1800 nodeset: legacy-centos-7 -- job: - name: legacy-puppet-syntax-3-legacy-centos-7 - parent: legacy-puppet-openstack-integration - run: playbooks/legacy/puppet-syntax-3-centos-7/run.yaml - timeout: 1800 - nodeset: legacy-centos-7 - branches: ^(stable/(newton|ocata)).*$ - - job: name: legacy-puppet-syntax-4-centos-7 parent: legacy-puppet-openstack-integration @@ -4930,14 +4911,6 @@ required-projects: - openstack/requirements -- job: - name: legacy-pypi-both-upload - parent: legacy-base - run: playbooks/legacy/pypi-both-upload/run.yaml - timeout: 1800 - dependencies: - - publish-openstack-python-tarball - - job: name: legacy-python-barbicanclient-devstack parent: legacy-base @@ -5096,36 +5069,6 @@ - openstack/python-designateclient - openstack/rally -- job: - name: legacy-rally-dsvm-fakevirt-ceilometer - parent: legacy-dsvm-base - run: playbooks/legacy/rally-dsvm-fakevirt-ceilometer/run.yaml - post-run: playbooks/legacy/rally-dsvm-fakevirt-ceilometer/post.yaml - 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-fakevirt-heat parent: legacy-dsvm-base @@ -5769,36 +5712,6 @@ - openstack/watcher - openstack/zaqar-ui -- job: - name: legacy-rally-dsvm-senlin-senlin - parent: legacy-dsvm-base - run: playbooks/legacy/rally-dsvm-senlin-senlin/run.yaml - post-run: playbooks/legacy/rally-dsvm-senlin-senlin/post.yaml - 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-verify-full-create-resources parent: legacy-dsvm-base