Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
  • Loading branch information
tenzen-y committed Jul 31, 2023
1 parent 0128589 commit 109caf8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/template-setup-e2e-test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,21 @@ runs:
echo "Disk usage after cleanup:"
df -h
- name: Setup kubectl
uses: azure/setup-kubectl@v3
with:
version: ${{ inputs.kubernetes-version }}

- name: Setup Minikube Cluster
uses: medyagh/setup-minikube@v0.0.13
uses: medyagh/setup-minikube@v0.0.14
with:
network-plugin: cni
cni: flannel
driver: none
kubernetes-version: ${{ inputs.kubernetes-version }}
minikube-version: 1.31.1
start-args: --wait-timeout=120s

- name: Setup kubectl
uses: azure/setup-kubectl@v3
with:
version: ${{ inputs.kubernetes-version }}

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

Expand Down
3 changes: 2 additions & 1 deletion test/e2e/v1beta1/scripts/gh-actions/run-e2e-experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
from kubeflow.katib.constants import constants

# Experiment timeout is 40 min.
EXPERIMENT_TIMEOUT = 60 * 40
# EXPERIMENT_TIMEOUT = 60 * 40
EXPERIMENT_TIMEOUT = 60 * 5

# The default logging config.
logging.basicConfig(level=logging.INFO)
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/v1beta1/scripts/gh-actions/run-e2e-experiment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ for exp_name in "${EXPERIMENT_FILE_ARRAY[@]}"; do
echo "Running Experiment from $exp_name file"
exp_path=$(find ../../../../../examples/v1beta1 -name "${exp_name}.yaml")
python run-e2e-experiment.py --experiment-path "${exp_path}" --namespace default \
--verbose || (kubectl get pods -n kubeflow && exit 1)
--verbose || (kubectl get pods -n kubeflow && kubectl describe pods -n kubeflow && kubectl logs deployments/katib-db-manager -n kubeflow && exit 1)
done

exit 0

0 comments on commit 109caf8

Please sign in to comment.