File tree Expand file tree Collapse file tree 8 files changed +0
-54
lines changed Expand file tree Collapse file tree 8 files changed +0
-54
lines changed Original file line number Diff line number Diff line change 64
64
ci :
65
65
needs : acquire-base-image
66
66
uses : ./.github/workflows/ci.yml
67
- with :
68
- run_sdk_examples : true
69
67
secrets :
70
68
ENCRYPTED_DOCKER_PASSWORD : ${{ needs.acquire-base-image.outputs.docker-login-password }}
71
69
DOCKER_LOGIN_TOKEN_PASSPHRASE : ${{ secrets.DOCKER_LOGIN_TOKEN_PASSPHRASE }}
Original file line number Diff line number Diff line change 88
88
- acquire-base-image
89
89
if : ${{ github.event.pull_request.head.repo.full_name == 'smithy-lang/smithy-rs' || toJSON(github.event.merge_group) != '{}' }}
90
90
uses : ./.github/workflows/ci.yml
91
- with :
92
- run_sdk_examples : true
93
91
secrets :
94
92
ENCRYPTED_DOCKER_PASSWORD : ${{ needs.save-docker-login-token.outputs.docker-login-password }}
95
93
DOCKER_LOGIN_TOKEN_PASSPHRASE : ${{ secrets.DOCKER_LOGIN_TOKEN_PASSPHRASE }}
Original file line number Diff line number Diff line change 44
44
uses : ./.github/workflows/ci.yml
45
45
with :
46
46
run_canary : false
47
- run_sdk_examples : true
Original file line number Diff line number Diff line change 90
90
- acquire-base-image
91
91
if : ${{ github.event.pull_request.head.repo.full_name == 'smithy-lang/smithy-rs' }}
92
92
uses : ./.github/workflows/ci.yml
93
- with :
94
- run_sdk_examples : true
95
93
secrets :
96
94
ENCRYPTED_DOCKER_PASSWORD : ${{ needs.save-docker-login-token.outputs.docker-login-password }}
97
95
DOCKER_LOGIN_TOKEN_PASSPHRASE : ${{ secrets.DOCKER_LOGIN_TOKEN_PASSPHRASE }}
Original file line number Diff line number Diff line change 14
14
required : false
15
15
default : true
16
16
type : boolean
17
- run_sdk_examples :
18
- description : Whether to run the SDK example checks or not.
19
- required : false
20
- default : false
21
- type : boolean
22
17
git_ref :
23
18
description : |
24
19
The git reference that all checks should be run against. It can be a branch, a tag or a commit SHA.
@@ -377,27 +372,9 @@ jobs:
377
372
echo "PR bot and canary cannot be invoked from a forked repository. Ask a maintainer to manually invoke them using your PR."
378
373
exit 1
379
374
380
- # This job is split out from the rest since it is not required to pass for merge
381
- check-sdk-examples :
382
- name : Check SDK Examples
383
- if : ${{ inputs.run_sdk_examples }}
384
- needs : generate
385
- runs-on : ubuntu-latest
386
- timeout-minutes : 20
387
- steps :
388
- - uses : actions/checkout@v4
389
- with :
390
- path : smithy-rs
391
- ref : ${{ inputs.git_ref }}
392
- - name : Run ${{ matrix.actions.action }}
393
- uses : ./smithy-rs/.github/actions/docker-build
394
- with :
395
- action : check-aws-sdk-examples
396
-
397
375
# Pseudo-job that depends on matrix jobs so that we don't have to enter
398
376
# the myriad of test matrix combinations into GitHub's protected branch rules
399
377
require-all :
400
- # Should NOT depend on check-sdk-examples since that's an optional check
401
378
needs :
402
379
- generate
403
380
- test-codegen
Original file line number Diff line number Diff line change 96
96
- acquire-base-image
97
97
uses : ./.github/workflows/ci.yml
98
98
with :
99
- run_sdk_examples : false
100
99
git_ref : ${{ inputs.commit_sha }}
101
100
secrets :
102
101
CANARY_GITHUB_ACTIONS_ROLE_ARN : ${{ secrets.CANARY_GITHUB_ACTIONS_ROLE_ARN }}
Original file line number Diff line number Diff line change @@ -28,10 +28,6 @@ check-aws-sdk-canary: generate-aws-sdk-smoketest
28
28
check-aws-sdk-adhoc-tests :
29
29
$(CI_ACTION ) $@ $(ARGS )
30
30
31
- .PHONY : check-aws-sdk-examples
32
- check-aws-sdk-examples : generate-aws-sdk
33
- $(CI_ACTION ) $@ $(ARGS )
34
-
35
31
.PHONY : check-aws-sdk-services
36
32
check-aws-sdk-services : generate-aws-sdk
37
33
$(CI_ACTION ) $@ $(ARGS )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments