Remove puppet-forge jobs

Remove the now unused jobs legacy-puppet-httpd-forge-upload and
legacy-puppet-storyboard-forge-upload.

Also, remove parent legacy-puppet-openstack-integration, it's not used
anymore.

Depends-On: https://review.opendev.org/710110
Change-Id: I6998d80228fd16911b660aa04f40e710bae1df99
This commit is contained in:
Andreas Jaeger 2020-02-26 19:45:59 +01:00
parent 8f1859f4a3
commit b9842e3bc6
4 changed files with 0 additions and 189 deletions

View File

@ -1,62 +0,0 @@
- hosts: all
name: Autoconverted job legacy-puppet-httpd-forge-upload from old job puppet-httpd-forge-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 \
https://opendev.org $ZUUL_PROJECT
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
cat > Rakefile << EOF
require 'puppet_blacksmith/rake_tasks'
EOF
TAG=${ZUUL_REF:10}
sed -i -e 's/ "version":.*/ "version": "'$TAG'",/' metadata.json
mkdir .bundled_gems
export GEM_HOME=`pwd`/.bundled_gems
gem install --no-ri --no-rdoc puppetlabs_spec_helper puppet-blacksmith
rake module:push
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'

View File

@ -1,62 +0,0 @@
- hosts: all
name: Autoconverted job legacy-puppet-storyboard-forge-upload from old job puppet-storyboard-forge-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 \
https://opendev.org $ZUUL_PROJECT
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
cat > Rakefile << EOF
require 'puppet_blacksmith/rake_tasks'
EOF
TAG=${ZUUL_REF:10}
sed -i -e 's/ "version":.*/ "version": "'$TAG'",/' metadata.json
mkdir .bundled_gems
export GEM_HOME=`pwd`/.bundled_gems
gem install --no-ri --no-rdoc puppetlabs_spec_helper puppet-blacksmith
rake module:push
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'

View File

@ -882,59 +882,6 @@
branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
nodeset: legacy-ubuntu-bionic-2-node
- job:
name: legacy-puppet-openstack-integration
abstract: true
description: |
Base job for autoconverted legacy puppet-openstack-integration
This job runs provides the base required projects for
puppet-openstack-integration jobs.
nodeset: devstack-single-node
pre-run: playbooks/legacy/pre.yaml
required-projects:
- openstack/puppet-aodh
- openstack/puppet-barbican
- openstack/puppet-ceilometer
- openstack/puppet-ceph
- openstack/puppet-cinder
- openstack/puppet-cloudkitty
- openstack/puppet-congress
- openstack/puppet-designate
- openstack/puppet-ec2api
- openstack/puppet-glance
- openstack/puppet-gnocchi
- openstack/puppet-heat
- openstack/puppet-horizon
- openstack/puppet-ironic
- openstack/puppet-keystone
- openstack/puppet-manila
- openstack/puppet-mistral
- x/puppet-modulesync-configs
- openstack/puppet-monasca
- openstack/puppet-murano
- openstack/puppet-neutron
- openstack/puppet-nova
- openstack/puppet-octavia
- openstack/puppet-openstack-cookiecutter
- openstack/puppet-openstack-integration
- openstack/puppet-openstack_extras
- openstack/puppet-openstacklib
- openstack/puppet-oslo
- openstack/puppet-ovn
- openstack/puppet-panko
- openstack/puppet-qdr
- openstack/puppet-sahara
- openstack/puppet-swift
- openstack/puppet-tacker
- openstack/puppet-tempest
- openstack/puppet-trove
- openstack/puppet-vswitch
- openstack/puppet-vitrage
- openstack/puppet-watcher
- openstack/puppet-zaqar
- openstack/tempest-horizon
- job:
name: legacy-publish-openstack-artifacts
abstract: true

View File

@ -544,12 +544,6 @@
- x/tap-as-a-service
- openstack/tempest
- job:
name: legacy-puppet-httpd-forge-upload
parent: legacy-base
run: playbooks/legacy/puppet-httpd-forge-upload/run.yaml
timeout: 1800
- job:
name: legacy-puppet-lint
parent: legacy-base
@ -588,12 +582,6 @@
required-projects:
- opendev/puppet-openstackci
- job:
name: legacy-puppet-storyboard-forge-upload
parent: legacy-puppet-openstack-integration
run: playbooks/legacy/puppet-storyboard-forge-upload/run.yaml
timeout: 1800
- job:
name: legacy-sandbox-tag
parent: legacy-base