Update CI pipeline

2.5.x
Phillip Webb 2 years ago
parent f8ac264bd1
commit 46c8b58eb5

@ -99,12 +99,6 @@ resource_types:
<<: *registry-image-resource-source <<: *registry-image-resource-source
repository: springio/artifactory-resource repository: springio/artifactory-resource
tag: 0.0.18 tag: 0.0.18
- name: pull-request
type: registry-image
source:
<<: *registry-image-resource-source
repository: teliaoss/github-pr-resource
tag: v0.23.0
- name: github-status-resource - name: github-status-resource
type: registry-image type: registry-image
source: source:
@ -137,14 +131,6 @@ resources:
git_config: git_config:
- name: core.autocrlf - name: core.autocrlf
value: true value: true
- name: git-pull-request
type: pull-request
icon: source-pull
source:
access_token: ((github-ci-pull-request-token))
repository: ((github-repo-name))
base_branch: ((branch))
ignore_paths: ["ci/*"]
- name: github-pre-release - name: github-pre-release
type: github-release type: github-release
icon: briefcase-download-outline icon: briefcase-download-outline
@ -394,34 +380,6 @@ jobs:
- put: slack-alert - put: slack-alert
params: params:
<<: *slack-success-params <<: *slack-success-params
- name: build-pull-requests
serial: true
public: true
plan:
- get: 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
image: ci-image
file: git-repo/ci/tasks/build-pr-project.yml
timeout: ((task-timeout))
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: jdk11-build - name: jdk11-build
serial: true serial: true
public: true public: true
@ -763,5 +721,4 @@ groups:
jobs: ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release", "create-github-release", "publish-gradle-plugin", "publish-to-sdkman", "update-homebrew-tap"] jobs: ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release", "create-github-release", "publish-gradle-plugin", "publish-to-sdkman", "update-homebrew-tap"]
- name: "ci-images" - name: "ci-images"
jobs: ["build-ci-images", "detect-docker-updates", "detect-jdk-updates", "detect-ubuntu-image-updates"] jobs: ["build-ci-images", "detect-docker-updates", "detect-jdk-updates", "detect-ubuntu-image-updates"]
- name: "pull-requests"
jobs: ["build-pull-requests"]

Loading…
Cancel
Save