Remove pull request and CI image builds from 2.0.x pipeline
This commit is contained in:
parent
a50ef54e3b
commit
a9020df9b9
|
@ -21,19 +21,6 @@ resources:
|
||||||
password: ((github-password))
|
password: ((github-password))
|
||||||
branch: ((branch))
|
branch: ((branch))
|
||||||
ignore_paths: ["ci/images/*"]
|
ignore_paths: ["ci/images/*"]
|
||||||
- name: git-pull-request
|
|
||||||
type: pull-request
|
|
||||||
source:
|
|
||||||
access_token: ((github-access-token))
|
|
||||||
repo: ((github-repo-name))
|
|
||||||
base: ((branch))
|
|
||||||
ignore_paths: ["ci/*"]
|
|
||||||
- name: ci-images-git-repo
|
|
||||||
type: git
|
|
||||||
source:
|
|
||||||
uri: ((github-repo))
|
|
||||||
branch: ((branch))
|
|
||||||
paths: ["ci/images/*"]
|
|
||||||
- name: spring-boot-ci-image
|
- name: spring-boot-ci-image
|
||||||
type: docker-image
|
type: docker-image
|
||||||
source:
|
source:
|
||||||
|
@ -73,19 +60,6 @@ resources:
|
||||||
from: ((email-from))
|
from: ((email-from))
|
||||||
to: ((email-to))
|
to: ((email-to))
|
||||||
jobs:
|
jobs:
|
||||||
- name: build-spring-boot-ci-images
|
|
||||||
plan:
|
|
||||||
- get: ci-images-git-repo
|
|
||||||
trigger: true
|
|
||||||
- put: spring-boot-ci-image
|
|
||||||
params:
|
|
||||||
build: ci-images-git-repo/ci/images/spring-boot-ci-image
|
|
||||||
- put: spring-boot-jdk9-ci-image
|
|
||||||
params:
|
|
||||||
build: ci-images-git-repo/ci/images/spring-boot-jdk9-ci-image
|
|
||||||
- put: spring-boot-jdk10-ci-image
|
|
||||||
params:
|
|
||||||
build: ci-images-git-repo/ci/images/spring-boot-jdk10-ci-image
|
|
||||||
- name: build
|
- name: build
|
||||||
serial: true
|
serial: true
|
||||||
public: true
|
public: true
|
||||||
|
@ -133,47 +107,6 @@ jobs:
|
||||||
properties:
|
properties:
|
||||||
"zip.type": "docs"
|
"zip.type": "docs"
|
||||||
"zip.deployed": "false"
|
"zip.deployed": "false"
|
||||||
- name: build-pull-requests
|
|
||||||
serial: true
|
|
||||||
public: true
|
|
||||||
plan:
|
|
||||||
- get: spring-boot-ci-image
|
|
||||||
- get: git-repo
|
|
||||||
resource: git-pull-request
|
|
||||||
trigger: true
|
|
||||||
version: every
|
|
||||||
- do:
|
|
||||||
- put: git-pull-request
|
|
||||||
params:
|
|
||||||
path: git-repo
|
|
||||||
status: pending
|
|
||||||
- task: build-project
|
|
||||||
timeout: 1h30m
|
|
||||||
image: spring-boot-ci-image
|
|
||||||
file: git-repo/ci/tasks/build-pr-project.yml
|
|
||||||
- aggregate:
|
|
||||||
- task: build-samples
|
|
||||||
timeout: 1h30m
|
|
||||||
image: spring-boot-ci-image
|
|
||||||
file: git-repo/ci/tasks/build-samples.yml
|
|
||||||
- task: build-integration-tests
|
|
||||||
timeout: 1h30m
|
|
||||||
image: spring-boot-ci-image
|
|
||||||
file: git-repo/ci/tasks/build-integration-tests.yml
|
|
||||||
- task: build-deployment-tests
|
|
||||||
timeout: 1h30m
|
|
||||||
image: spring-boot-ci-image
|
|
||||||
file: git-repo/ci/tasks/build-deployment-tests.yml
|
|
||||||
on_success:
|
|
||||||
put: git-pull-request
|
|
||||||
params:
|
|
||||||
path: git-repo
|
|
||||||
status: success
|
|
||||||
on_failure:
|
|
||||||
put: git-pull-request
|
|
||||||
params:
|
|
||||||
path: git-repo
|
|
||||||
status: failure
|
|
||||||
- name: jdk9-build
|
- name: jdk9-build
|
||||||
serial: true
|
serial: true
|
||||||
public: true
|
public: true
|
||||||
|
@ -373,7 +306,3 @@ groups:
|
||||||
jobs: ["build", "jdk9-build", "jdk10-build"]
|
jobs: ["build", "jdk9-build", "jdk10-build"]
|
||||||
- name: "Release"
|
- name: "Release"
|
||||||
jobs: ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release", "sync-to-maven-central"]
|
jobs: ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release", "sync-to-maven-central"]
|
||||||
- name: "CI Images"
|
|
||||||
jobs: ["build-spring-boot-ci-images"]
|
|
||||||
- name: "Build Pull Requests"
|
|
||||||
jobs: ["build-pull-requests"]
|
|
||||||
|
|
Loading…
Reference in New Issue