File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,16 +89,33 @@ jobs:
8989
9090 sleep 5 # to be safe
9191
92- - name : " Deploy MVD"
92+ - name : " Deploy MVD common resources "
9393 run : |-
94- kubectl apply -k k8s/
94+ kubectl apply -k k8s/common && kubectl wait -A \
95+ --for=condition=ready pod \
96+ --selector=type=edc-infra \
97+ --timeout=120s || kubectl get pods -A && exit 1
9598
96- - name : " Wait for MVD to be ready "
99+ - name : " Deploy MVD issuer resources "
97100 run : |-
98- kubectl wait -A \
101+ kubectl apply -k k8s/issuer && kubectl wait -A \
99102 --selector=type=edc-job \
100103 --for=condition=complete job --all \
101- --timeout=300s || kubectl get pods -A
104+ --timeout=120s || kubectl get pods -A && exit 1
105+
106+ - name : " Deploy MVD consumer resources"
107+ run : |-
108+ kubectl apply -k k8s/consumer && kubectl wait -A \
109+ --selector=type=edc-job \
110+ --for=condition=complete job --all \
111+ --timeout=240s || kubectl get pods -A && exit 1
112+
113+ - name : " Deploy MVD provider resources"
114+ run : |-
115+ kubectl apply -k k8s/provider && kubectl wait -A \
116+ --selector=type=edc-job \
117+ --for=condition=complete job --all \
118+ --timeout=240s || kubectl get pods -A && exit 1
102119
103120
104121 - name : " Run E2E Test"
You can’t perform that action at this time.
0 commit comments