22name : Test pull request 
33
44on :
5-   pull_request_target :
5+   pull_request :
66    types :
77      - opened 
88      - synchronize 
2929    needs : [fail_on_remote] 
3030    uses : ./.github/workflows/build-push-images.yml 
3131    with :
32-       ref : ${{ github.event.pull_request.head.sha }} 
32+       ref : ${{ github.sha }} 
33+     secrets : inherit 
34+ 
35+   publish_charts :
36+     uses : ./.github/workflows/build-push-charts.yml 
37+     with :
38+       ref : ${{ github.sha }} 
3339    secrets : inherit 
3440
3541  chart_validation :
@@ -42,11 +48,23 @@ jobs:
4248      - name : Checkout the repo 
4349        uses : actions/checkout@v4 
4450        with :
45-           ref : ${{ github.event.pull_request.head.sha }} 
51+           ref : ${{ github.sha }} 
52+ 
53+       - name : Reconfigure docker storage 
54+         #  GitHub runners have an extra 75G disk at /mnt
55+         #  so we use this to avoid hitting capacity issues
56+         #  with kind cluster + vLLM container images
57+         run : | 
58+           sudo bash -c 'cat > /etc/docker/daemon.json' << EOF 
59+           { 
60+             "data-root": "/mnt/docker-data" 
61+           } 
62+           EOF 
63+           sudo systemctl restart docker 
4664
4765name : Run Gradio app tests 
4866        run : | 
49-           ./test-images.sh $(git rev-parse --short ${{ github.event.pull_request.head. sha }}) 
67+           ./test-images.sh $(git rev-parse --short ${{ github.sha }}) 
5068working-directory : web-apps 
5169
5270      - name : Install Helm 
@@ -71,18 +89,11 @@ jobs:
7189      #  we need to pull these published images and load them into the kind cluster
7290      #  with the tag correct tag.
7391      - 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 }} 
92+         run : ./kind-images.sh $(git rev-parse --short ${{ github.sha }}) ${{ env.CLUSTER_NAME }} 
7593        working-directory : web-apps 
7694
7795      #  https://github.com/helm/charts/blob/master/test/README.md#providing-custom-test-values
7896      #  Each chart/ci/*-values.yaml file will be treated as a separate test case with it's
7997      #  own helm install/test process.
8098      - name : Run chart install and test 
8199        run : ct install --config ct.yaml 
82- 
83-   publish_charts :
84-     needs : [chart_validation] 
85-     uses : ./.github/workflows/build-push-charts.yml 
86-     with :
87-       ref : ${{ github.event.pull_request.head.sha }} 
88-     secrets : inherit 
0 commit comments