29
29
needs : [fail_on_remote]
30
30
uses : ./.github/workflows/build-push-images.yml
31
31
with :
32
- ref : ${{ github.event.pull_request.head. sha }}
32
+ ref : ${{ github.sha }}
33
33
secrets : inherit
34
34
35
35
chart_validation :
@@ -42,11 +42,11 @@ jobs:
42
42
- name : Checkout the repo
43
43
uses : actions/checkout@v4
44
44
with :
45
- ref : ${{ github.event.pull_request.head. sha }}
45
+ ref : ${{ github.sha }}
46
46
47
47
- name : Run Gradio app tests
48
48
run : |
49
- ./test-images.sh $(git rev-parse --short ${{ github.event.pull_request.head. sha }})
49
+ ./test-images.sh $(git rev-parse --short ${{ github.sha }})
50
50
working-directory : web-apps
51
51
52
52
- name : Install Helm
71
71
# we need to pull these published images and load them into the kind cluster
72
72
# with the tag correct tag.
73
73
- name : Load tagged container images into kind cluster
74
- run : ./kind-images.sh $(git rev-parse --short ${{ github.event.pull_request.head. sha }}) ${{ env.CLUSTER_NAME }}
74
+ run : ./kind-images.sh $(git rev-parse --short ${{ github.sha }}) ${{ env.CLUSTER_NAME }}
75
75
working-directory : web-apps
76
76
77
+ # TODO: Remove me
78
+ - name : Setup upterm session
79
+ uses : lhotari/action-upterm@v1
80
+ with :
81
+ # # limits ssh access and adds the ssh public key for the user which triggered the workflow
82
+ limit-access-to-actor : true
83
+
77
84
# https://github.com/helm/charts/blob/master/test/README.md#providing-custom-test-values
78
85
# Each chart/ci/*-values.yaml file will be treated as a separate test case with it's
79
86
# own helm install/test process.
84
91
needs : [chart_validation]
85
92
uses : ./.github/workflows/build-push-charts.yml
86
93
with :
87
- ref : ${{ github.event.pull_request.head. sha }}
94
+ ref : ${{ github.sha }}
88
95
secrets : inherit
0 commit comments