From 48b5680d335bfd01869b6e3221a4955fa3973543 Mon Sep 17 00:00:00 2001 From: Victor Vazquez Date: Thu, 4 Jan 2024 23:22:38 +0000 Subject: [PATCH] update hoook --- .../todo/projects/csharp-cosmos-sql/.repo/bicep/azure.yaml | 2 +- .../todo/projects/csharp-sql-swa-func/.repo/bicep/azure.yaml | 2 +- templates/todo/projects/csharp-sql/.repo/bicep/azure.yaml | 2 +- templates/todo/projects/java-mongo-aca/.repo/bicep/azure.yaml | 2 +- templates/todo/projects/java-mongo/.repo/bicep/azure.yaml | 2 +- .../todo/projects/java-postgresql/.repo/terraform/azure.yaml | 2 +- templates/todo/projects/nodejs-mongo-aca/.repo/bicep/azure.yaml | 2 +- templates/todo/projects/nodejs-mongo-aks/.repo/bicep/azure.yaml | 2 +- .../todo/projects/nodejs-mongo-swa-func/.repo/bicep/azure.yaml | 2 +- templates/todo/projects/nodejs-mongo/.repo/bicep/azure.yaml | 2 +- templates/todo/projects/nodejs-mongo/.repo/terraform/azure.yaml | 2 +- templates/todo/projects/python-mongo-aca/.repo/bicep/azure.yaml | 2 +- .../todo/projects/python-mongo-swa-func/.repo/bicep/azure.yaml | 2 +- templates/todo/projects/python-mongo/.repo/bicep/azure.yaml | 2 +- templates/todo/projects/python-mongo/.repo/terraform/azure.yaml | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/templates/todo/projects/csharp-cosmos-sql/.repo/bicep/azure.yaml b/templates/todo/projects/csharp-cosmos-sql/.repo/bicep/azure.yaml index df38e645c75..b3513a16022 100644 --- a/templates/todo/projects/csharp-cosmos-sql/.repo/bicep/azure.yaml +++ b/templates/todo/projects/csharp-cosmos-sql/.repo/bicep/azure.yaml @@ -22,7 +22,7 @@ services: run: 'echo "VITE_API_BASE_URL=\"$env:API_BASE_URL\"" > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$env:APPLICATIONINSIGHTS_CONNECTION_STRING\"" >> .env.local ; npm run build; rm .env.local' posix: shell: sh - run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local && npm run build && rm .env.local' + run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local&& npm install && npm run build && rm .env.local' api: project: ../../api/csharp-cosmos-sql language: csharp diff --git a/templates/todo/projects/csharp-sql-swa-func/.repo/bicep/azure.yaml b/templates/todo/projects/csharp-sql-swa-func/.repo/bicep/azure.yaml index 6a944a80f5c..856f944dfc8 100644 --- a/templates/todo/projects/csharp-sql-swa-func/.repo/bicep/azure.yaml +++ b/templates/todo/projects/csharp-sql-swa-func/.repo/bicep/azure.yaml @@ -22,7 +22,7 @@ services: run: 'echo "VITE_API_BASE_URL=\"$env:API_BASE_URL\"" > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$env:APPLICATIONINSIGHTS_CONNECTION_STRING\"" >> .env.local ; npm run build; rm .env.local' posix: shell: sh - run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local && npm run build && rm .env.local' + run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local&& npm install && npm run build && rm .env.local' api: project: ../../api/csharp-sql-func language: dotnet diff --git a/templates/todo/projects/csharp-sql/.repo/bicep/azure.yaml b/templates/todo/projects/csharp-sql/.repo/bicep/azure.yaml index 7b7fcf36d8a..6a7b6cf6a9d 100644 --- a/templates/todo/projects/csharp-sql/.repo/bicep/azure.yaml +++ b/templates/todo/projects/csharp-sql/.repo/bicep/azure.yaml @@ -22,7 +22,7 @@ services: run: 'echo "VITE_API_BASE_URL=\"$env:API_BASE_URL\"" > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$env:APPLICATIONINSIGHTS_CONNECTION_STRING\"" >> .env.local ; npm run build; rm .env.local' posix: shell: sh - run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local && npm run build && rm .env.local' + run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local&& npm install && npm run build && rm .env.local' api: project: ../../api/csharp-sql language: csharp diff --git a/templates/todo/projects/java-mongo-aca/.repo/bicep/azure.yaml b/templates/todo/projects/java-mongo-aca/.repo/bicep/azure.yaml index 2979a3834c4..a6d41720637 100644 --- a/templates/todo/projects/java-mongo-aca/.repo/bicep/azure.yaml +++ b/templates/todo/projects/java-mongo-aca/.repo/bicep/azure.yaml @@ -21,7 +21,7 @@ services: run: 'echo "VITE_API_BASE_URL=\"$env:API_BASE_URL\"" > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$env:APPLICATIONINSIGHTS_CONNECTION_STRING\"" >> .env.local ; npm run build; rm .env.local' posix: shell: sh - run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local && npm run build && rm .env.local' + run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local&& npm install && npm run build && rm .env.local' api: project: ../../api/java language: java diff --git a/templates/todo/projects/java-mongo/.repo/bicep/azure.yaml b/templates/todo/projects/java-mongo/.repo/bicep/azure.yaml index 81a7d51f0bc..5e3ee104cf7 100644 --- a/templates/todo/projects/java-mongo/.repo/bicep/azure.yaml +++ b/templates/todo/projects/java-mongo/.repo/bicep/azure.yaml @@ -22,7 +22,7 @@ services: run: 'echo "VITE_API_BASE_URL=\"$env:API_BASE_URL\"" > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$env:APPLICATIONINSIGHTS_CONNECTION_STRING\"" >> .env.local ; npm run build; rm .env.local' posix: shell: sh - run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local && npm run build && rm .env.local' + run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local&& npm install && npm run build && rm .env.local' api: project: ../../api/java language: java diff --git a/templates/todo/projects/java-postgresql/.repo/terraform/azure.yaml b/templates/todo/projects/java-postgresql/.repo/terraform/azure.yaml index b466163d50f..b41efcf08eb 100644 --- a/templates/todo/projects/java-postgresql/.repo/terraform/azure.yaml +++ b/templates/todo/projects/java-postgresql/.repo/terraform/azure.yaml @@ -22,7 +22,7 @@ services: run: 'echo "VITE_API_BASE_URL=\"$env:API_BASE_URL\"" > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$env:APPLICATIONINSIGHTS_CONNECTION_STRING\"" >> .env.local ; npm run build; rm .env.local' posix: shell: sh - run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local && npm run build && rm .env.local' + run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local&& npm install && npm run build && rm .env.local' api: project: ../../api/java language: java diff --git a/templates/todo/projects/nodejs-mongo-aca/.repo/bicep/azure.yaml b/templates/todo/projects/nodejs-mongo-aca/.repo/bicep/azure.yaml index a3b0bd95d08..032cb1320a2 100644 --- a/templates/todo/projects/nodejs-mongo-aca/.repo/bicep/azure.yaml +++ b/templates/todo/projects/nodejs-mongo-aca/.repo/bicep/azure.yaml @@ -21,7 +21,7 @@ services: run: 'echo "VITE_API_BASE_URL=\"$env:API_BASE_URL\"" > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$env:APPLICATIONINSIGHTS_CONNECTION_STRING\"" >> .env.local ; npm run build; rm .env.local' posix: shell: sh - run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local && npm run build && rm .env.local' + run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local&& npm install && npm run build && rm .env.local' api: project: ../../api/js language: js diff --git a/templates/todo/projects/nodejs-mongo-aks/.repo/bicep/azure.yaml b/templates/todo/projects/nodejs-mongo-aks/.repo/bicep/azure.yaml index 71dd5c36277..ffac65255ec 100644 --- a/templates/todo/projects/nodejs-mongo-aks/.repo/bicep/azure.yaml +++ b/templates/todo/projects/nodejs-mongo-aks/.repo/bicep/azure.yaml @@ -22,7 +22,7 @@ services: run: 'echo "VITE_API_BASE_URL=\"$env:API_BASE_URL\"" > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$env:APPLICATIONINSIGHTS_CONNECTION_STRING\"" >> .env.local ; npm run build; rm .env.local' posix: shell: sh - run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local && npm run build && rm .env.local' + run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local&& npm install && npm run build && rm .env.local' postdeploy: shell: sh run: azd env set REACT_APP_WEB_BASE_URL ${SERVICE_WEB_ENDPOINT_URL} diff --git a/templates/todo/projects/nodejs-mongo-swa-func/.repo/bicep/azure.yaml b/templates/todo/projects/nodejs-mongo-swa-func/.repo/bicep/azure.yaml index 0d662306ad3..0e74da91497 100644 --- a/templates/todo/projects/nodejs-mongo-swa-func/.repo/bicep/azure.yaml +++ b/templates/todo/projects/nodejs-mongo-swa-func/.repo/bicep/azure.yaml @@ -22,7 +22,7 @@ services: run: 'echo "VITE_API_BASE_URL=\"$env:API_BASE_URL\"" > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$env:APPLICATIONINSIGHTS_CONNECTION_STRING\"" >> .env.local ; npm run build; rm .env.local' posix: shell: sh - run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local && npm run build && rm .env.local' + run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local&& npm install && npm run build && rm .env.local' api: project: ../../api/js language: js diff --git a/templates/todo/projects/nodejs-mongo/.repo/bicep/azure.yaml b/templates/todo/projects/nodejs-mongo/.repo/bicep/azure.yaml index 3fd229d597b..5f5345569a2 100644 --- a/templates/todo/projects/nodejs-mongo/.repo/bicep/azure.yaml +++ b/templates/todo/projects/nodejs-mongo/.repo/bicep/azure.yaml @@ -22,7 +22,7 @@ services: run: 'echo "VITE_API_BASE_URL=\"$env:API_BASE_URL\"" > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$env:APPLICATIONINSIGHTS_CONNECTION_STRING\"" >> .env.local ; npm run build; rm .env.local' posix: shell: sh - run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local && npm run build && rm .env.local' + run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local&& npm install && npm run build && rm .env.local' api: project: ../../api/js language: js diff --git a/templates/todo/projects/nodejs-mongo/.repo/terraform/azure.yaml b/templates/todo/projects/nodejs-mongo/.repo/terraform/azure.yaml index 109d14074a0..c73aa964bb7 100644 --- a/templates/todo/projects/nodejs-mongo/.repo/terraform/azure.yaml +++ b/templates/todo/projects/nodejs-mongo/.repo/terraform/azure.yaml @@ -22,7 +22,7 @@ services: run: 'echo "VITE_API_BASE_URL=\"$env:API_BASE_URL\"" > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$env:APPLICATIONINSIGHTS_CONNECTION_STRING\"" >> .env.local ; npm run build; rm .env.local' posix: shell: sh - run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local && npm run build && rm .env.local' + run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local&& npm install && npm run build && rm .env.local' api: project: ../../api/js language: js diff --git a/templates/todo/projects/python-mongo-aca/.repo/bicep/azure.yaml b/templates/todo/projects/python-mongo-aca/.repo/bicep/azure.yaml index e0ac31f54fc..841a209cee8 100644 --- a/templates/todo/projects/python-mongo-aca/.repo/bicep/azure.yaml +++ b/templates/todo/projects/python-mongo-aca/.repo/bicep/azure.yaml @@ -21,7 +21,7 @@ services: run: 'echo "VITE_API_BASE_URL=\"$env:API_BASE_URL\"" > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$env:APPLICATIONINSIGHTS_CONNECTION_STRING\"" >> .env.local ; npm run build; rm .env.local' posix: shell: sh - run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local && npm run build && rm .env.local' + run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local&& npm install && npm run build && rm .env.local' api: project: ../../api/python language: python diff --git a/templates/todo/projects/python-mongo-swa-func/.repo/bicep/azure.yaml b/templates/todo/projects/python-mongo-swa-func/.repo/bicep/azure.yaml index d8f148ecacc..f5a72c58b0d 100644 --- a/templates/todo/projects/python-mongo-swa-func/.repo/bicep/azure.yaml +++ b/templates/todo/projects/python-mongo-swa-func/.repo/bicep/azure.yaml @@ -22,7 +22,7 @@ services: run: 'echo "VITE_API_BASE_URL=\"$env:API_BASE_URL\"" > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$env:APPLICATIONINSIGHTS_CONNECTION_STRING\"" >> .env.local ; npm run build; rm .env.local' posix: shell: sh - run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local && npm run build && rm .env.local' + run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local&& npm install && npm run build && rm .env.local' api: project: ../../api/python language: py diff --git a/templates/todo/projects/python-mongo/.repo/bicep/azure.yaml b/templates/todo/projects/python-mongo/.repo/bicep/azure.yaml index 7e7352a27d6..559bec9752a 100644 --- a/templates/todo/projects/python-mongo/.repo/bicep/azure.yaml +++ b/templates/todo/projects/python-mongo/.repo/bicep/azure.yaml @@ -22,7 +22,7 @@ services: run: 'echo "VITE_API_BASE_URL=\"$env:API_BASE_URL\"" > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$env:APPLICATIONINSIGHTS_CONNECTION_STRING\"" >> .env.local ; npm run build; rm .env.local' posix: shell: sh - run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local && npm run build && rm .env.local' + run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local&& npm install && npm run build && rm .env.local' api: project: ../../api/python language: py diff --git a/templates/todo/projects/python-mongo/.repo/terraform/azure.yaml b/templates/todo/projects/python-mongo/.repo/terraform/azure.yaml index 23f3615e2c0..9cc49b0fd2f 100644 --- a/templates/todo/projects/python-mongo/.repo/terraform/azure.yaml +++ b/templates/todo/projects/python-mongo/.repo/terraform/azure.yaml @@ -24,7 +24,7 @@ services: run: 'echo "VITE_API_BASE_URL=\"$env:API_BASE_URL\"" > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$env:APPLICATIONINSIGHTS_CONNECTION_STRING\"" >> .env.local ; npm run build; rm .env.local' posix: shell: sh - run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local && npm run build && rm .env.local' + run: 'echo VITE_API_BASE_URL=\"$API_BASE_URL\" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local&& npm install && npm run build && rm .env.local' api: project: ../../api/python language: py