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

rename vmseries -> swfw #1

Merged
merged 11 commits into from
Jan 16, 2024
Merged
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
Prev Previous commit
Next Next commit
rename vmseries -> swfw
migara committed Jan 8, 2024

Verified

This commit was signed with the committer’s verified signature.
musmanikram usman ikram
commit b81b361a5dc56387212192ba574ba7bf0f9992e7
17 changes: 8 additions & 9 deletions .github/actions/terratest/action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: 'Terratest'
description: 'Runs Terratest for a specified path.'
name: "Terratest"
description: "Runs Terratest for a specified path."
inputs:
tf_version:
description: 'TF version used.'
description: "TF version used."
required: true
path:
description: 'Path to Terraform module.'
description: "Path to Terraform module."
required: true
terratest_action:
description: The action (name of a test in Terratest) that will be passed to the Makefile's ACTION parameter
@@ -20,7 +20,6 @@ inputs:
runs:
using: "composite"
steps:

- name: setup Terraform
uses: hashicorp/setup-terraform@v2
with:
@@ -30,19 +29,19 @@ runs:
- name: setup Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: "1.20"

- name: login to GCP
uses: google-github-actions/auth@v1
with:
workload_identity_provider: ${{ env.WORKLOAD_IDENTITY_PROVIDER }}
workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ env.GCP_SERVICE_ACCOUNT}}

- name: ${{ inputs.terratest_action }} infrastructure
env:
TPATH: ${{ inputs.path }}
ACTION: ${{ inputs.terratest_action }}
PRID: ${{ inputs.pr-id }}
PROJECT_ID: ${{ env.PROJECT_ID }}
PROJECT_ID: ${{ env.GCP_PROJECT_ID }}
shell: bash
run: make $TPATH ACTION=$ACTION
run: make $TPATH ACTION=$ACTION
2 changes: 1 addition & 1 deletion .github/workflows/apply-command.yml
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ jobs:
uses: PaloAltoNetworks/terraform-modules-swfw-ci-workflows/.github/workflows/test_command.yml@v2.3
secrets: inherit
with:
cloud: azure
cloud: gcp
paths: ${{ inputs.paths }}
tf_version: ${{ inputs.tf_version }}
pr-id: ${{ inputs.pr-id }}
2 changes: 1 addition & 1 deletion .github/workflows/idempotence-command.yml
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ jobs:
uses: PaloAltoNetworks/terraform-modules-swfw-ci-workflows/.github/workflows/test_command.yml@v2.3
secrets: inherit
with:
cloud: azure
cloud: gcp
paths: ${{ inputs.paths }}
tf_version: ${{ inputs.tf_version }}
pr-id: ${{ inputs.pr-id }}
2 changes: 1 addition & 1 deletion .github/workflows/plan-command.yml
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ jobs:
uses: PaloAltoNetworks/terraform-modules-swfw-ci-workflows/.github/workflows/test_command.yml@v2.3
secrets: inherit
with:
cloud: azure
cloud: gcp
paths: ${{ inputs.paths }}
tf_version: ${{ inputs.tf_version }}
pr-id: ${{ inputs.pr-id }}
2 changes: 1 addition & 1 deletion .github/workflows/validate-command.yml
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ jobs:
uses: PaloAltoNetworks/terraform-modules-swfw-ci-workflows/.github/workflows/test_command.yml@v2.3
secrets: inherit
with:
cloud: azure
cloud: gcp
paths: ${{ inputs.paths }}
tf_version: ${{ inputs.tf_version }}
pr-id: ${{ inputs.pr-id }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
# mac specific
.DS_Store
.ansible
.azure/
.gcp/
.bash_history
# don't check storage creds into GH
.boto
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ module github.com/PaloAltoNetworks/terraform-google-swfw-modules
go 1.20

require (
github.com/PaloAltoNetworks/terraform-modules-swfw-tests-skeleton v1.1.0
github.com/PaloAltoNetworks/terraform-modules-swfw-tests-skeleton v1.2.0
github.com/gruntwork-io/terratest v0.43.6
)