File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 2020 required : false
2121 default : " ghcr.io/restatedev/restate:main"
2222 type : string
23+ serviceImage :
24+ description : " service image, if provided it will skip building the image from sdk main branch"
25+ required : false
26+ default : " "
27+ type : string
2328 workflow_call :
2429 inputs :
2530 restateCommit :
3237 required : false
3338 default : ' ghcr.io/restatedev/restate:main'
3439 type : string
40+ serviceImage :
41+ description : " service image, if provided it will skip building the image from sdk main branch"
42+ required : false
43+ default : " "
44+ type : string
3545 envVars :
3646 required : false
3747 type : string
@@ -101,6 +111,7 @@ jobs:
101111 uses : docker/setup-buildx-action@v3
102112
103113 - name : Build Typescript test-services image
114+ if : ${{ inputs.serviceImage == '' }}
104115 id : build
105116 uses : docker/build-push-action@v6
106117 with :
@@ -116,7 +127,7 @@ jobs:
116127 uses :
restatedev/[email protected] 117128 with :
118129 restateContainerImage : ${{ inputs.restateCommit != '' && 'localhost/restatedev/restate-commit-download:latest' || (inputs.restateImage != '' && inputs.restateImage || 'ghcr.io/restatedev/restate:main') }}
119- serviceContainerImage : " restatedev/typescript-test-services"
130+ serviceContainerImage : ${{ inputs.serviceImage != '' && inputs.serviceImage || ' restatedev/typescript-test-services' }}
120131 exclusionsFile : " packages/restate-e2e-services/exclusions.yaml"
121132 envVars : ${{ inputs.envVars }}
122133 testArtifactOutput : ${{ inputs.testArtifactOutput != '' && inputs.testArtifactOutput || 'sdk-typescript-integration-test-report' }}
You can’t perform that action at this time.
0 commit comments