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 for fall 2024 #18

Merged
merged 34 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
afec977
update terraform and provider version
digicosmos86 Jul 17, 2024
d4ce2ee
update terraform version in simple-project
digicosmos86 Jul 17, 2024
c51c2ac
Update .tool-versions
digicosmos86 Jul 17, 2024
91ca0f1
update kitchen version
digicosmos86 Jul 17, 2024
0bad567
update Dockerfile to use .tool-versions only
digicosmos86 Jul 17, 2024
c783ce0
Update module versions
digicosmos86 Jul 17, 2024
9aa5fee
update pre-commit versions
digicosmos86 Jul 17, 2024
af326ed
update inspec version
digicosmos86 Jul 17, 2024
4b2b14b
update github action versions
digicosmos86 Jul 17, 2024
a2d739f
Update readme file
digicosmos86 Jul 17, 2024
9b4f4d3
update ruby version
digicosmos86 Jul 17, 2024
270b68e
update ruby version
digicosmos86 Jul 17, 2024
2b81c28
update inspec version
digicosmos86 Jul 17, 2024
5956a91
add linux-headers to docker image
digicosmos86 Jul 17, 2024
7540f40
force perform clean operations in dockerfile
digicosmos86 Jul 17, 2024
77f35a6
force perform clean operations in dockerfile
digicosmos86 Jul 17, 2024
517b284
downgrade inspec version
digicosmos86 Jul 17, 2024
9bf33b3
run terraform test in ci
digicosmos86 Jul 17, 2024
8dc026a
update tests
digicosmos86 Jul 18, 2024
2adec40
update tests
digicosmos86 Jul 18, 2024
185f4e7
update tests
digicosmos86 Jul 18, 2024
241532f
update tests
digicosmos86 Jul 18, 2024
be5cada
update tests
digicosmos86 Jul 18, 2024
47f5990
rename steps
digicosmos86 Jul 18, 2024
00755e0
define resource
digicosmos86 Jul 18, 2024
c7f5bb5
define resource
digicosmos86 Jul 18, 2024
41961dd
define resource
digicosmos86 Jul 18, 2024
eabd528
write more tests
digicosmos86 Jul 18, 2024
2ef2d24
write more tests
digicosmos86 Jul 18, 2024
fec4411
write more tests
digicosmos86 Jul 18, 2024
5daebff
remove ruby and kitchen-terraform
digicosmos86 Jul 18, 2024
cf9c004
Update github actions
digicosmos86 Jul 18, 2024
5783d47
move terraform.tfvars.example
digicosmos86 Jul 18, 2024
0ceca05
update README
digicosmos86 Jul 18, 2024
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
84 changes: 0 additions & 84 deletions .github/workflows/kitchen-tests.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
pr-labeler:
runs-on: ubuntu-latest
steps:
- uses: TimonVS/pr-labeler-action@v4
- uses: TimonVS/pr-labeler-action@v5
with:
configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
- uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

36 changes: 36 additions & 0 deletions .github/workflows/terraform-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: terraform-tests

on:
push:
branches:
- 'main'
tags:
- 'v*.*.*'
pull_request:
branches:
- 'main'


jobs:
terraform-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Credential File
run: |
echo "$GCP_CREDENTIAL_JSON" | base64 -d > /tmp/credentials.json
env:
GCP_CREDENTIAL_JSON: ${{ secrets.GCP_CI_CREDENTIAL_JSON}}
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.9.2
- name: Run terraform test
run: |
terraform init
terraform test
env:
TF_VAR_billing_account: ${{ secrets.GCP_BURWOOD_BILLING_ACCOUNT }}
TF_VAR_org_id: ${{ secrets.GCP_ORG_ID }}
TF_VAR_folder_id: ${{ secrets.GCP_CCV_CI_FOLDER_ID }}
GOOGLE_APPLICATION_CREDENTIALS: /tmp/credentials.json
20 changes: 0 additions & 20 deletions .kitchen.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.81.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
rev: v1.92.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
hooks:
- id: terraform_fmt
- id: terraform_docs
Expand Down
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

1 change: 0 additions & 1 deletion .terraform-version

This file was deleted.

102 changes: 102 additions & 0 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
terraform 1.5.0
ruby 3.2.2
terraform 1.9.2
27 changes: 0 additions & 27 deletions Dockerfile

This file was deleted.

3 changes: 0 additions & 3 deletions Gemfile

This file was deleted.

Loading