Remove fuel jobs
Fuel and fuel-ccp are retired, remove all jobs mentioning them. Depends-On: https://review.opendev.org/699362 Change-Id: Ie540dcea35f127dd4ac9fd5e97809abd485b4d14
This commit is contained in:
parent
b41cad7756
commit
ce76dd014c
|
@ -1,45 +0,0 @@
|
|||
- hosts: all
|
||||
name: Autoconverted job legacy-fuel-ccp-validate from old job gate-fuel-ccp-validate
|
||||
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
|
||||
cd "$WORKSPACE"
|
||||
cat > clonemap.yaml << EOF
|
||||
clonemap:
|
||||
- name: x/fuel-ccp
|
||||
dest: fuel-ccp
|
||||
EOF
|
||||
/usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \
|
||||
https://opendev.org \
|
||||
x/fuel-ccp
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
set -e
|
||||
set -x
|
||||
cd "$WORKSPACE/fuel-ccp/tools/gate"
|
||||
./run.sh
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,100 +0,0 @@
|
|||
- hosts: all
|
||||
name: Autoconverted job legacy-fuel-library-puppet-lint from old job gate-fuel-library-puppet-lint
|
||||
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 -e
|
||||
set -x
|
||||
if [ -f /usr/bin/yum ]; then
|
||||
sudo yum -y remove rdo-release "centos-release-openstack-*" "centos-release-ceph-*"
|
||||
sudo yum -y install libxml2-devel libxslt-devel ruby-devel zlib-devel
|
||||
sudo yum -y groupinstall "Development Tools"
|
||||
# Uninstall python-requests from pip, since we install it in
|
||||
# system-config/install_puppet.sh
|
||||
sudo pip uninstall requests -y || true
|
||||
elif [ -f /usr/bin/apt-get ]; then
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libxml2-dev libxslt-dev ruby-dev zlib1g-dev
|
||||
fi
|
||||
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 }}'
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
if [ -f Modulefile -o -f metadata.json ]; then
|
||||
if [ -f Modulefile ]; then
|
||||
MODULE=$(awk '/^name/ {print $NF}' Modulefile |tr -d \"\')
|
||||
elif [ -f metadata.json ]; then
|
||||
MODULE=$(python -c 'import json;print json.load(open("metadata.json"))["name"]')
|
||||
fi
|
||||
if [ -z "$MODULE" ]; then
|
||||
echo "Module name not defined in Modulefile or metadata.json"
|
||||
else
|
||||
mkdir -p "$MODULE"
|
||||
rsync -a --exclude="$MODULE" --exclude ".*" . "$MODULE"
|
||||
cd "$MODULE"
|
||||
fi
|
||||
fi
|
||||
mkdir .bundled_gems
|
||||
export GEM_HOME=`pwd`/.bundled_gems
|
||||
if [ -f Gemfile ]; then
|
||||
gem install bundler --no-rdoc --no-ri --verbose
|
||||
$GEM_HOME/bin/bundle install --without system_tests
|
||||
$GEM_HOME/bin/bundle exec rake lint 2>&1
|
||||
else
|
||||
gem install rake -n ./.bundled_gems/
|
||||
gem install puppet-lint
|
||||
gem install puppetlabs_spec_helper
|
||||
./.bundled_gems/rake lint 2>&1
|
||||
fi
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,83 +0,0 @@
|
|||
- hosts: all
|
||||
name: Autoconverted job legacy-fuel-library-puppet-unit-4.5-centos-7 from old job
|
||||
gate-fuel-library-puppet-unit-4.5-centos-7
|
||||
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 -e
|
||||
set -x
|
||||
if [ -f /usr/bin/yum ]; then
|
||||
sudo yum -y remove rdo-release "centos-release-openstack-*" "centos-release-ceph-*"
|
||||
sudo yum -y install libxml2-devel libxslt-devel ruby-devel zlib-devel
|
||||
sudo yum -y groupinstall "Development Tools"
|
||||
# Uninstall python-requests from pip, since we install it in
|
||||
# system-config/install_puppet.sh
|
||||
sudo pip uninstall requests -y || true
|
||||
elif [ -f /usr/bin/apt-get ]; then
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libxml2-dev libxslt-dev ruby-dev zlib1g-dev
|
||||
fi
|
||||
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 }}'
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
if [ "4.5" != "latest" ]; then
|
||||
export PUPPET_GEM_VERSION='~> 4.5.0'
|
||||
fi
|
||||
mkdir .bundled_gems
|
||||
export GEM_HOME=`pwd`/.bundled_gems
|
||||
gem install bundler --no-rdoc --no-ri --verbose
|
||||
$GEM_HOME/bin/bundle install --retry 3
|
||||
$GEM_HOME/bin/bundle exec rake spec SPEC_OPTS='--format documentation'
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,100 +0,0 @@
|
|||
- hosts: all
|
||||
name: Autoconverted job legacy-fuel-octane-puppet-lint from old job gate-fuel-octane-puppet-lint
|
||||
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 -e
|
||||
set -x
|
||||
if [ -f /usr/bin/yum ]; then
|
||||
sudo yum -y remove rdo-release "centos-release-openstack-*" "centos-release-ceph-*"
|
||||
sudo yum -y install libxml2-devel libxslt-devel ruby-devel zlib-devel
|
||||
sudo yum -y groupinstall "Development Tools"
|
||||
# Uninstall python-requests from pip, since we install it in
|
||||
# system-config/install_puppet.sh
|
||||
sudo pip uninstall requests -y || true
|
||||
elif [ -f /usr/bin/apt-get ]; then
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libxml2-dev libxslt-dev ruby-dev zlib1g-dev
|
||||
fi
|
||||
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 }}'
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
if [ -f Modulefile -o -f metadata.json ]; then
|
||||
if [ -f Modulefile ]; then
|
||||
MODULE=$(awk '/^name/ {print $NF}' Modulefile |tr -d \"\')
|
||||
elif [ -f metadata.json ]; then
|
||||
MODULE=$(python -c 'import json;print json.load(open("metadata.json"))["name"]')
|
||||
fi
|
||||
if [ -z "$MODULE" ]; then
|
||||
echo "Module name not defined in Modulefile or metadata.json"
|
||||
else
|
||||
mkdir -p "$MODULE"
|
||||
rsync -a --exclude="$MODULE" --exclude ".*" . "$MODULE"
|
||||
cd "$MODULE"
|
||||
fi
|
||||
fi
|
||||
mkdir .bundled_gems
|
||||
export GEM_HOME=`pwd`/.bundled_gems
|
||||
if [ -f Gemfile ]; then
|
||||
gem install bundler --no-rdoc --no-ri --verbose
|
||||
$GEM_HOME/bin/bundle install --without system_tests
|
||||
$GEM_HOME/bin/bundle exec rake lint 2>&1
|
||||
else
|
||||
gem install rake -n ./.bundled_gems/
|
||||
gem install puppet-lint
|
||||
gem install puppetlabs_spec_helper
|
||||
./.bundled_gems/rake lint 2>&1
|
||||
fi
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -31,33 +31,6 @@
|
|||
- openstack/devstack-gate
|
||||
- openstack/os-loganalyze
|
||||
|
||||
- job:
|
||||
name: legacy-fuel-ccp-validate
|
||||
parent: legacy-base
|
||||
run: playbooks/legacy/fuel-ccp-validate/run.yaml
|
||||
timeout: 1800
|
||||
required-projects:
|
||||
- x/fuel-ccp
|
||||
|
||||
- job:
|
||||
name: legacy-fuel-library-puppet-lint
|
||||
parent: legacy-base
|
||||
run: playbooks/legacy/fuel-library-puppet-lint/run.yaml
|
||||
timeout: 1800
|
||||
|
||||
- job:
|
||||
name: legacy-fuel-library-puppet-unit-4.5-centos-7
|
||||
parent: legacy-base
|
||||
run: playbooks/legacy/fuel-library-puppet-unit-4.5-centos-7/run.yaml
|
||||
timeout: 3600
|
||||
nodeset: legacy-centos-7
|
||||
|
||||
- job:
|
||||
name: legacy-fuel-octane-puppet-lint
|
||||
parent: legacy-base
|
||||
run: playbooks/legacy/fuel-octane-puppet-lint/run.yaml
|
||||
timeout: 1800
|
||||
|
||||
- job:
|
||||
name: legacy-gearman-plugin-hpi-artifact
|
||||
parent: legacy-publish-openstack-artifacts
|
||||
|
|
|
@ -1,23 +1,3 @@
|
|||
- project-template:
|
||||
name: fuel-ccp-component
|
||||
check:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
- legacy-fuel-ccp-validate
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
- legacy-fuel-ccp-validate
|
||||
|
||||
- project-template:
|
||||
name: fuel-ccp-cross-repo-gate
|
||||
check:
|
||||
jobs:
|
||||
- legacy-fuel-ccp-validate
|
||||
gate:
|
||||
jobs:
|
||||
- legacy-fuel-ccp-validate
|
||||
|
||||
- project-template:
|
||||
name: infra-logstash-filter-jobs
|
||||
check:
|
||||
|
|
Loading…
Reference in New Issue