From adf3ecffd8909451af3d8415dbdf6b73b6c39d95 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 24 May 2023 17:37:47 -0700 Subject: [PATCH] Update CI --- ci/pipeline.yml | 44 ----------------------------------- ci/tasks/build-pr-project.yml | 11 --------- 2 files changed, 55 deletions(-) delete mode 100644 ci/tasks/build-pr-project.yml diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 8f941a1c..128c9014 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -44,12 +44,6 @@ resource_types: tag: "0.0.18" username: ((docker-hub-username)) password: ((docker-hub-password)) -- name: pull-request - type: registry-image - source: - repository: teliaoss/github-pr-resource - username: ((docker-hub-username)) - password: ((docker-hub-password)) - name: slack-notification type: registry-image source: @@ -65,14 +59,6 @@ resources: username: ((github-username)) password: ((github-ci-release-token)) branch: ((branch)) -- name: git-pull-request - type: pull-request - icon: source-pull - source: - access_token: ((github-ci-pull-request-token)) - repository: ((github-owner))/((github-repository)) - base_branch: ((branch)) - ignore_paths: ["ci/*"] - name: github-pre-release type: github-release icon: briefcase-download-outline @@ -165,34 +151,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: stage-milestone serial: true plan: @@ -366,5 +324,3 @@ groups: jobs: [stage-milestone, stage-rc, stage-release, promote-milestone, promote-rc, promote-release, create-github-release, publish-eclipse-update-site] - name: ci-images jobs: [build-ci-images] -- 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 9430bc00..00000000 --- a/ci/tasks/build-pr-project.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -platform: linux -inputs: -- name: git-repo -outputs: -- name: distribution-repository -caches: -- path: maven -- path: gradle -run: - path: git-repo/ci/scripts/build-project.sh \ No newline at end of file