From d71d8850210545ca910d144fc98c70b38fc2c80e Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 2 Feb 2023 16:04:34 -0800 Subject: [PATCH] Update CI pipeline --- ci/pipeline.yml | 14 -------------- ci/tasks/build-ci-image.yml | 6 ++---- ci/tasks/generate-changelog.yml | 6 ++---- 3 files changed, 4 insertions(+), 22 deletions(-) diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 70c522404f..00daac740e 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -11,8 +11,6 @@ anchors: username: ((docker-hub-username)) password: ((docker-hub-password)) tag: ((milestone)) - registry_mirror: - host: ((docker-hub-mirror)) gradle-enterprise-task-params: &gradle-enterprise-task-params GRADLE_ENTERPRISE_ACCESS_KEY: ((gradle_enterprise_secret_access_key)) GRADLE_ENTERPRISE_CACHE_URL: ((gradle_enterprise_cache_url)) @@ -95,8 +93,6 @@ anchors: gradle-publish-params: &gradle-publish-params GRADLE_PUBLISH_KEY: ((gradle-publish-key)) GRADLE_PUBLISH_SECRET: ((gradle-publish-secret)) - docker-hub-mirror-vars: &docker-hub-mirror-vars - docker-hub-mirror: ((docker-hub-mirror)) resource_types: - name: registry-image type: registry-image @@ -287,7 +283,6 @@ jobs: image: ci-image vars: ci-image-name: ci-image - <<: *docker-hub-mirror-vars - task: build-ci-image-jdk11 privileged: true file: git-repo/ci/tasks/build-ci-image.yml @@ -295,7 +290,6 @@ jobs: image: ci-image-jdk11 vars: ci-image-name: ci-image-jdk11 - <<: *docker-hub-mirror-vars - task: build-ci-image-jdk17 privileged: true file: git-repo/ci/tasks/build-ci-image.yml @@ -303,7 +297,6 @@ jobs: image: ci-image-jdk17 vars: ci-image-name: ci-image-jdk17 - <<: *docker-hub-mirror-vars - task: build-ci-image-jdk19 privileged: true file: git-repo/ci/tasks/build-ci-image.yml @@ -311,7 +304,6 @@ jobs: image: ci-image-jdk19 vars: ci-image-name: ci-image-jdk19 - <<: *docker-hub-mirror-vars - in_parallel: - put: ci-image params: @@ -647,8 +639,6 @@ jobs: RELEASE_TYPE: M GITHUB_USERNAME: ((github-username)) GITHUB_TOKEN: ((github-ci-release-token)) - vars: - <<: *docker-hub-mirror-vars - put: github-pre-release params: name: generated-changelog/tag @@ -678,8 +668,6 @@ jobs: RELEASE_TYPE: RC GITHUB_USERNAME: ((github-username)) GITHUB_TOKEN: ((github-ci-release-token)) - vars: - <<: *docker-hub-mirror-vars - put: github-pre-release params: name: generated-changelog/tag @@ -739,8 +727,6 @@ jobs: RELEASE_TYPE: RELEASE GITHUB_USERNAME: ((github-username)) GITHUB_TOKEN: ((github-ci-release-token)) - vars: - <<: *docker-hub-mirror-vars - put: github-release params: name: generated-changelog/tag diff --git a/ci/tasks/build-ci-image.yml b/ci/tasks/build-ci-image.yml index b50749b19e..a57af31acd 100644 --- a/ci/tasks/build-ci-image.yml +++ b/ci/tasks/build-ci-image.yml @@ -5,10 +5,8 @@ image_resource: source: repository: concourse/oci-build-task tag: 0.10.0 - registry_mirror: - host: ((docker-hub-mirror)) - username: ((docker-hub-mirror-username)) - password: ((docker-hub-mirror-password)) + username: ((docker-hub-username)) + password: ((docker-hub-password)) inputs: - name: ci-images-git-repo outputs: diff --git a/ci/tasks/generate-changelog.yml b/ci/tasks/generate-changelog.yml index 5614a64a52..f4004743db 100755 --- a/ci/tasks/generate-changelog.yml +++ b/ci/tasks/generate-changelog.yml @@ -5,10 +5,8 @@ image_resource: source: repository: springio/github-changelog-generator tag: '0.0.8' - registry_mirror: - host: ((docker-hub-mirror)) - username: ((docker-hub-mirror-username)) - password: ((docker-hub-mirror-password)) + username: ((docker-hub-username)) + password: ((docker-hub-password)) inputs: - name: git-repo - name: artifactory-repo