Skip to content

Commit

Permalink
ci: ensure we do not hit the character limit for deployment name
Browse files Browse the repository at this point in the history
  • Loading branch information
arealmaas committed Nov 15, 2024
1 parent 193b764 commit aa85d25
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/workflow-deploy-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
template: ./.azure/applications/web-api-migration-job/main.bicep
resourceGroupName: ${{ secrets.AZURE_RESOURCE_GROUP_NAME }}
deploymentMode: Incremental
deploymentName: "dp-be-${{ inputs.environment }}-web-api-migration-job-${{ inputs.version }}"
deploymentName: "web-api-migration-job-${{ inputs.version }}"
region: ${{ inputs.region }}
failOnStdErr: false
additionalArguments: '--what-if'
Expand All @@ -106,7 +106,7 @@ jobs:
template: ./.azure/applications/web-api-migration-job/main.bicep
resourceGroupName: ${{ secrets.AZURE_RESOURCE_GROUP_NAME }}
deploymentMode: Incremental
deploymentName: "dp-be-${{ inputs.environment }}-web-api-migration-job-${{ inputs.version }}"
deploymentName: "web-api-migration-job-${{ inputs.version }}"
region: ${{ inputs.region }}
failOnStdErr: false
parameters: ./.azure/applications/web-api-migration-job/${{ inputs.environment }}.bicepparam
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
template: ./.azure/applications/${{ matrix.name }}/main.bicep
resourceGroupName: ${{ secrets.AZURE_RESOURCE_GROUP_NAME }}
deploymentMode: Incremental
deploymentName: dp-be-${{ inputs.environment }}-${{ matrix.name }}-${{ inputs.version }}
deploymentName: "${{ matrix.name }}-${{ inputs.version }}"
region: ${{ inputs.region }}
failOnStdErr: false
additionalArguments: '--what-if'
Expand All @@ -208,7 +208,7 @@ jobs:
template: ./.azure/applications/${{ matrix.name }}/main.bicep
resourceGroupName: ${{ secrets.AZURE_RESOURCE_GROUP_NAME }}
deploymentMode: Incremental
deploymentName: dp-be-${{ inputs.environment }}-${{ matrix.name }}-${{ inputs.version }}
deploymentName: ${{ matrix.name }}-${{ inputs.version }}
region: ${{ inputs.region }}
failOnStdErr: false
parameters: ./.azure/applications/${{ matrix.name }}/${{ inputs.environment }}.bicepparam
Expand All @@ -229,7 +229,7 @@ jobs:
run: az logout

deploy-jobs:
name: Deploy jobs to ${{ inputs.environment }}
name: Deploy job ${{ matrix.name }} to ${{ inputs.environment }}
runs-on: ubuntu-latest
# Should run even though the migration job was skipped
if: ${{ always() && !failure() && !cancelled() }}
Expand Down Expand Up @@ -271,7 +271,7 @@ jobs:
template: ./.azure/applications/${{ matrix.name }}/main.bicep
resourceGroupName: ${{ secrets.AZURE_RESOURCE_GROUP_NAME }}
deploymentMode: Incremental
deploymentName: dp-be-${{ inputs.environment }}-${{ matrix.name }}-${{ inputs.version }}
deploymentName: ${{ matrix.name }}-${{ inputs.version }}
region: ${{ inputs.region }}
failOnStdErr: false
additionalArguments: '--what-if'
Expand All @@ -293,7 +293,7 @@ jobs:
template: ./.azure/applications/${{ matrix.name }}/main.bicep
resourceGroupName: ${{ secrets.AZURE_RESOURCE_GROUP_NAME }}
deploymentMode: Incremental
deploymentName: dp-be-${{ inputs.environment }}-${{ matrix.name }}-${{ inputs.version }}
deploymentName: ${{ matrix.name }}-${{ inputs.version }}
region: ${{ inputs.region }}
failOnStdErr: false
parameters: ./.azure/applications/${{ matrix.name }}/${{ inputs.environment }}.bicepparam
Expand Down

0 comments on commit aa85d25

Please sign in to comment.