|
3 | 3 | branches: |
4 | 4 | include: |
5 | 5 | - main |
| 6 | + - production |
6 | 7 |
|
7 | 8 | pr: |
8 | 9 | branches: |
@@ -47,10 +48,35 @@ variables: |
47 | 48 | value: "Darc: Maestro Staging" |
48 | 49 | - name: MaestroAppId |
49 | 50 | value: $(MaestroStagingAppClientId) |
50 | | - - ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }}: |
| 51 | + - name: redisConnectionString |
| 52 | + value: "product-construction-service-redis-int.redis.cache.windows.net:6380,ssl=true" |
| 53 | +- ${{ else }}: |
| 54 | + - name: subscriptionId |
| 55 | + value: fbd6122a-9ad3-42e4-976e-bccb82486856 |
| 56 | + - name: containerappName |
| 57 | + value: product-construction-prod |
| 58 | + - name: containerjobNames |
| 59 | + value: sub-triggerer-twicedaily-prod,sub-triggerer-daily-prod,sub-triggerer-weekly-prod,longest-path-updater-job-prod,feed-cleaner-prod |
| 60 | + - name: containerRegistryName |
| 61 | + value: productconstructionprod |
| 62 | + - name: containerappEnvironmentName |
| 63 | + value: product-construction-service-env-prod |
| 64 | + - name: containerappWorkspaceName |
| 65 | + value: product-construction-service-workspace-prod |
| 66 | + - name: dockerRegistryUrl |
| 67 | + value: productconstructionprod.azurecr.io |
| 68 | + - name: serviceConnectionName |
| 69 | + value: ProductConstructionServiceDeploymentProd |
| 70 | + - name: authServiceConnection |
| 71 | + value: "Darc: Maestro Production" |
| 72 | + - name: MaestroAppId |
| 73 | + value: $(MaestroAppClientId) |
| 74 | + - name: redisConnectionString |
| 75 | + value: "product-construction-service-redis-prod.redis.cache.windows.net,ssl=true" |
| 76 | +- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }}: |
51 | 77 | - name: devBranchSuffix |
52 | 78 | value: |
53 | | - - ${{ else }}: |
| 79 | +- ${{ else }}: |
54 | 80 | - name: devBranchSuffix |
55 | 81 | value: -dev |
56 | 82 |
|
@@ -199,7 +225,7 @@ stages: |
199 | 225 | --azCliPath "$(azCliPath)" ` |
200 | 226 | --isCi true ` |
201 | 227 | --entraAppId $(MaestroAppId) ` |
202 | | - --redisConnectionString "product-construction-service-redis-int.redis.cache.windows.net:6380,ssl=true" |
| 228 | + --redisConnectionString $(redisConnectionString) |
203 | 229 | displayName: Deploy container app |
204 | 230 |
|
205 | 231 | - task: AzureCLI@2 |
|
0 commit comments