From 5146d0ec914f2969a72135a19b536b2410a97009 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 26 May 2023 09:00:50 +0200 Subject: [PATCH] Remove building PRs from CI --- ci/pipeline.yml | 42 ----------------------------------- ci/tasks/build-pr-project.yml | 10 --------- 2 files changed, 52 deletions(-) delete mode 100644 ci/tasks/build-pr-project.yml diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 6a191d0f..95472f6d 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -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"] diff --git a/ci/tasks/build-pr-project.yml b/ci/tasks/build-pr-project.yml deleted file mode 100644 index f5c7fc21..00000000 --- a/ci/tasks/build-pr-project.yml +++ /dev/null @@ -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 \ No newline at end of file