You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by by...@apache.org on 2021/07/01 13:45:14 UTC
[submarine] branch master updated: SUBMARINE-885. Fix KinD error
and remove docker layer cache
This is an automated email from the ASF dual-hosted git repository.
byronhsu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git
The following commit(s) were added to refs/heads/master by this push:
new 51f4252 SUBMARINE-885. Fix KinD error and remove docker layer cache
51f4252 is described below
commit 51f4252e9af47ea268f3be814d7e1a788ae721e7
Author: KUAN-HSUN-LI <b0...@ntu.edu.tw>
AuthorDate: Thu Jul 1 14:08:27 2021 +0800
SUBMARINE-885. Fix KinD error and remove docker layer cache
### What is this PR for?
There are setting bugs that make the python-sdk test fails. Use the official KinD to install the submarine and remove the docker layer cache which is not available in this repo.
### What type of PR is it?
[Bug Fix]
### Todos
### What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-885
### How should this be tested?
See the GitHub Actions.
### Screenshots (if appropriate)
### Questions:
* Do the license files need updating? No
* Are there breaking changes for older versions? No
* Does this need new documentation? No
Author: KUAN-HSUN-LI <b0...@ntu.edu.tw>
Signed-off-by: byronhsu <by...@apache.org>
Closes #629 from KUAN-HSUN-LI/SUBMARINE-885 and squashes the following commits:
07796855 [KUAN-HSUN-LI] SUBMARINE-885. Fix KinD error and remove docker layer cache
---
.github/workflows/python.yml | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
index 5defb8e..90d3c1f 100644
--- a/.github/workflows/python.yml
+++ b/.github/workflows/python.yml
@@ -52,7 +52,6 @@ jobs:
run: |
mvn --version
java -version
-
- name: Create the kind config
run: |
cat <<EOF > ./kind-config-kind.yaml
@@ -75,11 +74,9 @@ jobs:
hostPort: 443
protocol: TCP
EOF
- - uses: container-tools/kind-action@v1
- with:
- version: "v0.9.0"
- node_image: kindest/node:v1.15.11
- config: ./kind-config-kind.yaml
+ - name: Create kind cluster
+ run: |
+ kind create cluster --config ./kind-config-kind.yaml --wait 3m --image kindest/node:v1.15.12
- name: Show K8s cluster information
run: |
kubectl cluster-info
@@ -87,13 +84,6 @@ jobs:
kubectl get pods -n kube-system
echo "current-context:" $(kubectl config current-context)
echo "environment-kubeconfig:" ${KUBECONFIG}
-
- # Cache docker layer
- - name: Cache docker layer
- uses: satackey/action-docker-layer-caching@v0.0.11
- # Ignore the failure of a step and avoid terminating the job.
- continue-on-error: true
-
# Cache maven (for submarine server)
- uses: actions/cache@v1
with:
@@ -146,3 +136,9 @@ jobs:
run: |
cd submarine-sdk/pysubmarine
pytest --cov=submarine -vs -m "e2e"
+ - name: Failure status
+ run: |
+ kubectl get pods
+ kubectl -n default get events --sort-by='{.lastTimestamp}'
+ kubectl describe nodes
+ if: ${{ failure() }}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org