Skip to content

Commit 35110b7

Browse files
committed
chore: improved validate ci
1 parent 308b4d4 commit 35110b7

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/validate.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,17 @@ jobs:
3232
- name: Load Image into Kind
3333
run: kind load docker-image ext-cardano-dbsync:1.0 --name k8scluster
3434

35+
- name: Apply manifest
36+
run: kubectl apply -f test/manifest.yaml
37+
38+
- name: Wait containers is ready
39+
run: sleep 8;
40+
3541
- name: Apply manifests
36-
run: |
37-
kubectl apply -f test/manifest.yaml
38-
kubectl apply -f test/dbsyncport.yaml
42+
run: kubectl apply -f test/dbsyncport.yaml
3943

4044
- name: Validate if CRD is working
4145
run: |
42-
sleep 8;
4346
# kubectl describe dbsyncports.demeter.run --namespace project useraccess | grep -oP 'Username: \K\S+'
4447
# kubectl describe dbsyncports.demeter.run --namespace project useraccess | grep -oP 'Password: \K\S+'
4548
counter=0; while ((counter++ < 6)); do kubectl logs -n project "$(kubectl get pods -n project | grep -oP 'controller-\w+-\w+')"; sleep 2; done;
@@ -49,4 +52,3 @@ jobs:
4952
# run: |
5053
# kubectl describe dbsyncports.demeter.run --namespace project useraccess | grep -oP 'Password: \K\S+'
5154
# kubectl describe dbsyncports.demeter.run --namespace project useraccess | grep -oP 'Username: \K\S+'
52-

0 commit comments

Comments
 (0)