Skip to content
Merged
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ blocks:
# Set up Go
- checkout
- goenv install --skip-existing
- export "PATH=$(go env GOPATH)/bin:$PATH"
- eval "$(goenv init -)"
- export "PATH=$GOROOT/bin:$PATH"
- export "PATH=$GOPATH/bin:$PATH"

# Set up Git
- export "GOPRIVATE=github.com/confluentinc"
Expand Down Expand Up @@ -102,7 +104,6 @@ blocks:
- vault login -no-print token="$(vault.exe write -field=token auth/app/devel/login role_id=$Env:VAULT_ROLE_ID secret_id=$Env:VAULT_SECRET_ID)"
- vault kv get -field=script "v1/ci/kv/semaphore2/ssh_id_rsa" > script.sh
- Set-Content id_rsa.b64 $(Select-String "echo" script.sh)[0].Line.Split('"')[1]
- choco install base64 -y
- base64 -d -i id_rsa.b64 -o "C:\Users\semaphore\.ssh\id_rsa"

# Set up Go
Expand All @@ -118,7 +119,6 @@ blocks:
- cache restore windows-$($(Get-FileHash go.sum).Hash)

# Run tests
- choco install make
- make deps
- gotestsum --junitfile unit-test-report.xml -- -v $(go list ./... | Select-String test -NotMatch) -ldflags "-buildmode=exe"
- gotestsum --junitfile integration-test-report.xml -- -v $(go list ./... | Select-String test)
Expand Down