Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use hardened containers #327

Merged
merged 6 commits into from
Aug 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions ci/audit-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ jobs:
trigger: false
- get: monthly
trigger: true
- get: general-task
- task: prep-email
file: config-source/ci/audit/service-instances.yml
image: general-task
params:
CF_API_URL: ((prod-cf-api-url))
CF_USERNAME: ((prod-cf-broker-user.username))
Expand Down Expand Up @@ -50,8 +52,10 @@ jobs:
trigger: false
- get: monthly
trigger: true
- get: general-task
- task: prep-email
file: config-source/ci/audit/service-instances.yml
image: general-task
params:
CF_API_URL: ((prod-cf-api-url))
CF_USERNAME: ((prod-cf-broker-user.username))
Expand Down Expand Up @@ -111,7 +115,25 @@ resources:
location: "America/New_York"
fire_immediately: true

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

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

- name: email-resource
type: docker-image
source:
Expand All @@ -122,3 +144,12 @@ resource_types:
type: docker-image
source:
repository: cftoolsmiths/cron-resource

- name: git
type: registry-image
source:
aws_access_key_id: ((aws-key))
aws_secret_access_key: ((aws-secret))
repository: git-resource
aws_region: us-gov-west-1
tag: latest
9 changes: 0 additions & 9 deletions ci/audit/service-instances.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
---
platform: linux

image_resource:
type: registry-image
source:
aws_access_key_id: ((ecr_aws_key))
aws_secret_access_key: ((ecr_aws_secret))
repository: harden-concourse-task
aws_region: us-gov-west-1
tag: ((harden-concourse-task-tag))

inputs:
- name: cg-scripts
Expand Down
9 changes: 0 additions & 9 deletions ci/build-manifest.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
---
platform: linux

image_resource:
type: registry-image
source:
aws_access_key_id: ((ecr_aws_key))
aws_secret_access_key: ((ecr_aws_secret))
repository: harden-concourse-task
aws_region: us-gov-west-1
tag: ((harden-concourse-task-tag))

inputs:
- name: aws-broker-app
- name: terraform-state
Expand Down
Loading