Skip to content

Commit

Permalink
Merge pull request #43 from cloud-gov/chore-ytt-init
Browse files Browse the repository at this point in the history
configure pipeline
  • Loading branch information
drewbo authored Jun 11, 2024
2 parents b2d7eb6 + f221d1b commit 15fb48b
Showing 1 changed file with 8 additions and 62 deletions.
70 changes: 8 additions & 62 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,17 @@ jobs:
serial: true
plan:
- get: src
resource: src
params: {depth: 1}
trigger: true
- get: pipeline-tasks
- get: general-task
- task: init
image: general-task
file: pipeline-tasks/tasks/init.yml
params:
PIPELINE_YML: src/ci/pipeline.yml
- set_pipeline: mailer
file: src/ci/pipeline.yml

file: compiled/set-pipeline.yml

############################
# RESOURCES
Expand Down Expand Up @@ -181,74 +186,15 @@ resources:
location: America/New_York

- name: slack
type: slack-notification
source:
url: ((slack-webhook-url))

- name: node
type: registry-image
source:
aws_access_key_id: ((ecr-aws-key))
aws_secret_access_key: ((ecr-aws-secret))
repository: pages-node-v20
aws_region: us-gov-west-1
tag: latest

- name: general-task
type: registry-image
source:
aws_access_key_id: ((ecr-aws-key))
aws_secret_access_key: ((ecr-aws-secret))
repository: general-task
aws_region: us-gov-west-1
tag: latest


############################
# RESOURCE TYPES

resource_types:
- 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

- name: pull-request
type: registry-image
source:
aws_access_key_id: ((ecr_aws_key))
aws_secret_access_key: ((ecr_aws_secret))
repository: github-pr-resource
aws_region: us-gov-west-1
tag: latest

- name: slack-notification
type: registry-image
source:
aws_access_key_id: ((ecr_aws_key))
aws_secret_access_key: ((ecr_aws_secret))
repository: slack-notification-resource
aws_region: us-gov-west-1
tag: latest

- name: time
type: registry-image
source:
aws_access_key_id: ((ecr_aws_key))
aws_secret_access_key: ((ecr_aws_secret))
repository: time-resource
aws_region: us-gov-west-1
tag: latest

- 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

0 comments on commit 15fb48b

Please sign in to comment.