Skip to content

Commit 3efbbe8

Browse files
.github/workflows: Add external endpoint test before release (#508)
Co-authored-by: Onur Sönmez <onursonmez@peak.com>
1 parent 0993c6d commit 3efbbe8

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/goreleaser.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,25 @@ on:
44
tags:
55
- 'v*'
66
jobs:
7+
gcs_test:
8+
name: gcs-test
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-go@v2
13+
with:
14+
go-version: 1.18.x
15+
- run: make test_without_race
16+
env:
17+
S5CMD_ACCESS_KEY_ID: ${{ secrets.S5CMD_GCS_ACCESS_KEY_ID }}
18+
S5CMD_SECRET_ACCESS_KEY: ${{ secrets.S5CMD_GCS_SECRET_ACCESS_KEY }}
19+
S5CMD_ENDPOINT_URL: https://storage.googleapis.com
20+
S5CMD_IS_VIRTUAL_HOST: 1
21+
S5CMD_REGION: ${{ secrets.S5CMD_GCS_REGION }}
22+
S5CMD_I_KNOW_WHAT_IM_DOING: 1
23+
724
goreleaser:
25+
needs: [ gcs_test ]
826
runs-on: ubuntu-latest
927
steps:
1028
-

0 commit comments

Comments
 (0)