Update CI pipeline

This commit is contained in:
Andy Wilkinson
2023-05-25 10:37:43 +01:00
parent e741790f02
commit 7b7ca6659d
3 changed files with 0 additions and 64 deletions

View File

@@ -79,11 +79,6 @@ resource_types:
source:
repository: springio/artifactory-resource
tag: 0.0.17
- name: pull-request
type: registry-image
source:
repository: teliaoss/github-pr-resource
tag: v0.23.0
- name: github-status-resource
type: registry-image
source:
@@ -113,14 +108,6 @@ resources:
git_config:
- name: core.autocrlf
value: true
- name: git-pull-request
type: pull-request
icon: source-pull
source:
access_token: ((github-ci-pull-request-token))
repository: ((github-organization))/((github-repository))
base_branch: ((branch))
ignore_paths: ["ci/*"]
- name: github-pre-release
type: github-release
icon: briefcase-download-outline
@@ -228,34 +215,6 @@ jobs:
- put: slack-alert
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: windows-build
serial: true
plan:
@@ -443,5 +402,3 @@ groups:
jobs: ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release", "create-github-release"]
- name: "ci-images"
jobs: ["build-ci-images"]
- name: "pull-requests"
jobs: ["build-pull-requests"]

View File

@@ -1,8 +0,0 @@
#!/bin/bash
set -e
source $(dirname $0)/common.sh
pushd git-repo > /dev/null
./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false --no-daemon --max-workers=4 --continue build buildSamples
popd > /dev/null

View File

@@ -1,13 +0,0 @@
---
platform: linux
inputs:
- name: git-repo
outputs:
- name: distribution-repository
caches:
- path: gradle
params:
CI: true
GRADLE_ENTERPRISE_URL: https://ge.spring.io
run:
path: git-repo/ci/scripts/build-pr-project.sh