Skip to content

Commit

Permalink
Fix port-forward.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaus67 committed Nov 3, 2023
1 parent 1c76756 commit d16ad44
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,21 @@ jobs:
echo "KUBECONFIG=${ARTIFACTS_DIR}/kubeconfig" >> $GITHUB_ENV
export KUBECONFIG=${ARTIFACTS_DIR}/kubeconfig
# Kill port-forwards from ealier runs
pkill -f kubectl'.*port-forward.*' || true
pkill -9 -f kubectl'.*port-forward.*' || true
# Deploy Central via deploy scripts.
cd stackrox
./deploy/central.sh
MONITORING_SUPPORT=false ./deploy/central.sh
kubectl set env -n stackrox deploy/central ROX_AUTH_MACHINE_TO_MACHINE=true
# Sleep to ensure Central pods are restarted
sleep 60
# Kill port-forwards from ealier runs
pkill -f kubectl'.*port-forward.*' || true
pkill -9 -f kubectl'.*port-forward.*' || true
./deploy/k8s/central-deploy/central/scripts/port-forward.sh 8000
Expand Down

0 comments on commit d16ad44

Please sign in to comment.