Migrate ldap job to keystone repo

The legacy-tempest-dsvm-ldap-domain-specific-driver job is only used by
keystone, so remove it from the global jobs config and move it to the
keystone repo where it can be Zuulv3ified.

Depends-on: https://review.opendev.org/687436
Change-Id: I15d64ac5425c0a7b981f75669cc43debae78bec7
This commit is contained in:
Colleen Murphy 2019-10-08 20:04:04 -07:00
parent d75ed0632e
commit 18ae9c9f2c
3 changed files with 0 additions and 84 deletions

View File

@ -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

View File

@ -1,59 +0,0 @@
- hosts: all
name: Autoconverted job legacy-tempest-dsvm-ldap-domain-specific-driver from old
job gate-tempest-dsvm-ldap-domain-specific-driver-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/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]]
# Enables ldap service and sets its password
enable_service ldap
KEYSTONE_CLEAR_LDAP=yes
LDAP_PASSWORD='nomoresecret'
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_FULL=1
export BRANCH_OVERRIDE=default
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
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 }}'

View File

@ -1057,16 +1057,6 @@
- openstack/virtualbmc
- x/virtualpdu
- job:
name: legacy-tempest-dsvm-ldap-domain-specific-driver
parent: legacy-dsvm-base
run: playbooks/legacy/tempest-dsvm-ldap-domain-specific-driver/run.yaml
post-run: playbooks/legacy/tempest-dsvm-ldap-domain-specific-driver/post.yaml
timeout: 10800
required-projects:
- openstack/devstack-gate
- openstack/tempest
- job:
name: legacy-tempest-dsvm-lvm-multibackend
parent: legacy-dsvm-base