diff --git a/dev/jenkins/jobs/noop.yaml b/dev/jenkins/jobs/noop.yaml deleted file mode 100644 index ab465a4a18..0000000000 --- a/dev/jenkins/jobs/noop.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- job-template: - name: '{pipeline}-noop' - node: '{node}' - - wrappers: - - build-timeout: - timeout: 30 - - timestamps - - builders: - - gerrit-git-prep - - install-distro-packages - - revoke-sudo - - shell: | - env - - publishers: - - console-log diff --git a/dev/jenkins/jobs/projects.yaml b/dev/jenkins/jobs/projects.yaml deleted file mode 100644 index 123f55bdcd..0000000000 --- a/dev/jenkins/jobs/projects.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# -# The projects in this file are sorted alphabetically. -# - -- project: - name: noop - - jobs: - - '{pipeline}-noop': - pipeline: gate - node: ubuntu-xenial diff --git a/dev/zuul/layout.yaml b/dev/zuul/layout.yaml deleted file mode 100644 index ba93d34004..0000000000 --- a/dev/zuul/layout.yaml +++ /dev/null @@ -1,257 +0,0 @@ -includes: - - python-file: openstack_functions.py - -pipelines: - - name: check - description: Newly uploaded patchsets enter this pipeline to receive an initial +/-1 Verified vote from Jenkins. - success-message: Build succeeded (check pipeline). - failure-message: Build failed (check pipeline). For information on how to proceed, see http://docs.openstack.org/infra/manual/developers.html#automated-testing - manager: IndependentPipelineManager - source: gerrit - precedence: normal - require: - open: True - current-patchset: True - trigger: - gerrit: - - event: patchset-created - - event: change-restored - - event: comment-added - comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*(recheck|reverify) - - event: comment-added - require-approval: - - verified: [-1, -2] - username: jenkins - approval: - - workflow: 1 - success: - gerrit: - verified: 1 - failure: - gerrit: - verified: -1 - - - name: gate - description: Changes that have been approved by core developers are enqueued in order in this pipeline, and if they pass tests in Jenkins, will be merged. - success-message: Build succeeded (gate pipeline). - failure-message: Build failed (gate pipeline). For information on how to proceed, see http://docs.openstack.org/infra/manual/developers.html#automated-testing - manager: DependentPipelineManager - source: gerrit - precedence: high - require: - open: True - current-patchset: True - approval: - - verified: [1, 2] - username: jenkins - - workflow: 1 - trigger: - gerrit: - - event: comment-added - approval: - - workflow: 1 - - event: comment-added - approval: - - verified: 1 - username: jenkins - start: - gerrit: - verified: 0 - success: - gerrit: - verified: 2 - submit: true - failure: - gerrit: - verified: -2 - window-floor: 20 - window-increase-factor: 2 - - - name: post - description: This pipeline runs jobs that operate after each change is merged. - manager: IndependentPipelineManager - source: gerrit - precedence: low - trigger: - gerrit: - - event: ref-updated - ref: ^(?!refs/).*$ - - - name: release-post - description: This pipeline runs release-process-critical jobs that operate after specific changes are merged. - manager: IndependentPipelineManager - source: gerrit - precedence: high - trigger: - gerrit: - - event: ref-updated - ref: ^(?!refs/).*$ - - - name: tag - description: This pipeline runs jobs in response to any tag event. - manager: IndependentPipelineManager - source: gerrit - precedence: high - trigger: - gerrit: - - event: ref-updated - ref: ^refs/tags/.*$ - - - name: pre-release - description: This pipeline runs jobs on projects in response to pre-release tags. - manager: IndependentPipelineManager - source: gerrit - precedence: high - trigger: - gerrit: - - event: ref-updated - ref: ^refs/tags/[0-9]+(\.[0-9]+)*(a|b|rc)[0-9]+$ - - - name: release - description: When a commit is tagged as a release, this pipeline runs jobs that publish archives and documentation. - manager: IndependentPipelineManager - source: gerrit - precedence: high - trigger: - gerrit: - - event: ref-updated - ref: ^refs/tags/[0-9]+(\.[0-9]+)*$ - - - name: silent - description: This pipeline is used for silently testing new jobs. - manager: IndependentPipelineManager - source: gerrit - precedence: low - trigger: - gerrit: - - event: patchset-created - - event: comment-added - comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*(recheck|reverify) - - - name: experimental - description: On-demand pipeline for requesting a run against a set of jobs that are not yet gating. Leave review comment of "check experimental" to run jobs in this pipeline. - success-message: Build succeeded (experimental pipeline). - failure-message: Build failed (experimental pipeline). - manager: IndependentPipelineManager - source: gerrit - precedence: normal - trigger: - gerrit: - - event: comment-added - comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*check experimental\s*$ - success: - gerrit: {} - failure: - gerrit: {} - - - name: periodic - description: Jobs in this queue are triggered on a timer. - manager: IndependentPipelineManager - source: gerrit - precedence: low - trigger: - timer: - - time: '0 * * * *' - - - name: merge-check - description: > - Each time a change merges, this pipeline verifies that all open changes - on the same project are still mergeable. - failure-message: Build failed (merge-check pipeline). - manager: IndependentPipelineManager - ignore-dependencies: true - source: gerrit - precedence: low - require: - approval: - - verified: [1, 2] - username: jenkins - trigger: - zuul: - - event: project-change-merged - merge-failure: - gerrit: - verified: -1 - - - name: periodic-stable - description: Periodic checks of the stable branches. - manager: IndependentPipelineManager - source: gerrit - precedence: low - trigger: - timer: - - time: '1 6 * * *' - - -project-templates: - - name: merge-check - merge-check: - - noop - - - name: noop-jobs - check: - - noop - gate: - - noop - post: - - noop - tag: - - noop - pre-release: - - noop - release: - - noop - experimental: - - noop - silent: - - noop - - - name: gate-noop-jobs - check: - - gate-noop - gate: - - gate-noop - post: - - gate-noop - tag: - - gate-noop - pre-release: - - gate-noop - release: - - gate-noop - experimental: - - gate-noop - silent: - - gate-noop - -jobs: - - name: ^.*$ - parameter-function: set_log_url - - name: completely-bogus-org/test - voting: false - - name: gtest-org/test2 - voting: false - -projects: - - # This project is setup to run the internal zuul 'noop' job. - - name: gtest-org/gtest - template: - - name: merge-check - - name: noop-jobs - - # This project is setup to run the 'gate-noop' job. - - name: gtest-org/gtest2 - template: - - name: merge-check - - name: gate-noop-jobs - - # This project is setup to run jobs in the periodic pipeline - - name: gtest-org/test2 - periodic: - - noop - - # This project is setup to run jobs in the periodic-stable pipeline - - name: gtest-org/test3 - periodic-stable: - - noop diff --git a/dev/zuul/openstack_functions.py b/dev/zuul/openstack_functions.py deleted file mode 100644 index 92c24ec302..0000000000 --- a/dev/zuul/openstack_functions.py +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2013 OpenStack Foundation -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - - -def set_log_url(item, job, params): - if hasattr(item.change, 'refspec'): - path = "%s/%s/%s/%s/" % ( - params['ZUUL_CHANGE'][-2:], params['ZUUL_CHANGE'], - params['ZUUL_PATCHSET'], params['ZUUL_PIPELINE']) - elif hasattr(item.change, 'ref'): - path = "%s/%s/%s/" % ( - params['ZUUL_NEWREV'][:2], params['ZUUL_NEWREV'], - params['ZUUL_PIPELINE']) - else: - path = params['ZUUL_PIPELINE'] + '/' - params['BASE_LOG_PATH'] = path - params['LOG_PATH'] = path + '%s/%s/' % (job.name, - params['ZUUL_UUID'][:7])