Skip to content

Commit 51a94d8

Browse files
author
greg
committed
add docker setup to gcp integration test
Signed-off-by: greg <[email protected]>
1 parent d6928e8 commit 51a94d8

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.circleci/config.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@ jobs:
2929
test_gcp_integration:
3030
<<: *defaults
3131
steps:
32+
- setup_remote_docker:
33+
<<: *setup_docker
3234
- run:
3335
name: Store Service Account
34-
command: echo $GCLOUD_SERVICE_KEY > /gcloud-service-key.json
35-
- run: gcloud auth activate-service-account --key-file=/gcloud-service-key.json
36+
command: echo $GCLOUD_SERVICE_KEY > ${HOME}/gcloud-service-key.json
37+
- run: gcloud auth activate-service-account --key-file=${HOME}/gcloud-service-key.json
3638
- checkout
3739
- run: make test_integration
3840

@@ -66,7 +68,6 @@ jobs:
6668
- checkout
6769
- run: make release
6870

69-
7071
workflows:
7172
version: 2
7273
test_and_release:
@@ -78,10 +79,6 @@ workflows:
7879
- test_gcp_integration:
7980
filters:
8081
<<: *tags_filters
81-
branches:
82-
only:
83-
- develop
84-
- master
8582

8683
- ensure_vendor:
8784
filters:

integration/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
ports:
1212
- "53431:53431"
1313
volumes:
14-
- /gcloud-service-key.json:/gcloud-service-key.json
14+
- ${HOME}/gcloud-service-key.json:/gcloud-service-key.json
1515
hoarctl:
1616
build: ..
1717
links:

0 commit comments

Comments
 (0)