Skip to content

Commit

Permalink
Merge pull request #156 from cloud-gov/update-images
Browse files Browse the repository at this point in the history
update to use hardened images
  • Loading branch information
dandersonsw authored Jul 8, 2024
2 parents 08a230c + e3ebbd2 commit 92811f9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 72 deletions.
83 changes: 14 additions & 69 deletions pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
platform: linux
image_resource:
type: registry-image
source:
source: &general-task
aws_access_key_id: ((ecr_aws_key))
aws_secret_access_key: ((ecr_aws_secret))
repository: harden-concourse-task
repository: general-task
aws_region: us-gov-west-1
tag: ((harden-concourse-task-tag))
tag: latest
path: cf-hello-worlds/python-flask
manifest: cf-hello-worlds/python-flask/manifest.yml
- put: deploy-python-flask-production
Expand All @@ -38,12 +38,7 @@ jobs:
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))
source: *general-task
path: cf-hello-worlds/python-flask
manifest: cf-hello-worlds/python-flask/manifest.yml
on_failure:
Expand Down Expand Up @@ -74,12 +69,7 @@ jobs:
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))
source: *general-task
path: cf-hello-worlds/ruby-sinatra
manifest: cf-hello-worlds/ruby-sinatra/manifest.yml
- put: deploy-ruby-sinatra-production
Expand All @@ -88,12 +78,7 @@ jobs:
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))
source: *general-task
path: cf-hello-worlds/ruby-sinatra
manifest: cf-hello-worlds/ruby-sinatra/manifest.yml
on_failure:
Expand Down Expand Up @@ -121,12 +106,7 @@ jobs:
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))
source: *general-task
path: cf-hello-worlds/nodejs
manifest: cf-hello-worlds/nodejs/manifest.yml
- put: deploy-nodejs-production
Expand All @@ -135,12 +115,7 @@ jobs:
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))
source: *general-task
path: cf-hello-worlds/nodejs
manifest: cf-hello-worlds/nodejs/manifest.yml
on_failure:
Expand Down Expand Up @@ -168,12 +143,7 @@ jobs:
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))
source: *general-task
path: cf-hello-worlds/php
manifest: cf-hello-worlds/php/manifest.yml
- put: deploy-php-production
Expand All @@ -182,12 +152,7 @@ jobs:
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))
source: *general-task
path: cf-hello-worlds/php
manifest: cf-hello-worlds/php/manifest.yml
on_failure:
Expand Down Expand Up @@ -217,12 +182,7 @@ jobs:
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))
source: *general-task
path: cf-hello-worlds-build/java-see/target/hello-world-0.0.1-SNAPSHOT.jar
manifest: cf-hello-worlds-build/java-see/manifest.yml
- put: deploy-java-production
Expand All @@ -231,12 +191,7 @@ jobs:
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))
source: *general-task
path: cf-hello-worlds-build/java-see/target/hello-world-0.0.1-SNAPSHOT.jar
manifest: cf-hello-worlds-build/java-see/manifest.yml
on_failure:
Expand Down Expand Up @@ -264,12 +219,7 @@ jobs:
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))
source: *general-task
path: cf-hello-worlds/dotnet-core
manifest: cf-hello-worlds/dotnet-core/manifest.yml
- put: deploy-dotnet-core-production
Expand All @@ -278,12 +228,7 @@ jobs:
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))
source: *general-task
path: cf-hello-worlds/dotnet-core
manifest: cf-hello-worlds/dotnet-core/manifest.yml
on_failure:
Expand Down
4 changes: 2 additions & 2 deletions python-flask/check-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ image_resource:
source:
aws_access_key_id: ((ecr_aws_key))
aws_secret_access_key: ((ecr_aws_secret))
repository: harden-concourse-task
repository: general-task
aws_region: us-gov-west-1
tag: ((harden-concourse-task-tag))
tag: latest
inputs:
- {name: cf-hello-worlds}

Expand Down
2 changes: 1 addition & 1 deletion python-flask/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ applications:
- python_buildpack
memory: 256M
stack: cflinuxfs4

0 comments on commit 92811f9

Please sign in to comment.