Skip to content

Commit

Permalink
Merge pull request #3 from cloud-gov/update-resources
Browse files Browse the repository at this point in the history
update resource_types
  • Loading branch information
dandersonsw authored Oct 23, 2024
2 parents 5008121 + 2058d1f commit 53f7c3d
Showing 1 changed file with 52 additions and 35 deletions.
87 changes: 52 additions & 35 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,60 @@
jobs:
- name: set-self
plan:
- get: src
trigger: true
- set_pipeline: self
file: src/ci/pipeline.yml
- name: set-self
plan:
- get: src
trigger: true
- set_pipeline: self
file: src/ci/pipeline.yml

- name: mirror-dockerhub-image
plan:
- get: docker-hub-image
trigger: true
params:
format: oci

- put: ecr-image
params:
image: docker-hub-image/image.tar
- name: mirror-dockerhub-image
plan:
- get: docker-hub-image
trigger: true
params:
format: oci

- put: ecr-image
params:
image: docker-hub-image/image.tar

resources:
- name: docker-hub-image
type: registry-image
source:
repository: ubuntu
tag: "22.04"

- name: ecr-image
type: registry-image
source:
aws_access_key_id: ((ecr_aws_key))
aws_secret_access_key: ((ecr_aws_secret))
repository: ubuntu
tag: "22.04"
aws_region: us-gov-west-1

- name: docker-hub-image
type: registry-image
source:
repository: ubuntu
tag: "22.04"
- name: src
type: git
source:
uri: https://github.com/cloud-gov/ubuntu-mirror
branch: main
commit_verification_keys: ((cloud-gov-pgp-keys))

- name: ecr-image
type: registry-image
source:
aws_access_key_id: ((ecr_aws_key))
aws_secret_access_key: ((ecr_aws_secret))
repository: ubuntu
tag: "22.04"
aws_region: us-gov-west-1
resource_types:
- name: registry-image
type: registry-image
source:
aws_access_key_id: ((ecr_aws_key))
aws_secret_access_key: ((ecr_aws_secret))
repository: registry-image-resource
aws_region: us-gov-west-1
tag: latest

- name: src
type: git
source:
uri: https://github.com/cloud-gov/ubuntu-mirror
branch: main
commit_verification_keys: ((cloud-gov-pgp-keys))
- name: git
type: registry-image
source:
aws_access_key_id: ((ecr_aws_key))
aws_secret_access_key: ((ecr_aws_secret))
repository: git-resource
aws_region: us-gov-west-1
tag: latest

0 comments on commit 53f7c3d

Please sign in to comment.