Convert devstack-bashate to native job
Retire the legacy job for an equivalent native job. Note this drops devstack-gate testing; that runs tox without a basepython so breaks when we move bashate to Python 3. bashate is pinned in devstack-gate to 0.5.0, and devstack-gate is considered deprecated, so it will not update to a non-supported version. We don't need to keep linting it. Change-Id: If2ea649d897293a1129b5e30924080936cfc96de
This commit is contained in:
parent
949a320cce
commit
645b3a0ef4
@ -11,11 +11,6 @@
|
||||
|
||||
- job:
|
||||
name: bashate-devstack
|
||||
parent: legacy-base
|
||||
run: playbooks/legacy/bashate-devstack/run.yaml
|
||||
timeout: 3600
|
||||
run: playbooks/bashate-devstack-master/run.yaml
|
||||
required-projects:
|
||||
- openstack/requirements
|
||||
- openstack/devstack
|
||||
- openstack/devstack-gate
|
||||
|
||||
|
13
playbooks/bashate-devstack-master/run.yaml
Normal file
13
playbooks/bashate-devstack-master/run.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
- hosts: all
|
||||
name: Run bashate against devstack master
|
||||
roles:
|
||||
- bindep
|
||||
|
||||
tasks:
|
||||
- shell: 'tox -e bashate'
|
||||
args:
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/devstack"].src_dir }}'
|
||||
environment:
|
||||
BASHATE_INSTALL_PATH: 'file://{{ ansible_user_dir }}/{{ zuul.project.src_dir }}'
|
||||
|
@ -1,37 +0,0 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-bashate-devstack from old job gate-bashate-devstack
|
||||
roles:
|
||||
- bindep
|
||||
|
||||
tasks:
|
||||
|
||||
- name: Ensure legacy workspace directory
|
||||
file:
|
||||
path: '{{ ansible_user_dir }}/workspace'
|
||||
state: directory
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
set -u
|
||||
set -e
|
||||
set -x
|
||||
cd $WORKSPACE
|
||||
|
||||
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
||||
https://opendev.org \
|
||||
openstack/bashate \
|
||||
openstack/devstack \
|
||||
openstack/devstack-gate
|
||||
|
||||
export BASHATE_INSTALL_PATH=$WORKSPACE/openstack/bashate
|
||||
|
||||
pushd openstack/devstack
|
||||
tox -e bashate
|
||||
popd
|
||||
|
||||
pushd openstack/devstack-gate
|
||||
tox -e bashate
|
||||
popd
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
Loading…
Reference in New Issue
Block a user