Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SDK] Use Katib SDK for E2E Tests #2075

Merged
merged 15 commits into from
Jan 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/template-e2e-test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ inputs:
training-operator:
required: false
description: whether to deploy training-operator or not
default: "false"
default: false
trial-images:
required: true
description: comma delimited trial image name
katib-ui:
required: true
description: whether to deploy katib-ui or not
default: "false"
description: whether to deploy katib-ui or not
default: false
database-type:
required: false
description: mysql or postgres
Expand All @@ -25,11 +25,11 @@ inputs:
runs:
using: composite
steps:
- name: Set Up Minikube Cluster
- name: Setup Minikube Cluster
shell: bash
run: ./test/e2e/v1beta1/scripts/gh-actions/setup-minikube.sh ${{ inputs.katib-ui }} ${{ inputs.trial-images }} ${{ inputs.experiments }}

- name: Set Up Katib
- name: Setup Katib
shell: bash
run: ./test/e2e/v1beta1/scripts/gh-actions/setup-katib.sh ${{ inputs.katib-ui }} ${{ inputs.training-operator }} ${{ inputs.database-type }}

Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/template-setup-e2e-test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,23 @@ inputs:
runs:
using: composite
steps:
- name: Set Up Minikube Cluster
- name: Setup Minikube Cluster
uses: manusa/[email protected]
with:
minikube version: 'v1.28.0'
minikube version: v1.28.0
kubernetes version: ${{ inputs.kubernetes-version }}
start args: --wait-timeout=60s
driver: 'none'
driver: none
github token: ${{ env.GITHUB_TOKEN }}

- name: Set Up Docker Buildx
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Set Up Go env
uses: actions/setup-go@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
go-version-file: go.mod
python-version: 3.9

- name: Install Katib SDK
shell: bash
run: pip install -e sdk/python/v1beta1
Loading