Skip to content

Commit

Permalink
add dind service
Browse files Browse the repository at this point in the history
  • Loading branch information
RoryQ committed Jun 21, 2023
1 parent f3cd060 commit 5e50833
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 148 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ name: Tests with spanner emulator
jobs:
tests:
runs-on: ubuntu-latest
container: node:10.18-jessie
services:
spanner:
env:
SPANNER_INSTANCE_ID: ${{env.SPANNER_INSTANCE_ID}}
SPANNER_PROJECT_ID: ${{env.SPANNER_PROJECT_ID}}
image: roryq/spanner-emulator:1.4.0
ports:
- 9010:9010
dind:
image: docker:23.0-rc-dind-rootless
ports:
- 2375:2375
env:
SPANNER_INSTANCE_ID: inst
SPANNER_PROJECT_ID: proj
Expand Down
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ require (
github.com/google/go-cmp v0.5.9
github.com/google/uuid v1.3.0
github.com/kennygrant/sanitize v1.2.4
github.com/kr/pretty v0.2.1
github.com/ory/dockertest/v3 v3.10.0
github.com/spf13/cobra v1.7.0
github.com/spf13/pflag v1.0.5
Expand Down Expand Up @@ -46,7 +45,6 @@ require (
github.com/googleapis/gax-go/v2 v2.11.0 // indirect
github.com/imdario/mergo v0.3.16 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/kr/text v0.1.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/moby/term v0.5.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
Expand Down
Loading

0 comments on commit 5e50833

Please sign in to comment.