diff --git a/.github/workflows/e2e-k3s.yaml b/.github/workflows/e2e-k3s.yaml index 132139615b..16b02cc943 100644 --- a/.github/workflows/e2e-k3s.yaml +++ b/.github/workflows/e2e-k3s.yaml @@ -29,6 +29,17 @@ jobs: - name: Inject the images to the cluster run: k3d image import signoz/query-service:$DOCKER_TAG signoz/frontend:$DOCKER_TAG -c signoz + - name: Set up HotROD sample-app + run: | + # create sample-application namespace + kubectl create ns sample-application + + # apply hotrod k8s manifest file + kubectl -n sample-application apply -f https://raw.githubusercontent.com/SigNoz/signoz/main/sample-apps/hotrod/hotrod.yaml + + # wait for all deployments in sample-application namespace to be READY + kubectl -n sample-application get deploy --output name | xargs -r -n1 -t kubectl -n sample-application rollout status --timeout=300s + - name: Deploy the app run: | # add signoz helm repository @@ -54,15 +65,6 @@ jobs: - name: Kick off a sample-app workload run: | - # create sample-application namespace - kubectl create ns sample-application - - # apply hotrod k8s manifest file - kubectl -n sample-application apply -f https://raw.githubusercontent.com/SigNoz/signoz/main/sample-apps/hotrod/hotrod.yaml - - # wait for all deployments in sample-application namespace to be READY - kubectl -n sample-application get deploy --output name | xargs -r -n1 -t kubectl -n sample-application rollout status --timeout=300s - # start the locust swarm kubectl -n sample-application run strzal --image=djbingham/curl \ --restart='OnFailure' -i --rm --command -- curl -X POST -F \