Reconcile sources in the runtime namespace only
This commit is contained in:
parent
4f1829914d
commit
d27cc96233
|
@ -51,17 +51,17 @@ jobs:
|
|||
KUBEBUILDER_ASSETS: ${{ github.workspace }}/kubebuilder/bin
|
||||
- name: Run smoke tests
|
||||
run: |
|
||||
kubectl apply -f ./config/samples
|
||||
kubectl -n source-system apply -f ./config/samples
|
||||
kubectl -n source-system rollout status deploy/source-controller --timeout=1m
|
||||
kubectl wait gitrepository/gitrepository-sample --for=condition=ready --timeout=1m
|
||||
kubectl wait helmrepository/helmrepository-sample --for=condition=ready --timeout=1m
|
||||
kubectl wait helmchart/helmchart-sample --for=condition=ready --timeout=1m
|
||||
kubectl -n source-system wait gitrepository/gitrepository-sample --for=condition=ready --timeout=1m
|
||||
kubectl -n source-system wait helmrepository/helmrepository-sample --for=condition=ready --timeout=1m
|
||||
kubectl -n source-system wait helmchart/helmchart-sample --for=condition=ready --timeout=1m
|
||||
kubectl -n source-system logs deploy/source-controller
|
||||
- name: Debug failure
|
||||
if: failure()
|
||||
run: |
|
||||
kubectl get gitrepositories -oyaml
|
||||
kubectl get helmrepositories -oyaml
|
||||
kubectl get helmcharts -oyaml
|
||||
kubectl -n source-system get gitrepositories -oyaml
|
||||
kubectl -n source-system get helmrepositories -oyaml
|
||||
kubectl -n source-system get helmcharts -oyaml
|
||||
kubectl -n source-system get all
|
||||
kubectl -n source-system logs deploy/source-controller
|
||||
|
|
Loading…
Reference in New Issue