Skip to content

Commit

Permalink
Merge branch 'GoogleCloudPlatform:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimrod Kor authored Nov 22, 2021
2 parents fbdf1c7 + b40ff96 commit ca3dd57
Show file tree
Hide file tree
Showing 381 changed files with 21,149 additions and 4,152 deletions.
68 changes: 0 additions & 68 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v1
uses: reviewdog/action-golangci-lint@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tool_name: golangci-lint
38 changes: 38 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: "tagged-release"
on:
workflow_dispatch:
inputs:
version:
description: Bump Version
required: true
jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Test
run: go build -v && go test ./...
- name: Build for linux
run: go build -o terraformer-all-linux-amd64
- name: Build for mac
run: GOOS=darwin go build -o terraformer-all-darwin-amd64
- name: Build for mac Apple Silicon
run: GOOS=darwin GOARCH=arm64 go build -o terraformer-all-darwin-arm64
- name: Build for windows
run: GOOS=windows go build -o terraformer-all-windows-amd64
- name: Build for all providers
run: go run build/multi-build/main.go

- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{ github.event.inputs.version }}
prerelease: false
files: |
terraformer-*
17 changes: 17 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.'
days-before-issue-stale: 60
days-before-issue-close: 7
days-before-pr-close: -1
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: 1.17
- name: Go Mod Tidy
run: go mod tidy
- name: Test
run: go build -v && go test ./...
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
.idea
generated
terraformer
terraformer*
cmd/tmp
.DS_Store
.terraform
.vscode
terraform.tfstate
terraform.tfstate.backup
init.tf
init.tf
Loading

0 comments on commit ca3dd57

Please sign in to comment.