Skip to content

Commit ca73ddb

Browse files
committed
Specify Adapter when sending Sequence
1 parent 1dcb09a commit ca73ddb

File tree

28 files changed

+2230
-2431
lines changed

28 files changed

+2230
-2431
lines changed

.eslintignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# don't ever lint node_modules
22
node_modules
33
conf/launch.json
4-
jest.config.js
4+
jest.config.js
5+
.work

.github/workflows/_main_sth-build-test-node-14.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
node-version: 14.x
2828

2929
build-docker-runner-image:
30+
needs: [build-sth]
3031
uses: ./.github/workflows/build-docker-runner-node.yml
3132
with:
3233
node-version: 14.x

.github/workflows/_main_sth-build-test-node-16.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
node-version: 16.x
2828

2929
build-docker-runner-image:
30+
needs: [build-sth]
3031
uses: ./.github/workflows/build-docker-runner-node.yml
3132
with:
3233
node-version: 16.x

.github/workflows/_main_sth-build-test-node-18.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
node-version: 18.x
2828

2929
build-docker-runner-image:
30+
needs: [build-sth]
3031
uses: ./.github/workflows/build-docker-runner-node.yml
3132
with:
3233
node-version: 18.x

.github/workflows/build-docker-runner-node.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ jobs:
2929
with:
3030
node-version: ${{ inputs.node-version }}
3131

32+
- name: Download dist-sth-${{ github.event.pull_request.head.sha }}-${{ inputs.node-version }}.tar.gz artifact
33+
uses: actions/download-artifact@v3
34+
with:
35+
name: dist-sth-${{ github.event.pull_request.head.sha }}-${{ inputs.node-version }}.tar.gz
36+
37+
- name: Unzip dist-${{ github.event.pull_request.head.sha }}-${{ inputs.node-version }}.tar.gz artifact
38+
run: ls dist*tar.gz |xargs -n1 tar -I pigz -xf
39+
3240
- name: Install dependencies
3341
run: yarn install --ignore-engines --frozen-lockfile --prefer-offline
3442

.github/workflows/build-docker-sth.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ jobs:
2929
cache: 'yarn'
3030
node-version: ${{ inputs.node-version }}
3131

32+
- name: Download dist-sth-${{ github.event.pull_request.head.sha }}-${{ inputs.node-version }}.tar.gz artifact
33+
uses: actions/download-artifact@v3
34+
with:
35+
name: dist-sth-${{ github.event.pull_request.head.sha }}-${{ inputs.node-version }}.tar.gz
36+
37+
- name: Unzip dist-${{ github.event.pull_request.head.sha }}-${{ inputs.node-version }}.tar.gz artifact
38+
run: ls dist*tar.gz |xargs -n1 tar -I pigz -xf
39+
3240
- name: Install dependencies
3341
run: yarn install --ignore-engines --frozen-lockfile --prefer-offline
3442

bdd/step-definitions/hub/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Then("container uses {string} image", async function(this: CustomWorld, image: s
189189
});
190190

191191
Then("container uses node image defined in sth-config", async function(this: CustomWorld) {
192-
const defaultRunnerImage = defaultConfig.docker.runnerImages.node;
192+
const defaultRunnerImage = defaultConfig.adapters["@scramjet/adapter-docker"].runnerImages.node;
193193

194194
assert.equal(this.resources.containerInfo.Image, defaultRunnerImage);
195195
});

0 commit comments

Comments
 (0)