Skip to content

Commit ce49b0a

Browse files
authored
add free disk space job to api server tests (#12447)
Signed-off-by: Humair Khan <[email protected]>
1 parent 898a002 commit ce49b0a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/api-server-tests.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ jobs:
7878
- name: Checkout code
7979
uses: actions/checkout@v4
8080

81+
- name: Free up disk space
82+
run: ./.github/resources/scripts/free-disk-space.sh
83+
8184
- name: Create cluster
8285
uses: ./.github/actions/create-cluster
8386
id: create-cluster
@@ -106,6 +109,7 @@ jobs:
106109
kubectl get secret kfp-api-tls-cert -n kubeflow -o jsonpath='{.data.ca\.crt}' | base64 -d > "${{ github.workspace }}/ca.crt"
107110
echo "CA_CERT_PATH=${{ github.workspace }}/ca.crt" >> "$GITHUB_ENV"
108111
112+
109113
- name: Configure Input Variables
110114
shell: bash
111115
id: configure
@@ -131,6 +135,7 @@ jobs:
131135
echo "NAMESPACE=$NAMESPACE"
132136
} >> "$GITHUB_OUTPUT"
133137
138+
134139
- name: Run Tests
135140
uses: ./.github/actions/test-and-report
136141
if: ${{ steps.configure.outcome == 'success' }}
@@ -181,6 +186,9 @@ jobs:
181186
- name: Checkout code
182187
uses: actions/checkout@v4
183188

189+
- name: Free up disk space
190+
run: ./.github/resources/scripts/free-disk-space.sh
191+
184192
- name: Create cluster
185193
uses: ./.github/actions/create-cluster
186194
id: create-cluster
@@ -220,6 +228,7 @@ jobs:
220228
run: |
221229
echo "::notice title=Test Summary and HTML Report is now available in the Summary Tab"
222230
231+
223232
api-test-multi-user:
224233
needs: build
225234
runs-on: ubuntu-latest
@@ -235,6 +244,9 @@ jobs:
235244
- name: Checkout code
236245
uses: actions/checkout@v4
237246

247+
- name: Free up disk space
248+
run: ./.github/resources/scripts/free-disk-space.sh
249+
238250
- name: Create cluster
239251
uses: ./.github/actions/create-cluster
240252
id: create-cluster

0 commit comments

Comments
 (0)