From 84dfe1cedecce579098c0bdd1982630693a4f5f2 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 30 Nov 2017 22:26:48 +0100 Subject: [PATCH] Remove legacy-nova-api-ref-src job The job is not used anymore, it has been converted to v3. Remove it. Change-Id: I7def7008663360e98c115a90e5a196ca6eaac7dd Depends-On: Ie4766d451e3738029e355121908b729a9f2fdc8c --- playbooks/legacy/nova-api-ref-src/post.yaml | 75 --------------------- playbooks/legacy/nova-api-ref-src/run.yaml | 59 ---------------- zuul.d/zuul-legacy-jobs.yaml | 10 --- 3 files changed, 144 deletions(-) delete mode 100644 playbooks/legacy/nova-api-ref-src/post.yaml delete mode 100644 playbooks/legacy/nova-api-ref-src/run.yaml diff --git a/playbooks/legacy/nova-api-ref-src/post.yaml b/playbooks/legacy/nova-api-ref-src/post.yaml deleted file mode 100644 index 6db592fa..00000000 --- a/playbooks/legacy/nova-api-ref-src/post.yaml +++ /dev/null @@ -1,75 +0,0 @@ -- hosts: primary - tasks: - - - name: Copy files from api-ref/build/html/ on node - synchronize: - src: '{{ ansible_user_dir }}/workspace/api-ref/build/html/' - dest: '{{ zuul.executor.log_root }}/html/' - mode: pull - copy_links: true - verify_host: true - - - 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=**/*nose_results.html - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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=**/*testr_results.html.gz - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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=/.testrepository/tmp* - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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=**/*testrepository.subunit.gz - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - name: Copy files from {{ ansible_user_dir }}/workspace/ on node - synchronize: - src: '{{ ansible_user_dir }}/workspace/' - dest: '{{ zuul.executor.log_root }}/tox' - mode: pull - copy_links: true - verify_host: true - rsync_opts: - - --include=/.tox/*/log/* - - --include=*/ - - --exclude=* - - --prune-empty-dirs diff --git a/playbooks/legacy/nova-api-ref-src/run.yaml b/playbooks/legacy/nova-api-ref-src/run.yaml deleted file mode 100644 index d3910e58..00000000 --- a/playbooks/legacy/nova-api-ref-src/run.yaml +++ /dev/null @@ -1,59 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-nova-api-ref-src from old job gate-nova-api-ref-src - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - CLONEMAP=`mktemp` - REQS_DIR=`mktemp -d` - function cleanup { - mkdir -p $WORKSPACE - rm -rf $CLONEMAP $REQS_DIR - } - trap cleanup EXIT - cat > $CLONEMAP << EOF - clonemap: - - name: 'openstack/$ZUUL_SHORT_PROJECT_NAME' - dest: . - EOF - # clone os-api-ref into a subdir of the main project, makes - # it easy to find later for installing. - cat >> $CLONEMAP << EOF - - name: openstack/os-api-ref - dest: os-api-ref - - name: openstack/requirements - dest: $REQS_DIR - EOF - /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ - git://git.openstack.org 'openstack/$ZUUL_SHORT_PROJECT_NAME' openstack/os-api-ref openstack/requirements - cp $REQS_DIR/upper-constraints.txt ./ - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh - 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: /usr/local/jenkins/slave_scripts/run-tox-api-ref.sh - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/zuul.d/zuul-legacy-jobs.yaml b/zuul.d/zuul-legacy-jobs.yaml index ec89b54c..5ceeb1a5 100644 --- a/zuul.d/zuul-legacy-jobs.yaml +++ b/zuul.d/zuul-legacy-jobs.yaml @@ -2531,16 +2531,6 @@ post-run: playbooks/legacy/nodejs6-npm-run-test/post.yaml timeout: 2400 -- job: - name: legacy-nova-api-ref-src - parent: legacy-base - success-url: html/ - run: playbooks/legacy/nova-api-ref-src/run.yaml - post-run: playbooks/legacy/nova-api-ref-src/post.yaml - timeout: 1800 - required-projects: - - openstack/nova - - job: name: legacy-novaclient-dsvm-functional-identity-v3-only parent: legacy-dsvm-base