Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
GH Action version update (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap authored Jul 22, 2020
1 parent 6d925a9 commit d521ad3
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,5 @@ jobs:
- name: Link Checker
uses: ruzickap/action-my-markdown-link-checker@v1
with:
config_file: .mlc_config.json
exclude: |
CHANGELOG.md
6 changes: 3 additions & 3 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v2

- name: Terraform Format
uses: hashicorp/terraform-github-actions@v0.6.4
uses: hashicorp/terraform-github-actions@v0.8.0
with:
tf_actions_version: latest
tf_actions_subcommand: fmt
Expand All @@ -29,7 +29,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Terraform Init
uses: hashicorp/terraform-github-actions@v0.6.4
uses: hashicorp/terraform-github-actions@v0.8.0
with:
tf_actions_version: latest
tf_actions_subcommand: init
Expand All @@ -38,7 +38,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Terraform Validate
uses: hashicorp/terraform-github-actions@v0.6.4
uses: hashicorp/terraform-github-actions@v0.8.0
with:
tf_actions_version: latest
tf_actions_subcommand: validate
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Modify the Terraform variable file if needed:
```bash
OPENSTACK_PASSWORD=${OPENSTACK_PASSWORD:-default}

cat > terrafrom/openstack/terraform.tfvars << EOF
cat > terraform/openstack/terraform.tfvars << EOF
openstack_auth_url = "https://ic-us.ssl.mirantis.net:5000/v3"
openstack_instance_flavor_name = "compact.dbs"
openstack_instance_image_name = "bionic-server-cloudimg-amd64-20190119"
Expand All @@ -135,13 +135,13 @@ EOF
Download Terraform components:

```bash
terraform init -var-file=terrafrom/openstack/terraform.tfvars terrafrom/openstack
terraform init -var-file=terraform/openstack/terraform.tfvars terraform/openstack
```

Create VMs in OpenStack:

```bash
terraform apply -auto-approve -var-file=terrafrom/openstack/terraform.tfvars terrafrom/openstack
terraform apply -auto-approve -var-file=terraform/openstack/terraform.tfvars terraform/openstack
```

Show Terraform output:
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/ci_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ openstack_auth_url = "test"
openstack_instance_flavor_name = "test"
EOF

terraform init -var-file=terraform.tfvars terrafrom/openstack
terraform validate -var-file=terraform.tfvars terrafrom/openstack
terraform init -var-file=terraform.tfvars terraform/openstack
terraform validate -var-file=terraform.tfvars terraform/openstack

sudo swapoff -a

Expand Down

0 comments on commit d521ad3

Please sign in to comment.