-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jacob Salway <[email protected]>
- Loading branch information
1 parent
9cc1c02
commit 251c7e3
Showing
2 changed files
with
10 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,7 +91,7 @@ jobs: | |
done | ||
build-helm-chart: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Determine branch name | ||
id: get_branch | ||
|
@@ -163,37 +163,21 @@ jobs: | |
minikube image load docker.io/kubeflow/spark-operator:local | ||
ct install | ||
integration-test: | ||
runs-on: ubuntu-22.04 | ||
e2e-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: "0" | ||
fetch-depth: 0 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: "go.mod" | ||
|
||
- name: setup minikube | ||
uses: manusa/[email protected] | ||
with: | ||
minikube version: v1.33.0 | ||
kubernetes version: v1.30.0 | ||
start args: --memory 6g --cpus=2 --addons ingress | ||
github token: ${{ inputs.github-token }} | ||
|
||
- name: Build local spark-operator docker image for minikube testing | ||
run: | | ||
docker build -t docker.io/kubeflow/spark-operator:local . | ||
minikube image load docker.io/kubeflow/spark-operator:local | ||
go-version-file: go.mod | ||
|
||
# The integration tests are currently broken see: https://github.com/kubeflow/spark-operator/issues/1416 | ||
# - name: Run chart-testing (integration test) | ||
# run: make integration-test | ||
- name: Create a Kubernetes cluster using Kind | ||
uses: helm/kind-action@v1 | ||
|
||
- name: Setup tmate session | ||
if: failure() | ||
uses: mxschmitt/action-tmate@v3 | ||
timeout-minutes: 15 | ||
- name: Run e2e tests | ||
run: make e2e-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters