Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

201 configure azure infrastructure #236

Merged
merged 29 commits into from
Jul 26, 2024
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
b2aec28
- Update project setup instructions and dependencies
mlhaufe Jul 25, 2024
324a312
Updated azure infra to trigger on workflow dispatch
mlhaufe Jul 25, 2024
38e66ea
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 25, 2024
6e695e5
chore: Update Azure infrastructure workflow to include validation ste…
mlhaufe Jul 25, 2024
794d49e
- Update Azure infrastructure workflow to use latest version of Azure…
mlhaufe Jul 25, 2024
270babd
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 25, 2024
8a4cf61
- Updated action/checkout version
mlhaufe Jul 25, 2024
985a67e
Merge branch '201-configure-azure-infrastructure' of https://github.c…
mlhaufe Jul 25, 2024
25aa326
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 25, 2024
ffcaca5
Updated azure/arm-deploy version
mlhaufe Jul 25, 2024
80b0cae
Merge branch '201-configure-azure-infrastructure' of https://github.c…
mlhaufe Jul 25, 2024
d961496
chore: Verify Resource Group existence in Azure infrastructure workflow
mlhaufe Jul 25, 2024
2d77217
- removed debug step from pipeline
mlhaufe Jul 25, 2024
e0c166f
chore: Comment out unused parameters in Azure infrastructure workflow
mlhaufe Jul 25, 2024
cb71bf6
refactor: Update Azure Bicep resource name parameter
mlhaufe Jul 25, 2024
1f39779
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 25, 2024
effe193
refactor: Update Azure Bicep resource name parameter size
mlhaufe Jul 25, 2024
d59729f
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 25, 2024
53b7ff7
deploying service plan and app service
mlhaufe Jul 25, 2024
79a37a7
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 25, 2024
d60092d
Added env variables to bicep and workflow
mlhaufe Jul 26, 2024
0f86b7c
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
6791c81
fixed parameters formatting
mlhaufe Jul 26, 2024
a96cba1
Merge branch '201-configure-azure-infrastructure' of https://github.c…
mlhaufe Jul 26, 2024
f3e0bbd
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
c9702a0
Provided compose.yml to bicep template for Azure deployment
mlhaufe Jul 26, 2024
c94789d
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
7de3acd
bugfixed bicep dockerComposeFileparameter
mlhaufe Jul 26, 2024
be64748
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/azure-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ jobs:
run: |
az bicep build --file ./azure/bicep/main.bicep
- name: Convert compose.yml to base64
id: convert-compose
id: convert_compose
run: |
base64 ./compose.yml > compose.base64
dockerComposeFile=$(cat compose.base64)
- name: Run what-if
uses: azure/arm-deploy@v2
with:
Expand All @@ -44,7 +45,7 @@ jobs:
postgresPassword=${{ secrets.POSTGRES_PASSWORD }}
postgresPort=${{ secrets.POSTGRES_PORT }}
postgresUser=${{ secrets.POSTGRES_USER }}
dockerComposeFile=$(cat compose.base64)
dockerComposeFile=${{ steps.convert_compose.outputs.dockerComposeFile }}
scope: 'resourcegroup'
deploymentMode: 'Incremental'
failOnStdErr: false
Expand All @@ -63,9 +64,10 @@ jobs:
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Convert compose.yml to base64
id: convert-compose
id: convert_compose
run: |
base64 ./compose.yml > compose.base64
dockerComposeFile=$(cat compose.base64)
- name: Deploy Bicep
uses: azure/arm-deploy@v2
with:
Expand All @@ -84,6 +86,6 @@ jobs:
postgresPassword=${{ secrets.POSTGRES_PASSWORD }}
postgresPort=${{ secrets.POSTGRES_PORT }}
postgresUser=${{ secrets.POSTGRES_USER }}
dockerComposeFile=$(cat compose.base64)
dockerComposeFile=${{ steps.convert_compose.outputs.dockerComposeFile }}
scope: 'resourcegroup'
failOnStdErr: false
Loading