Skip to content

Commit

Permalink
tasks: add docker auth to ALL tasks
Browse files Browse the repository at this point in the history
to avoid rate limiting.
We use the same credhub path for the secret in all concourse
instances managed by the team. So the task should be reusable
by other concourse instances.
  • Loading branch information
arjun024 committed Jul 31, 2024
1 parent 23a19d0 commit 6a6d43a
Show file tree
Hide file tree
Showing 62 changed files with 124 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/add-gcp-parent-dns-record/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))

inputs:
- name: buildpacks-ci
Expand Down
2 changes: 2 additions & 0 deletions tasks/build-binary-new-cflinuxfs4/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cloudfoundry/cflinuxfs4
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: binary-builder
- name: buildpacks-ci
Expand Down
2 changes: 2 additions & 0 deletions tasks/build-binary-new/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cloudfoundry/cflinuxfs3
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: binary-builder
- name: buildpacks-ci
Expand Down
2 changes: 2 additions & 0 deletions tasks/build-image/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ image_resource:
type: registry-image
source:
repository: vito/oci-build-task
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))

inputs:
- name: source
Expand Down
2 changes: 2 additions & 0 deletions tasks/buildpack-to-master/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: repo
Expand Down
2 changes: 2 additions & 0 deletions tasks/cf-release/create-cats-integration-config/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ image_resource:
source:
repository: cfbuildpacks/ci
tag: latest
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: cf-deployment-concourse-tasks
Expand Down
2 changes: 2 additions & 0 deletions tasks/cf-release/upload-bosh-release/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ image_resource:
source:
repository: cfbuildpacks/ci
tag: latest
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: cf-deployment-concourse-tasks
Expand Down
2 changes: 2 additions & 0 deletions tasks/cf/create-space/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ image_resource:
source:
repository: cfbuildpacks/ci
tag: latest
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))

inputs:
- name: ci
Expand Down
2 changes: 2 additions & 0 deletions tasks/cf/redeploy/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ image_resource:
source:
repository: cfbuildpacks/ci
tag: latest
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))

inputs:
- name: ci
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: binary-builder
- name: buildpacks-ci
Expand Down
2 changes: 2 additions & 0 deletions tasks/check-for-new-rootfs-cves-cflinuxfs4/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: new-cves
- name: buildpacks-ci
Expand Down
2 changes: 2 additions & 0 deletions tasks/check-for-new-rootfs-cves/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: new-cves
- name: buildpacks-ci
Expand Down
2 changes: 2 additions & 0 deletions tasks/check-for-rootfs-race-condition/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: version
Expand Down
2 changes: 2 additions & 0 deletions tasks/check-php-modules-in-manifest/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpack
- name: buildpacks-ci
Expand Down
2 changes: 2 additions & 0 deletions tasks/check-tag-not-already-added/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: buildpack
Expand Down
2 changes: 2 additions & 0 deletions tasks/configure-pas/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))

inputs:
- name: buildpacks-ci
Expand Down
2 changes: 2 additions & 0 deletions tasks/create-bosh-release/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: release
Expand Down
2 changes: 2 additions & 0 deletions tasks/create-bump-buildpacks-opsfile/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: java-buildpack
- name: go-buildpack-stack0
Expand Down
2 changes: 2 additions & 0 deletions tasks/create-capi-release-with-rootfs/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: stack-s3
Expand Down
2 changes: 2 additions & 0 deletions tasks/create-cf-space-toolsmiths/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: environment
Expand Down
2 changes: 2 additions & 0 deletions tasks/create-deployment-source-config/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cloudfoundry/cf-deployment-concourse-tasks
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: bbl-state
- name: buildpacks-ci
Expand Down
2 changes: 2 additions & 0 deletions tasks/create-new-version-line-story/create_node_lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: source
Expand Down
2 changes: 2 additions & 0 deletions tasks/create-rootfs-bosh-release-commit/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: release-artifacts
outputs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: version
Expand Down
2 changes: 2 additions & 0 deletions tasks/delete-cf-space/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: cf-space
Expand Down
2 changes: 2 additions & 0 deletions tasks/detect-and-upload/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: pivotal-buildpack
optional: true
Expand Down
2 changes: 2 additions & 0 deletions tasks/finalize-buildpack/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: buildpack
Expand Down
2 changes: 2 additions & 0 deletions tasks/generate-buildpacks-json/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: buildpacks-site
Expand Down
2 changes: 2 additions & 0 deletions tasks/generate-dependency-deprecation-github-issue/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: buildpack
Expand Down
2 changes: 2 additions & 0 deletions tasks/generate-rootfs-receipt-diff/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: previous-rootfs-release
Expand Down
2 changes: 2 additions & 0 deletions tasks/generate-rootfs-release-notes/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: previous-rootfs-release
- name: buildpacks-ci
Expand Down
2 changes: 2 additions & 0 deletions tasks/get-buildpack-github-release-notes/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: registry-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: buildpack
Expand Down
2 changes: 2 additions & 0 deletions tasks/get-cf-creds/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: bbl-state
Expand Down
2 changes: 2 additions & 0 deletions tasks/make-rootfs/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: rootfs
Expand Down
2 changes: 2 additions & 0 deletions tasks/overwrite-rootfs-release/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: stack-s3
Expand Down
2 changes: 2 additions & 0 deletions tasks/remove-gcp-parent-dns-record/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))

inputs:
- name: buildpacks-ci
Expand Down
2 changes: 2 additions & 0 deletions tasks/rename-rootfs-for-docker/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: stack-s3
outputs:
Expand Down
2 changes: 2 additions & 0 deletions tasks/repackage-dependency/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cloudfoundry/cflinuxfs3
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: source
Expand Down
2 changes: 2 additions & 0 deletions tasks/rootfs/create-bosh-release-commit/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: release-artifacts
outputs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: version
Expand Down
2 changes: 2 additions & 0 deletions tasks/rootfs/create-release/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: blob
Expand Down
2 changes: 2 additions & 0 deletions tasks/rootfs/rename-for-docker/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: stack-s3
Expand Down
2 changes: 2 additions & 0 deletions tasks/rootfs/run-rootfs-smoke-test/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: bbl-state
Expand Down
2 changes: 2 additions & 0 deletions tasks/rootfs/update-filename/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
username: ((coredeps-dockerhub-user.username))
password: ((coredeps-dockerhub-user.password))
inputs:
- name: buildpacks-ci
- name: stack-s3
Expand Down
Loading

0 comments on commit 6a6d43a

Please sign in to comment.