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

update to use hardened images #156

Merged
merged 3 commits into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
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
4 changes: 2 additions & 2 deletions python-flask/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ applications:
random-route: true
buildpacks:
- python_buildpack
memory: 256M
memory: 1G
stack: cflinuxfs4