File tree Expand file tree Collapse file tree 6 files changed +17
-16
lines changed
infra/core/compute/postDeploymentScript Expand file tree Collapse file tree 6 files changed +17
-16
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " web-app-pattern-dotnet" ,
3
3
"build" : {
4
4
"dockerfile" : " Dockerfile" ,
5
- "args" : {
5
+ "args" : {
6
6
"VARIANT" : " 8.0-bookworm"
7
7
}
8
8
},
9
9
"runArgs" : [" --init" , " --privileged" ],
10
10
11
11
"customizations" : {
12
- "vscode" : {
12
+ "vscode" : {
13
13
"extensions" : [
14
14
" ms-azuretools.azure-dev" ,
15
15
" ms-azuretools.vscode-azureappservice" ,
35
35
// - /.github/workflows/azure-dev.yml
36
36
// - /.github/workflows/scheduled-azure-dev.yml
37
37
// - /.github/workflows/scheduled-azure-teardown.yml
38
- "version" : " 1.9.5 "
38
+ "version" : " 1.10.1 "
39
39
},
40
40
"ghcr.io/devcontainers/features/docker-in-docker:2" : {
41
41
"version" : " latest"
51
51
},
52
52
// resolves error: dubious ownership of the workspace folder
53
53
"postStartCommand" : " git config --global --add safe.directory ${containerWorkspaceFolder}"
54
- }
54
+ }
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ jobs:
12
12
build :
13
13
runs-on : ubuntu-latest
14
14
container :
15
- image : mcr.microsoft.com/azure-dev-cli-apps:1.9.5
15
+ image : mcr.microsoft.com/azure-dev-cli-apps:1.10.1
16
16
steps :
17
17
- name : Checkout
18
18
uses : actions/checkout@v2
19
-
19
+
20
20
# login to run ado commands such provision, deploy, and down
21
21
- name : Log in with Azure (Client Credentials)
22
22
if : ${{ env.AZURE_CREDENTIALS != '' }}
31
31
shell : pwsh
32
32
env :
33
33
AZURE_CREDENTIALS : ${{ secrets.AZURE_CREDENTIALS }}
34
-
34
+
35
35
- name : Azure Dev Provision
36
36
run : azd provision --no-prompt
37
37
env :
Original file line number Diff line number Diff line change 20
20
build :
21
21
runs-on : ubuntu-latest
22
22
container :
23
- image : mcr.microsoft.com/azure-dev-cli-apps:1.9.5
23
+ image : mcr.microsoft.com/azure-dev-cli-apps:1.10.1
24
24
env :
25
25
AZURE_CLIENT_ID : ${{ secrets.AZURE_CLIENT_ID }}
26
26
AZURE_TENANT_ID : ${{ secrets.AZURE_TENANT_ID }}
40
40
- name : Check configuration
41
41
if : ${{ env.AZURE_CLIENT_ID == '' }}
42
42
run : echo "AZURE_CLIENT_ID are not available."
43
-
43
+
44
44
# login to run ado commands such provision, deploy, and down
45
45
- name : Log in with Azure (Federated Credentials)
46
46
if : ${{ env.AZURE_CLIENT_ID != '' }}
50
50
--federated-credential-provider "github" `
51
51
--tenant-id "$Env:AZURE_TENANT_ID" `
52
52
shell : pwsh
53
-
53
+
54
54
# login to run azd hooks and the QA validation script
55
55
- name : Log in with Azure CLI
56
56
if : ${{ env.AZURE_CLIENT_ID != '' }}
Original file line number Diff line number Diff line change 7
7
workflow_dispatch :
8
8
schedule :
9
9
- cron : ' 0 13 1 * *' # Run at 13:00 on the 1st day of the month
10
-
10
+
11
11
# https://learn.microsoft.com/en-us/azure/developer/github/connect-from-azure?tabs=azure-portal%2Clinux#set-up-azure-login-with-openid-connect-authentication
12
12
permissions :
13
13
id-token : write
19
19
build :
20
20
runs-on : ubuntu-latest
21
21
container :
22
- image : mcr.microsoft.com/azure-dev-cli-apps:1.9.5
22
+ image : mcr.microsoft.com/azure-dev-cli-apps:1.10.1
23
23
env :
24
24
AZURE_CLIENT_ID : ${{ secrets.AZURE_CLIENT_ID }}
25
25
AZURE_TENANT_ID : ${{ secrets.AZURE_TENANT_ID }}
35
35
- name : Install Az module
36
36
run : Install-Module -Name Az -Force -AllowClobber -Scope CurrentUser -Repository PSGallery
37
37
shell : pwsh
38
-
38
+
39
39
# login to run ado commands such provision, deploy, and down
40
40
- name : Log in with Azure (Federated Credentials)
41
41
if : ${{ env.AZURE_CLIENT_ID != '' }}
45
45
--federated-credential-provider "github" `
46
46
--tenant-id "$Env:AZURE_TENANT_ID" `
47
47
shell : pwsh
48
-
48
+
49
49
# login to run azd hooks and the QA validation script
50
50
- name : Log in with Azure CLI
51
51
if : ${{ env.AZURE_CLIENT_ID != '' }}
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ services:
56
56
project : src/Relecloud.TicketRenderer
57
57
language : dotnet
58
58
host : containerapp
59
+ apiVersion : 2024-02-02-preview # Force `azd` to use this API version for GET/PATCH operations
59
60
docker :
60
61
# These paths are relative to the project directory
61
62
path : ./Dockerfile
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# install AZD - keep this version in sync with the version used in the file /.devcontainer/devcontainer.json file
4
- curl -fsSL https://aka.ms/install-azd.sh | bash -s -- -- version 1.9.5
4
+ curl -fsSL https://aka.ms/install-azd.sh | bash -s -- -- version 1.10.1
5
5
6
6
# add Microsoft package feed for the dotnet install
7
7
# Get Ubuntu version
62
62
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
63
63
sudo apt-get update
64
64
65
- sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
65
+ sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
You can’t perform that action at this time.
0 commit comments