-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from clouddrove/0.14
upgrade to 0.14
- Loading branch information
Showing
9 changed files
with
113 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,57 +5,81 @@ on: | |
- master | ||
|
||
jobs: | ||
terraform: | ||
name: 'Terraform' | ||
fmt: | ||
name: 'terraform fmt' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout' | ||
uses: actions/checkout@master | ||
|
||
- name: Configure AWS Credentials | ||
- name: 'Terraform Format' | ||
uses: 'clouddrove/[email protected]' | ||
with: | ||
actions_subcommand: 'fmt' | ||
|
||
multi-node: | ||
name: 'multi-node' | ||
needs: fmt | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: 'Checkout' | ||
uses: actions/checkout@master | ||
|
||
- name: 'Configure AWS Credentials' | ||
uses: clouddrove/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.TEST_AWS_ACCESS_KEY }} | ||
aws-secret-access-key: ${{ secrets.TEST_AWS_ACCESS_SECRET_KEY }} | ||
aws-region: us-east-2 | ||
|
||
- name: 'Terraform Format' | ||
uses: 'clouddrove/[email protected]' | ||
with: | ||
actions_subcommand: 'fmt' | ||
|
||
- name: 'Terraform init Multi node' | ||
uses: 'clouddrove/[email protected]' | ||
- name: 'Terraform init multi-node' | ||
uses: 'clouddrove/[email protected]' | ||
with: | ||
actions_subcommand: 'init' | ||
tf_actions_working_dir: ./_example/multi-node | ||
|
||
- name: 'Terraform validate Multi node' | ||
uses: 'clouddrove/github-actions@v4.0' | ||
- name: 'Terraform validate multi-node' | ||
uses: 'clouddrove/github-actions@v6.0' | ||
with: | ||
actions_subcommand: 'validate' | ||
tf_actions_working_dir: ./_example/multi-node | ||
|
||
- name: 'Terraform plan Multi node' | ||
uses: 'clouddrove/github-actions@v4.0' | ||
- name: 'Terraform plan multi-node' | ||
uses: 'clouddrove/github-actions@v6.0' | ||
with: | ||
actions_subcommand: 'plan' | ||
tf_actions_working_dir: ./_example/multi-node | ||
|
||
- name: 'Terraform init Single' | ||
uses: 'clouddrove/[email protected]' | ||
single-node: | ||
name: 'single-node' | ||
needs: fmt | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout' | ||
uses: actions/checkout@master | ||
|
||
- name: 'Configure AWS Credentials' | ||
uses: clouddrove/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.TEST_AWS_ACCESS_KEY }} | ||
aws-secret-access-key: ${{ secrets.TEST_AWS_ACCESS_SECRET_KEY }} | ||
aws-region: us-east-2 | ||
|
||
- name: 'Terraform init single-node' | ||
uses: 'clouddrove/[email protected]' | ||
with: | ||
actions_subcommand: 'init' | ||
tf_actions_working_dir: ./_example/single-node | ||
|
||
- name: 'Terraform validate Single' | ||
uses: 'clouddrove/github-actions@v4.0' | ||
- name: 'Terraform validate single-node' | ||
uses: 'clouddrove/github-actions@v6.0' | ||
with: | ||
actions_subcommand: 'validate' | ||
tf_actions_working_dir: ./_example/single-node | ||
|
||
- name: 'Terraform plan Single' | ||
uses: 'clouddrove/github-actions@v4.0' | ||
- name: 'Terraform plan single-node' | ||
uses: 'clouddrove/github-actions@v6.0' | ||
with: | ||
actions_subcommand: 'plan' | ||
tf_actions_working_dir: ./_example/single-node | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.