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 dd1db2e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 149 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,22 @@ 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
SPANNER_EMULATOR_HOST: spanner:9010
SPANNER_EMULATOR_HOST: localhost:9010
steps:
- name: Install Go
uses: actions/setup-go@v2
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 dd1db2e

Please sign in to comment.