diff --git a/.github/settings.yml b/.github/settings.yml new file mode 100644 index 0000000..8148a5c --- /dev/null +++ b/.github/settings.yml @@ -0,0 +1,13 @@ +# These settings are synced to GitHub by https://probot.github.io/apps/settings/ +extends: cloudposse/.github + +repository: + # A URL with more information about the repository + homepage: https://cloudposse.com + + # Either `true` to enable projects for this repository, or `false` to disable them. + # If projects are disabled for the organization, passing `true` will cause an API error. + has_projects: false + + # Either `true` to enable the wiki for this repository, `false` to disable it. + has_wiki: false diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index ccc27be..0929676 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -3,17 +3,13 @@ name: auto-release on: push: branches: - - master + - main + - master + - production jobs: - semver: - runs-on: ubuntu-latest - steps: - # Drafts your next Release notes as Pull Requests are merged into "master" - - uses: release-drafter/release-drafter@v5 - with: - publish: true - prerelease: false - config-name: auto-release.yml - env: - GITHUB_TOKEN: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }} + auto: + uses: cloudposse/.github/.github/workflows/shared-auto-release.yml@main + with: + publish: true + secrets: inherit diff --git a/Dockerfile b/Dockerfile index b6328e0..6df9120 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,15 +56,16 @@ ENV AWS_VAULT_ENABLED=true RUN apk add -u aws-vault@cloudposse~=4 # Install go for running terratest -RUN apk add -uU go +RUN apk add go@community --allow-untrusted ## Install terraform-config-inspect (required for bats tests) ENV GO111MODULE="on" -RUN go get github.com/hashicorp/terraform-config-inspect && \ +RUN go install github.com/hashicorp/terraform-config-inspect@latest && \ mv $(go env GOPATH)/bin/terraform-config-inspect /usr/local/bin/ # Install every "major" version of Terraform so we can use whichever one we want -RUN apk add -uU terraform@cloudposse \ +RUN apk add -uU --force-broken-world \ + terraform@cloudposse \ terraform-0.11@cloudposse \ terraform-0.12@cloudposse \ terraform-0.13@cloudposse \ @@ -82,7 +83,7 @@ ENV AWS_VAULT_ENABLED=true # https://github.com/99designs/aws-vault/issues/689 # and until IMDSv2 is supported, aws-vault server does not work with kops 1.18 # https://github.com/99designs/aws-vault/issues/690 -RUN apk add -uU aws-vault@cloudposse~=4 +RUN apk add -uU aws-vault@cloudposse~=4 --force-broken-world # Filesystem entry for tfstate RUN s3 fstab '${TF_BUCKET}' '/' '/secrets/tf'