File tree Expand file tree Collapse file tree
core/testing/images/e2e-sandbox Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -318,7 +318,12 @@ kubectl patch -n tenant-root tenants.apps.cozystack.io root --type=merge -p '{"s
318318timeout 60 sh -c ' until kubectl get hr -n tenant-root etcd ingress monitoring tenant-root; do sleep 1; done'
319319
320320# Wait for HelmReleases be installed
321- kubectl wait --timeout=2m --for=condition=ready -n tenant-root hr etcd ingress monitoring tenant-root
321+ kubectl wait --timeout=2m --for=condition=ready -n tenant-root hr etcd ingress tenant-root
322+
323+ if ! kubectl wait --timeout=2m --for=condition=ready -n tenant-root hr monitoring; then
324+ flux reconcile hr monitoring -n tenant-root --force
325+ kubectl wait --timeout=2m --for=condition=ready -n tenant-root hr monitoring
326+ fi
322327
323328kubectl patch -n tenant-root ingresses.apps.cozystack.io ingress --type=merge -p ' {"spec":{
324329 "dashboard": true
@@ -333,7 +338,7 @@ kubectl wait --timeout=5m --for=jsonpath=.status.readyReplicas=3 -n tenant-root
333338
334339# Wait for Victoria metrics
335340kubectl wait --timeout=5m --for=jsonpath=.status.updateStatus=operational -n tenant-root vmalert/vmalert-shortterm vmalertmanager/alertmanager
336- kubectl wait --timeout=5m --for=jsonpath=.status.status =operational -n tenant-root vlogs/generic
341+ kubectl wait --timeout=5m --for=jsonpath=.status.updateStatus =operational -n tenant-root vlogs/generic
337342kubectl wait --timeout=5m --for=jsonpath=.status.clusterStatus=operational -n tenant-root vmcluster/shortterm vmcluster/longterm
338343
339344# Wait for grafana
Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ RUN curl -LO "https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kube
1414 && mv kubectl /usr/local/bin/kubectl
1515RUN curl -sSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash -s - --version "v${HELM_VERSION}"
1616RUN wget https://github.com/mikefarah/yq/releases/download/v4.44.3/yq_linux_amd64 -O /usr/local/bin/yq && chmod +x /usr/local/bin/yq
17+ RUN curl -s https://fluxcd.io/install.sh | bash
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ kind: VLogs
44metadata :
55 name : {{ .name }}
66spec :
7+ image :
8+ tag : v1.17.0-victorialogs
79 storage :
810 resources :
911 requests :
You can’t perform that action at this time.
0 commit comments