summaryrefslogtreecommitdiff
path: root/playbooks/python-barbicanclient-dsvm/run.yaml
diff options
context:
space:
mode:
authorDouglas Mendizábal <dmendiza@redhat.com>2020-07-29 15:28:58 +0200
committerLuigi Toscano <ltoscano@redhat.com>2020-07-29 15:29:39 +0200
commit1f0feb30ccd3b19bc23453d85d3266c85fcf04d6 (patch)
tree688677d6d86b89e9e85704488fe703adc96d6843 /playbooks/python-barbicanclient-dsvm/run.yaml
parent72dedebbfad32278009bbfbfb453309a82cb9e7d (diff)
downloadpython-barbicanclient-1f0feb30ccd3b19bc23453d85d3266c85fcf04d6.tar.gz
Zuul: port to native v3 job and add victoria unit testsvictoria-em5.0.1
Port the functional job to the native Zuul v3 format, and remove a few old wrapper scripts which are not needed anymore (the tests can be run locally through `tox -efunctional` as well). Also, switch to the Victoria run time for unit tests. Co-Authored-By: Luigi Toscano <ltoscano@redhat.com> Change-Id: Ibce326044c240d6c4e7f1ca3c3ac50a18282a86d
Diffstat (limited to 'playbooks/python-barbicanclient-dsvm/run.yaml')
-rw-r--r--playbooks/python-barbicanclient-dsvm/run.yaml64
1 files changed, 0 insertions, 64 deletions
diff --git a/playbooks/python-barbicanclient-dsvm/run.yaml b/playbooks/python-barbicanclient-dsvm/run.yaml
deleted file mode 100644
index d30ce34..0000000
--- a/playbooks/python-barbicanclient-dsvm/run.yaml
+++ /dev/null
@@ -1,64 +0,0 @@
-- hosts: all
- name: Autoconverted job legacy-python-barbicanclient-dsvm from old job gate-python-barbicanclient-dsvm-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/devstack-gate
- dest: devstack-gate
- EOF
- /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \
- https://opendev.org \
- openstack/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 barbican https://opendev.org/openstack/barbican
-
- EOF
- executable: /bin/bash
- chdir: '{{ ansible_user_dir }}/workspace'
- environment: '{{ zuul | zuul_legacy_vars }}'
-
- - shell:
- cmd: |
- set -e
- set -x
- export PYTHONUNBUFFERED=true
- export OVERRIDE_ENABLED_SERVICES=tempest,rabbit,mysql,key
- export PROJECTS="openstack/barbican $PROJECTS"
- export PROJECTS="openstack/python-barbicanclient $PROJECTS"
- export PROJECTS="openstack/barbican-tempest-plugin $PROJECTS"
-
- function gate_hook {
- $BASE/new/barbican/devstack/gate_hook.sh
- }
- export -f gate_hook
-
- function post_test_hook {
- cd /opt/stack/new/python-barbicanclient/functionaltests
- ./post_test_hook.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 }}'