Skip to content

Commit 5db04cc

Browse files
Merge pull request #560 from microsoft/hb-waf-tag-update
ci: update image tag to latest_waf
2 parents daefb3a + ad7344a commit 5db04cc

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ jobs:
126126
set -e
127127
# set image tag based on branch
128128
if [[ "${{ env.BRANCH_NAME }}" == "main" ]]; then
129-
IMAGE_TAG="latest"
129+
IMAGE_TAG="latest_waf"
130130
elif [[ "${{ env.BRANCH_NAME }}" == "dev" ]]; then
131131
IMAGE_TAG="dev"
132132
elif [[ "${{ env.BRANCH_NAME }}" == "demo" ]]; then
133133
IMAGE_TAG="demo"
134134
else
135-
IMAGE_TAG="latest"
135+
IMAGE_TAG="latest_waf"
136136
fi
137137
138138
az deployment group create \

.github/workflows/docker-build-and-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
id: determine_tag
5959
run: |
6060
if [[ "${{ github.ref_name }}" == "main" ]]; then
61-
echo "tagname=latest" >> $GITHUB_OUTPUT
61+
echo "tagname=latest_waf" >> $GITHUB_OUTPUT
6262
elif [[ "${{ github.ref_name }}" == "dev" ]]; then
6363
echo "tagname=dev" >> $GITHUB_OUTPUT
6464
elif [[ "${{ github.ref_name }}" == "demo" ]]; then

docs/CustomizingAzdParameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ By default this template will use the environment name as the prefix to prevent
1818
| `AZURE_ENV_OPENAI_API_VERSION` | string | `2025-01-01-preview` | Specifies the API version for Azure OpenAI. |
1919
| `AZURE_ENV_MODEL_CAPACITY` | integer | `30` | Sets the GPT model capacity (based on what's available in your subscription). |
2020
| `AZURE_ENV_EMBEDDING_MODEL_NAME` | string | `text-embedding-ada-002` | Sets the name of the embedding model to use. |
21-
| `AZURE_ENV_IMAGETAG` | string | `latest` | Set the Image tag Like (allowed values: latest, dev, hotfix) |
21+
| `AZURE_ENV_IMAGETAG` | string | `latest_waf` | Set the Image tag Like (allowed values: latest_waf, dev, hotfix) |
2222
| `AZURE_ENV_EMBEDDING_MODEL_CAPACITY` | integer | `80` | Sets the capacity for the embedding model deployment. |
2323
| `AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID` | string | Guide to get your [Existing Workspace ID](/docs/re-use-log-analytics.md) | Reuses an existing Log Analytics Workspace instead of creating a new one. |
2424
| `AZURE_EXISTING_AI_PROJECT_RESOURCE_ID` | string | Guid to get your existing AI Foundry Project resource ID | Reuses an existing AIFoundry and AIFoundryProject instead of creating a new one. |

docs/DeploymentGuide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ When you start the deployment, most parameters will have **default values**, but
149149
| **GPT Model Deployment Capacity** | Configure the capacity for **GPT model deployments** (in thousands). | `30k` |
150150
| **Embedding Model** | The embedding model used by the app. | `text-embedding-ada-002` |
151151
| **Embedding Model Capacity** | Configure the capacity for **embedding model deployments** (in thousands). | `80k` |
152-
| **Image Tag** | Image version for deployment (allowed: `latest`, `dev`, `hotfix`). | `latest` |
152+
| **Image Tag** | Image version for deployment (allowed: `latest_waf`, `dev`, `hotfix`). | `latest_waf` |
153153
| **Existing Log Analytics Workspace** | If reusing a Log Analytics Workspace, specify the ID. | *(none)* |
154154

155155

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ param enablePrivateNetworking bool = false
116116
param acrName string = 'byocgacontainerreg' // testapwaf
117117

118118
@description('Optional. Image Tag.')
119-
param imageTag string = 'latest' // waf
119+
param imageTag string = 'latest_waf'
120120

121121
@description('Optional. Enable/Disable usage telemetry for module.')
122122
param enableTelemetry bool = true

infra/main.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"_generator": {
77
"name": "bicep",
88
"version": "0.37.4.10188",
9-
"templateHash": "17149382688370834876"
9+
"templateHash": "3241607047247621550"
1010
},
1111
"name": "Document Generation Solution Accelerator",
1212
"description": "CSA CTO Gold Standard Solution Accelerator for Document Generation.\n"
@@ -218,7 +218,7 @@
218218
},
219219
"imageTag": {
220220
"type": "string",
221-
"defaultValue": "latest",
221+
"defaultValue": "latest_waf",
222222
"metadata": {
223223
"description": "Optional. Image Tag."
224224
}

infra/main.parameters.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"value": "${AZURE_ENV_EMBEDDING_MODEL_CAPACITY}"
3434
},
3535
"imageTag": {
36-
"value": "${AZURE_ENV_IMAGETAG}"
36+
"value": "${AZURE_ENV_IMAGETAG=latest_waf}"
3737
},
3838
"existingLogAnalyticsWorkspaceId": {
3939
"value": "${AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID}"
@@ -42,4 +42,4 @@
4242
"value": "${AZURE_EXISTING_AI_PROJECT_RESOURCE_ID}"
4343
}
4444
}
45-
}
45+
}

infra/main.waf.parameters.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"value": "${AZURE_ENV_EMBEDDING_MODEL_CAPACITY}"
3434
},
3535
"imageTag": {
36-
"value": "${AZURE_ENV_IMAGETAG}"
36+
"value": "${AZURE_ENV_IMAGETAG=latest_waf}"
3737
},
3838
"enableTelemetry": {
3939
"value": "${AZURE_ENV_ENABLE_TELEMETRY}"
@@ -60,4 +60,4 @@
6060
"value": "${AZURE_EXISTING_AI_PROJECT_RESOURCE_ID}"
6161
}
6262
}
63-
}
63+
}

0 commit comments

Comments
 (0)