Skip to content

Commit dfa2987

Browse files
authored
fix: explicitly specify executor / docker image for tests / cache jobs (#198)
1 parent 2bfca18 commit dfa2987

8 files changed

+16
-0
lines changed

templates/.circleci/config.yml.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ contexts: &contexts
5858
test: &test
5959
context: *contexts
6060
app_name: {{ .Config.Name }}
61+
docker_image: {{ .Runtime.Box.Docker.ImagePullRegistry }}/bootstrap/ci-slim
62+
executor_name: {{ $executorName }}
6163
### Start parameters inserted by other modules
6264
{{- /* [][]interface{} */}}
6365
{{- $testParametersHook := (stencil.GetModuleHook "workflows.release.jobs.test.parameters") }}

templates/.snapshots/TestConfigForAutoPrerelease-.circleci-config.yml.tpl-.circleci-config.yml.snapshot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ contexts: &contexts
4040
test: &test
4141
context: *contexts
4242
app_name: testing
43+
docker_image: registry.example.com/foo/bootstrap/ci-slim
44+
executor_name: testbed-docker
4345
### Start parameters inserted by other modules
4446
### End parameters inserted by other modules
4547
## <<Stencil::Block(circleTestExtra)>>

templates/.snapshots/TestConfigForDisabledPrerelease-.circleci-config.yml.tpl-.circleci-config.yml.snapshot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ contexts: &contexts
3737
test: &test
3838
context: *contexts
3939
app_name: testing
40+
docker_image: registry.example.com/foo/bootstrap/ci-slim
41+
executor_name: testbed-docker
4042
### Start parameters inserted by other modules
4143
### End parameters inserted by other modules
4244
## <<Stencil::Block(circleTestExtra)>>

templates/.snapshots/TestConfigForDisabledPrereleaseWithAutoPrerelease-.circleci-config.yml.tpl-.circleci-config.yml.snapshot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ contexts: &contexts
3737
test: &test
3838
context: *contexts
3939
app_name: testing
40+
docker_image: registry.example.com/foo/bootstrap/ci-slim
41+
executor_name: testbed-docker
4042
### Start parameters inserted by other modules
4143
### End parameters inserted by other modules
4244
## <<Stencil::Block(circleTestExtra)>>

templates/.snapshots/TestConfigForLibraryWithNodeJSGRPCClient-.circleci-config.yml.tpl-.circleci-config.yml.snapshot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ contexts: &contexts
3737
test: &test
3838
context: *contexts
3939
app_name: testing
40+
docker_image: registry.example.com/foo/bootstrap/ci-slim
41+
executor_name: testbed-docker
4042
### Start parameters inserted by other modules
4143
### End parameters inserted by other modules
4244
## <<Stencil::Block(circleTestExtra)>>

templates/.snapshots/TestConfigForLibraryWithNodeJSGRPCClientAndECR-.circleci-config.yml.tpl-.circleci-config.yml.snapshot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ contexts: &contexts
3737
test: &test
3838
context: *contexts
3939
app_name: testing
40+
docker_image: registry.example.amazonaws.com/foo/bootstrap/ci-slim
41+
executor_name: testbed-docker-aws
4042
### Start parameters inserted by other modules
4143
### End parameters inserted by other modules
4244
## <<Stencil::Block(circleTestExtra)>>

templates/.snapshots/TestRenderAFile-.circleci-config.yml.tpl-.circleci-config.yml.snapshot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ contexts: &contexts
4040
test: &test
4141
context: *contexts
4242
app_name: testing
43+
docker_image: registry.example.com/foo/bootstrap/ci-slim
44+
executor_name: testbed-docker
4345
### Start parameters inserted by other modules
4446
### End parameters inserted by other modules
4547
## <<Stencil::Block(circleTestExtra)>>

templates/.snapshots/TestRenderWithSkipE2eAndDocker-.circleci-config.yml.tpl-.circleci-config.yml.snapshot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ contexts: &contexts
4040
test: &test
4141
context: *contexts
4242
app_name: testing
43+
docker_image: registry.example.com/foo/bootstrap/ci-slim
44+
executor_name: testbed-docker
4345
### Start parameters inserted by other modules
4446
### End parameters inserted by other modules
4547
## <<Stencil::Block(circleTestExtra)>>

0 commit comments

Comments
 (0)