Skip to content

Commit

Permalink
Fix MTA V7 CI: set the backend secret for notification
Browse files Browse the repository at this point in the history
Signed-off-by: gabriel-farache <[email protected]>
  • Loading branch information
gabriel-farache committed Aug 1, 2024
1 parent 32a6e6a commit 7712fc3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/mta-v7.x-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ jobs:
cat manifests/04-sonataflow_mta-analysis-v7.yaml
echo "---"
# Set notification external access token
echo " Set notification external access token"
BACKEND_SECRET=$(kubectl get secret orchestrator-auth -o jsonpath={.data.backend-secret})
yq --inplace ".data.NOTIFICATIONS_BEARER_TOKEN=\"$BACKEND_SECRET\"" manifests/0?-secret_mta-analysis-v7.yaml # notsecret
cat manifests/0?-secret_mta-analysis-v7.yaml
# deploy the manifests created by the ${{ steps.build-image.outputs.image }} image
kubectl apply -f manifests/
sleep 5
Expand Down

0 comments on commit 7712fc3

Please sign in to comment.