Remove legacy-sandbox-tag job

Depends-on: https://review.opendev.org/c/openstack/project-config/+/930319
Change-Id: Id8fc0298233fe5223b4f95c0694cf7e7ac8d80f3
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2024-09-26 17:32:00 +01:00 committed by Dr. Jens Harbott
parent cf0d08f15a
commit ae8b25e808
2 changed files with 0 additions and 56 deletions

View File

@ -1,50 +0,0 @@
- hosts: all
name: Autoconverted job legacy-sandbox-tag from old job sandbox-tag
roles:
- bindep
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 \
https://opendev.org $ZUUL_PROJECT
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 }}'

View File

@ -60,12 +60,6 @@
run: playbooks/legacy/monasca-thresh-maven-build/run.yaml
timeout: 1800
- job:
name: legacy-sandbox-tag
parent: legacy-base
run: playbooks/legacy/sandbox-tag/run.yaml
timeout: 1800
- job:
name: legacy-tempest-dsvm-monasca-transform-python35-functional
parent: legacy-dsvm-base