Skip to content

Commit

Permalink
Merge pull request #26 from mineiros-io/katcipis-update-terramate-v0-2-0
Browse files Browse the repository at this point in the history
chore: update terramate to v0.2.0
  • Loading branch information
mariux authored Nov 15, 2022
2 parents ea45752 + c1d1eb6 commit 741ef50
Show file tree
Hide file tree
Showing 21 changed files with 13 additions and 31 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@ on:

jobs:
tests:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: ["ubuntu-20.04", "macos-10.15", "macos-11"]
runs-on: "ubuntu-20.04"

name: Run Tests
steps:
Expand All @@ -24,13 +19,17 @@ jobs:
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "1.17"

- name: Set up Terramate
run: go install github.com/mineiros-io/terramate/cmd/terramate@v0.1.11
uses: giantswarm/install-binary-action@e97402b0aa95939ddba5b36aa77f8abc58a37fd5
with:
binary: terramate
version: 0.2.0
# https://github.com/mineiros-io/terramate/releases/download/v${version}/terramate_${version}_${os}_${arch}.tar.gz
download_url: "https://github.com/mineiros-io/${binary}/releases/download/v${version}/terramate_${version}_linux_x86_64.tar.gz"
tarball_binary_path: "${binary}"

- name: Clean Up Terramate Install Artifacts
run: rm -rf terramate

- name: Set up Terraform
uses: hashicorp/setup-terraform@v1
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
terraform 1.2.3
terramate 0.2.0
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /stacks/backend.tm.hcl

terraform {
backend "local" {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /modules/cloud-run/cloud_run.tm.hcl

module "cloud_run_app" {
iam = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /stacks/providers.tm.hcl

provider "google" {
project = "mineiros-terramate-prod"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /stacks/backend.tm.hcl

terraform {
backend "local" {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /modules/cloud-run/cloud_run.tm.hcl

module "cloud_run_app" {
iam = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /stacks/providers.tm.hcl

provider "google" {
project = "mineiros-terramate-prod"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /stacks/backend.tm.hcl

terraform {
backend "local" {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /stacks/providers.tm.hcl

provider "google" {
project = "mineiros-terramate-prod"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /modules/service-account/service_account.tm.hcl

module "terraform-google-service-account" {
account_id = "cloud-run"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /stacks/backend.tm.hcl

terraform {
backend "local" {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /modules/cloud-run/cloud_run.tm.hcl

module "cloud_run_app" {
iam = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /stacks/providers.tm.hcl

provider "google" {
project = "mineiros-terramate-staging"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /stacks/backend.tm.hcl

terraform {
backend "local" {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /modules/cloud-run/cloud_run.tm.hcl

module "cloud_run_app" {
iam = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /stacks/providers.tm.hcl

provider "google" {
project = "mineiros-terramate-staging"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /stacks/backend.tm.hcl

terraform {
backend "local" {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /stacks/providers.tm.hcl

provider "google" {
project = "mineiros-terramate-staging"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT
// TERRAMATE: originated from generate_hcl block on /modules/service-account/service_account.tm.hcl

module "terraform-google-service-account" {
account_id = "cloud-run"
Expand Down
2 changes: 1 addition & 1 deletion terramate.tm.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terramate {
required_version = "~> 0.1.11"
required_version = "~> 0.2.0"

config {
run {
Expand Down

0 comments on commit 741ef50

Please sign in to comment.