This commit is contained in:
Seth Call 2026-01-11 14:00:07 -06:00
parent f355501884
commit b44a81feff
1 changed files with 10 additions and 26 deletions

View File

@ -151,27 +151,7 @@ pipelines:
services:
- docker
- step:
name: Deploy coturn/coturn-dns to staging
deployment: staging
script:
- pipe: atlassian/kubectl-run:1.1.2
variables:
KUBE_CONFIG: $KUBE_CONFIG_STG
KUBECTL_COMMAND: '-n coturn rollout restart deployment/coturn'
- pipe: atlassian/kubectl-run:1.1.2
variables:
KUBE_CONFIG: $KUBE_CONFIG_STG
KUBECTL_COMMAND: '-n coturn rollout status -w deployment/coturn'
- pipe: atlassian/kubectl-run:1.1.2
variables:
KUBE_CONFIG: $KUBE_CONFIG_STG
KUBECTL_COMMAND: '-n coturn-dns rollout restart deployment/coturn-dns'
- pipe: atlassian/kubectl-run:1.1.2
variables:
KUBE_CONFIG: $KUBE_CONFIG_STG
KUBECTL_COMMAND: '-n coturn-dns rollout status -w deployment/coturn-dns'
- step:
name: Verify and Test Staging
name: Deploy, Verify and Test Staging
deployment: staging
image: node:22
script:
@ -180,9 +160,13 @@ pipelines:
- install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
- echo $KUBE_CONFIG_STG | base64 -d > kubeconfig
- export KUBECONFIG=$(pwd)/kubeconfig
- npx playwright install-deps
- kubectl -n coturn rollout restart deployment/coturn
- kubectl -n coturn rollout status -w deployment/coturn
- kubectl -n coturn-dns rollout restart deployment/coturn-dns
- kubectl -n coturn-dns rollout status -w deployment/coturn-dns
- chmod +x scripts/verify-deployment.sh
- ./scripts/verify-deployment.sh $BITBUCKET_COMMIT staging
- npx playwright install-deps
- git clone --depth 1 git@bitbucket.org:jamkazam/video-e2e.git
- cd video-e2e
- npm install