Remove building PRs from CI

This commit is contained in:
Stephane Nicoll
2023-05-26 09:00:50 +02:00
parent f670ae65f3
commit 5146d0ec91
2 changed files with 0 additions and 52 deletions

View File

@@ -39,11 +39,6 @@ resource_types:
source:
repository: springio/artifactory-resource
tag: 0.0.14
- name: pull-request
type: registry-image
source:
repository: teliaoss/github-pr-resource
tag: v0.23.0
- name: github-release
type: registry-image
source:
@@ -60,14 +55,6 @@ resources:
icon: github
source:
<<: *git-repo-resource-source
- 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-release
type: github-release
icon: briefcase-download
@@ -146,33 +133,6 @@ jobs:
- put: artifactory-repo
params:
<<: *artifactory-repo-put-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
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: stage-release
serial: true
plan:
@@ -241,5 +201,3 @@ groups:
jobs: ["stage-release", "promote-release", "create-github-release"]
- name: "ci-images"
jobs: ["build-ci-image"]
- name: "pull-requests"
jobs: ["build-pull-requests"]

View File

@@ -1,10 +0,0 @@
---
platform: linux
inputs:
- name: git-repo
outputs:
- name: distribution-repository
caches:
- path: maven
run:
path: git-repo/ci/scripts/build-project.sh