This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #99 from secrethub/release/v1.1.0
Release v1.1.0
- Loading branch information
Showing
17 changed files
with
498 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,12 @@ version: 2.1 | |
orbs: | ||
secrethub: secrethub/[email protected] | ||
jobs: | ||
lint: | ||
docker: | ||
- image: golangci/golangci-lint:v1.23.8-alpine | ||
steps: | ||
- checkout | ||
- run: golangci-lint run | ||
build: | ||
docker: | ||
- image: circleci/golang:1.13 | ||
|
@@ -16,16 +22,29 @@ jobs: | |
key: go-modules-{{ checksum "go.mod" }} | ||
paths: | ||
- /go/pkg/mod | ||
- run: | ||
name: Load GCP credentials | ||
command: secrethub read -o $GOOGLE_APPLICATION_CREDENTIALS secrethub/terraform-provider/testacc/gcp/credentials.json | ||
- secrethub/exec: | ||
step-name: Run acceptance tests | ||
command: | | ||
SECRETHUB_CREDENTIAL=$TF_ACC_SECRETHUB_CREDENTIAL | ||
make testacc | ||
environment: | ||
GOPROXY: "https://proxy.golang.org" | ||
|
||
# SecretHub credential to use in the acceptance tests | ||
TF_ACC_SECRETHUB_CREDENTIAL: secrethub://secrethub/terraform-provider/testacc/secrethub/credential | ||
# AWS access key id to use in the acceptance tests | ||
|
||
# AWS credentials to use in the acceptance tests | ||
AWS_ACCESS_KEY_ID: secrethub://secrethub/terraform-provider/testacc/aws/access_key_id | ||
# AWS secret access key to use in the acceptance tests | ||
AWS_SECRET_ACCESS_KEY: secrethub://secrethub/terraform-provider/testacc/aws/secret_access_key | ||
|
||
# Location of the Google credentials file to use in the acceptance tests | ||
GOOGLE_APPLICATION_CREDENTIALS: /tmp/gcp-credentials.json | ||
workflows: | ||
version: 2 | ||
pipeline: | ||
jobs: | ||
- lint | ||
- build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
linters: | ||
enable: | ||
- staticcheck | ||
- unused | ||
- gosimple | ||
- structcheck | ||
- typecheck | ||
- govet | ||
- varcheck | ||
- ineffassign | ||
- deadcode | ||
- errcheck | ||
- golint | ||
- stylecheck | ||
- dupl | ||
- depguard | ||
- nakedret | ||
- prealloc | ||
- gofmt | ||
- goconst | ||
- goimports | ||
- misspell | ||
- unparam | ||
- unconvert | ||
disable-all: true | ||
exclude-use-defaults: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.