Skip to content

Commit

Permalink
adding vars for region and az, updating disa ec2 workflow
Browse files Browse the repository at this point in the history
Signed-off-by: wdower <will@dower.dev>
  • Loading branch information
wdower committed Mar 25, 2024
1 parent 3ee44ec commit 4781f64
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 25 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/lint-profile.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: Lint & Check the Profile

on:
workflow_dispatch:
# push:
# branches-ignore:
# - none
# pull_request:
push:
branches-ignore:
- none
pull_request:

jobs:
validate:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/verify-container.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: UBI8 Testing Matrix

on:
workflow_dispatch:
# push:
# branches-ignore:
# - none
# pull_request:
push:
branches-ignore:
- none
pull_request:

jobs:
validate:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/verify-disa-hardened-ec2.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: DISA Hardened EC2 Testing Matrix

on:
workflow_dispatch:
# push:
# branches-ignore:
# - none
# pull_request:
push:
branches-ignore:
- none
pull_request:

jobs:
validate:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/verify-ec2.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: EC2 Testing Matrix

on:
workflow_dispatch:
# push:
# branches-ignore:
# - none
# pull_request:
push:
branches-ignore:
- none
pull_request:

jobs:
validate:
Expand Down
7 changes: 4 additions & 3 deletions kitchen.disa.ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ platforms:

driver:
name: ec2
# subnet_filter:
# tag: 'Default'
# value: '*public*'
subnet_id: <%= ENV['SAF_PIPELINE_SUBNET'] %>
security_group_ids: <%= ENV['SAF_PIPELINE_SG'] %>
region: <%= ENV['SAF_REGION'] %>
availability_zone: <%= ENV['SAF_AZ'] %>
metadata_options:
http_tokens: required
http_put_response_hop_limit: 1
Expand Down
4 changes: 2 additions & 2 deletions kitchen.ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ driver:
name: ec2
subnet_id: <%= ENV['SAF_PIPELINE_SUBNET'] %>
security_group_ids: <%= ENV['SAF_PIPELINE_SG'] %>
region: us-east-1
availability_zone: a
region: <%= ENV['SAF_REGION'] %>
availability_zone: <%= ENV['SAF_AZ'] %>
metadata_options:
http_tokens: required
http_put_response_hop_limit: 1
Expand Down

0 comments on commit 4781f64

Please sign in to comment.