diff --git a/ci/pipeline.yml b/ci/pipeline.yml index f375680..8fa7cce 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -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 @@ -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