Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
avtakkar committed Mar 22, 2024
1 parent 77151a3 commit a38e1f9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build/ci/scripts/azure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
source $SCRIPT_DIR/env.sh

PEERD_HELM_CHART="$SCRIPT_DIR/../build/package/peerd-helm"
PEERD_HELM_CHART="$SCRIPT_DIR/../../package/peerd-helm"
TELEPORT_DEPLOY_TEMPLATE="$SCRIPT_DIR/../k8s/teleport.yml"
SCANNER_APP_DEPLOY_TEMPLATE="$SCRIPT_DIR/../k8s/scanner.yml"
TESTS_AZURE_CLI_DEPLOY_TEMPLATE=$SCRIPT_DIR/../build/ci/k8s/azure-cli.yml
Expand Down Expand Up @@ -242,7 +242,7 @@ cmd__test__streaming() {
echo "deploying acr mirror"
kubectl apply -f $TELEPORT_DEPLOY_TEMPLATE

echo "waiting 5 minutes"
echo "waiting 5 minutes"
sleep 300

echo "deploying scanner app"
Expand All @@ -253,6 +253,9 @@ cmd__test__streaming() {
echo "fetching metrics from pods"
print_peerd_metrics

echo "scanner logs"
kubectl -n peerd-ns logs -l app=tests-scanner

echo "cleaning up apps"
helm uninstall peerd --ignore-not-found=true
kubectl delete -f $SCANNER_APP_DEPLOY_TEMPLATE
Expand Down

0 comments on commit a38e1f9

Please sign in to comment.