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

refactor github actions ci #2327

Merged
merged 1 commit into from
May 24, 2021
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
2 changes: 1 addition & 1 deletion .github/workflows/kind-chaos-mesh-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
CFG_BASE64: YXBpVmVyc2lvbjogY2hhb3MtbWVzaC5vcmcvdjFhbHBoYTENCmtpbmQ6IFBvZENoYW9zDQptZXRhZGF0YToNCiAgbmFtZTogY29udGFpbmVyLWtpbGwNCiAgbmFtZXNwYWNlOiBjaGFvcy10ZXN0aW5nDQpzcGVjOg0KICBhY3Rpb246IGNvbnRhaW5lci1raWxsDQogIG1vZGU6IG9uZQ0KICBjb250YWluZXJOYW1lOiAibXlzcWwiDQogIHNlbGVjdG9yOg0KICAgIG5hbWVzcGFjZXM6DQogICAgICAtIGRlZmF1bHQNCiAgICBsYWJlbFNlbGVjdG9yczoNCiAgICAgICJhcHAiOiAibXlzcWwiDQogIHNjaGVkdWxlcjoNCiAgICBjcm9uOiAiQGV2ZXJ5IDEwbSINCg==
CHAOS_MESH_VERSION: v1.0.0

- name: Check pods
- name: Check status
run: |
for i in `seq 10`
do
Expand Down
13 changes: 1 addition & 12 deletions .github/workflows/kind-openliberty-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
kubectl describe po $(kubectl get pods | awk '{print $1}' | grep openliberty)
kubectl logs $(kubectl get pods | awk '{print $1}' | grep openliberty)
- name: check minikube status
- name: check status
if: always()
run: |
kubectl get po --all-namespaces=true
Expand All @@ -52,14 +52,3 @@ jobs:
run: |
kubectl -n monitoring describe po $(kubectl get pods -n monitoring | awk '{print $1}' | grep postmannewman-openliberty)
kubectl -n monitoring logs $(kubectl get pods -n monitoring | awk '{print $1}' | grep postmannewman-openliberty)
- name: check minikube status
if: always()
run: |
kubectl get po --all-namespaces=true
kubectl get nodes
kubectl get pv
kubectl get pvc
kubectl get all
kubectl get all -n monitoring
kubectl get ingress
df -h /
13 changes: 1 addition & 12 deletions .github/workflows/kind-quarkus-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,6 @@ jobs:
kubectl -n monitoring wait --for=condition=complete --timeout=15m job/postmannewman-quarkus
kubectl -n monitoring describe job postmannewman-quarkus
kubectl -n monitoring logs $(kubectl get pods -n monitoring | awk '{print $1}' | grep postmannewman-quarkus)
- name: check minikube status
if: always()
run: |
kubectl get po --all-namespaces=true
kubectl get nodes
kubectl get pv
kubectl get pvc
kubectl get all
kubectl get all -n monitoring
kubectl get ingress
df -h /
- name: check log jaxrs-mysql
if: always()
run: |
Expand Down Expand Up @@ -98,7 +87,7 @@ jobs:
run: |
kubectl -n monitoring describe po $(kubectl get pods -n monitoring | awk '{print $1}' | grep postmannewman-quarkus)
kubectl -n monitoring logs $(kubectl get pods -n monitoring | awk '{print $1}' | grep postmannewman-quarkus)
- name: check minikube status
- name: check status
if: always()
run: |
kubectl get po --all-namespaces=true
Expand Down
13 changes: 1 addition & 12 deletions .github/workflows/kind-spring-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
kubectl describe po $(kubectl get pods | awk '{print $1}' | grep spring)
kubectl logs $(kubectl get pods | awk '{print $1}' | grep spring)
- name: check minikube status
- name: check status
if: always()
run: |
kubectl get po --all-namespaces=true
Expand All @@ -52,14 +52,3 @@ jobs:
run: |
kubectl -n monitoring describe po $(kubectl get pods -n monitoring | awk '{print $1}' | grep postmannewman-spring)
kubectl -n monitoring logs $(kubectl get pods -n monitoring | awk '{print $1}' | grep postmannewman-spring)
- name: check minikube status
if: always()
run: |
kubectl get po --all-namespaces=true
kubectl get nodes
kubectl get pv
kubectl get pvc
kubectl get all
kubectl get all -n monitoring
kubectl get ingress
df -h /
13 changes: 1 addition & 12 deletions .github/workflows/minikube-openliberty-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
run: |
kubectl describe po $(kubectl get pods | awk '{print $1}' | grep openliberty)
kubectl logs $(kubectl get pods | awk '{print $1}' | grep openliberty)
- name: check minikube status
- name: check status
if: always()
run: |
kubectl get po --all-namespaces=true
Expand All @@ -84,14 +84,3 @@ jobs:
run: |
kubectl -n monitoring describe po $(kubectl get pods -n monitoring | awk '{print $1}' | grep postmannewman-openliberty)
kubectl -n monitoring logs $(kubectl get pods -n monitoring | awk '{print $1}' | grep postmannewman-openliberty)
- name: check minikube status
if: always()
run: |
kubectl get po --all-namespaces=true
kubectl get nodes
kubectl get pv
kubectl get pvc
kubectl get all
kubectl get all -n monitoring
kubectl get ingress
df -h /
13 changes: 1 addition & 12 deletions .github/workflows/minikube-quarkus-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,6 @@ jobs:
kubectl -n monitoring wait --for=condition=complete --timeout=15m job/postmannewman-quarkus
kubectl -n monitoring describe job postmannewman-quarkus
kubectl -n monitoring logs $(kubectl get pods -n monitoring | awk '{print $1}' | grep postmannewman-quarkus)
- name: check minikube status
if: always()
run: |
kubectl get po --all-namespaces=true
kubectl get nodes
kubectl get pv
kubectl get pvc
kubectl get all
kubectl get all -n monitoring
kubectl get ingress
df -h /
- name: check log jaxrs-mysql
if: always()
run: |
Expand Down Expand Up @@ -135,7 +124,7 @@ jobs:
run: |
kubectl -n monitoring describe po $(kubectl get pods -n monitoring | awk '{print $1}' | grep postmannewman-quarkus)
kubectl -n monitoring logs $(kubectl get pods -n monitoring | awk '{print $1}' | grep postmannewman-quarkus)
- name: check minikube status
- name: check status
if: always()
run: |
kubectl get po --all-namespaces=true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/minikube-security-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
target: "http://k8s.3tier.webapp/"
- name: check minikube status
- name: check status
if: always()
run: |
kubectl get po --all-namespaces=true
Expand Down
13 changes: 1 addition & 12 deletions .github/workflows/minikube-spring-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
run: |
kubectl describe po $(kubectl get pods | awk '{print $1}' | grep spring)
kubectl logs $(kubectl get pods | awk '{print $1}' | grep spring)
- name: check minikube status
- name: check status
if: always()
run: |
kubectl get po --all-namespaces=true
Expand All @@ -84,14 +84,3 @@ jobs:
run: |
kubectl -n monitoring describe po $(kubectl get pods -n monitoring | awk '{print $1}' | grep postmannewman-spring)
kubectl -n monitoring logs $(kubectl get pods -n monitoring | awk '{print $1}' | grep postmannewman-spring)
- name: check minikube status
if: always()
run: |
kubectl get po --all-namespaces=true
kubectl get nodes
kubectl get pv
kubectl get pvc
kubectl get all
kubectl get all -n monitoring
kubectl get ingress
df -h /
2 changes: 1 addition & 1 deletion .github/workflows/minikube-stress-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
run: |
kubectl -n monitoring describe po $(kubectl get pods -n monitoring | awk '{print $1}' | grep ab-${{ matrix.app }})
kubectl -n monitoring logs $(kubectl get pods -n monitoring | awk '{print $1}' | grep ab-${{ matrix.app }})
- name: check minikube status
- name: check status
if: always()
run: |
kubectl get po --all-namespaces=true
Expand Down