forked from kserve/kserve
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 0.10.1 cherry-pick merge issue (kserve#2999)
* Run e2e tests with release branch Signed-off-by: Dan Sun <[email protected]> * Fix merge issue Signed-off-by: Dan Sun <[email protected]> * Update release branch name Signed-off-by: Dan Sun <[email protected]> * Free up disk spaces Signed-off-by: Dan Sun <[email protected]> * Fix disk space issue Signed-off-by: Dan Sun <[email protected]> * prune docker images Signed-off-by: Dan Sun <[email protected]> * Use standard socket for single process (kserve#3000) Signed-off-by: Dan Sun <[email protected]> * Use cpu images for torch Signed-off-by: Dan Sun <[email protected]> * Update version to 0.10.2 Signed-off-by: Dan Sun <[email protected]> * Use buildx for images Signed-off-by: Dan Sun <[email protected]> * fix dockerfile Signed-off-by: Dan Sun <[email protected]> --------- Signed-off-by: Dan Sun <[email protected]>
- Loading branch information
Showing
16 changed files
with
67 additions
and
37 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 |
---|---|---|
|
@@ -4,6 +4,23 @@ description: 'Sets up minikube on the github runner' | |
runs: | ||
using: "composite" | ||
steps: | ||
- name: Free up disk space | ||
shell: bash | ||
run: | | ||
echo "Disk usage before cleanup:" | ||
df -h | ||
# remove non-essential tools and libraries, see: | ||
# https://github.com/actions/runner-images/issues/2840#issuecomment-790492173 | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf /usr/share/dotnet | ||
sudo rm -rf /usr/local/share/boost | ||
# delete libraries for Android (12G), CodeQL (5.3G), PowerShell (1.3G), Swift (1.7G) | ||
sudo rm -rf /usr/local/lib/android | ||
sudo rm -rf "${AGENT_TOOLSDIRECTORY}/CodeQL" | ||
sudo rm -rf /usr/local/share/powershell | ||
sudo rm -rf /usr/share/swift | ||
echo "Disk usage after cleanup:" | ||
df -h | ||
- name: Setup Minikube | ||
uses: manusa/[email protected] | ||
with: | ||
|
@@ -12,12 +29,23 @@ runs: | |
driver: 'none' | ||
start args: --wait-timeout=120s | ||
github token: ${{ env.GITHUB_TOKEN }} | ||
- name: Install kubectl | ||
uses: azure/setup-kubectl@v3 | ||
with: | ||
version: 'v1.23.0' | ||
- name: Setup port-forward | ||
shell: bash | ||
run: sudo apt-get install -y conntrack socat | ||
- name: Check Kubernetes pods | ||
shell: bash | ||
run: kubectl get pods -n kube-system | ||
- name: Prune docker images | ||
shell: bash | ||
run: | | ||
echo "Pruning docker images" | ||
docker image prune -a -f | ||
docker system df | ||
df -h | ||
- name: Setup KServe dependencies | ||
shell: bash | ||
run: | | ||
|
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
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
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
0.10.1 | ||
0.10.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
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
kserve | ||
torchvision | ||
torch==2.0.0+cpu | ||
torchvision==0.15.1+cpu |
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
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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
kserve | ||
torchvision | ||
torch==2.0.0+cpu | ||
torchvision==0.15.1+cpu | ||
pillow==9.3.0 |
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
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
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
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
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