-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/mvp_demo' into add-perfPrfofil…
…e-table
- Loading branch information
Showing
47 changed files
with
5,694 additions
and
1,610 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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Kruize Remote monitoring release tests | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
image: | ||
description: 'Kruize docker image' | ||
required: true | ||
|
||
jobs: | ||
releasetest: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Minikube | ||
uses: manusa/[email protected] | ||
with: | ||
minikube version: 'v1.16.0' | ||
kubernetes version: 'v1.19.2' | ||
- uses: actions/checkout@v3 | ||
with: | ||
repository: kruize/autotune | ||
path: autotune | ||
ref: mvp_demo | ||
|
||
- name: Run Kruize remote monitoring functional tests on minikube | ||
run: | | ||
ps -ef | grep python | ||
echo Running Kruize remote monitoring functional testsuite on minikube | ||
cd tests | ||
./test_autotune.sh -c minikube -i ${{ github.event.inputs.image }} --testsuite=remote_monitoring_tests --resultsdir=${GITHUB_WORKSPACE} | ||
- name: Run Kruize remote monitoring fault tolerant tests on minikube | ||
if: always() | ||
run: | | ||
ps -ef | grep python | ||
echo Running Kruize remote monitoring fault tolerant testsuite on minikube | ||
cd tests/scripts/remote_monitoring_tests/fault_tolerant_tests | ||
./remote_monitoring_fault_tolerant_tests.sh -c minikube -i ${{ github.event.inputs.image }} -r ${GITHUB_WORKSPACE} | ||
- name: Archive results | ||
if: always() | ||
run: | | ||
cd ${GITHUB_WORKSPACE} | ||
ls | ||
tar cvf kruize_test_results.tar kruize_test_results | ||
ls | ||
- name: Upload results | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: kruize_test_results | ||
path: ./kruize_test_results.tar | ||
retention-days: 2 |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.