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 6464 ci :
6565 needs : acquire-base-image
6666 uses : ./.github/workflows/ci.yml
67- with :
68- run_sdk_examples : true
6967 secrets :
7068 ENCRYPTED_DOCKER_PASSWORD : ${{ needs.acquire-base-image.outputs.docker-login-password }}
7169 DOCKER_LOGIN_TOKEN_PASSPHRASE : ${{ secrets.DOCKER_LOGIN_TOKEN_PASSPHRASE }}
Original file line number Diff line number Diff line change 8888 - acquire-base-image
8989 if : ${{ github.event.pull_request.head.repo.full_name == 'smithy-lang/smithy-rs' || toJSON(github.event.merge_group) != '{}' }}
9090 uses : ./.github/workflows/ci.yml
91- with :
92- run_sdk_examples : true
9391 secrets :
9492 ENCRYPTED_DOCKER_PASSWORD : ${{ needs.save-docker-login-token.outputs.docker-login-password }}
9593 DOCKER_LOGIN_TOKEN_PASSPHRASE : ${{ secrets.DOCKER_LOGIN_TOKEN_PASSPHRASE }}
Original file line number Diff line number Diff line change 4444 uses : ./.github/workflows/ci.yml
4545 with :
4646 run_canary : false
47- run_sdk_examples : true
Original file line number Diff line number Diff line change 9090 - acquire-base-image
9191 if : ${{ github.event.pull_request.head.repo.full_name == 'smithy-lang/smithy-rs' }}
9292 uses : ./.github/workflows/ci.yml
93- with :
94- run_sdk_examples : true
9593 secrets :
9694 ENCRYPTED_DOCKER_PASSWORD : ${{ needs.save-docker-login-token.outputs.docker-login-password }}
9795 DOCKER_LOGIN_TOKEN_PASSPHRASE : ${{ secrets.DOCKER_LOGIN_TOKEN_PASSPHRASE }}
Original file line number Diff line number Diff line change 1414 required : false
1515 default : true
1616 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
2217 git_ref :
2318 description : |
2419 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:
377372 echo "PR bot and canary cannot be invoked from a forked repository. Ask a maintainer to manually invoke them using your PR."
378373 exit 1
379374
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-
397375 # Pseudo-job that depends on matrix jobs so that we don't have to enter
398376 # the myriad of test matrix combinations into GitHub's protected branch rules
399377 require-all :
400- # Should NOT depend on check-sdk-examples since that's an optional check
401378 needs :
402379 - generate
403380 - test-codegen
Original file line number Diff line number Diff line change 9696 - acquire-base-image
9797 uses : ./.github/workflows/ci.yml
9898 with :
99- run_sdk_examples : false
10099 git_ref : ${{ inputs.commit_sha }}
101100 secrets :
102101 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
2828check-aws-sdk-adhoc-tests :
2929 $(CI_ACTION ) $@ $(ARGS )
3030
31- .PHONY : check-aws-sdk-examples
32- check-aws-sdk-examples : generate-aws-sdk
33- $(CI_ACTION ) $@ $(ARGS )
34-
3531.PHONY : check-aws-sdk-services
3632check-aws-sdk-services : generate-aws-sdk
3733 $(CI_ACTION ) $@ $(ARGS )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments