Skip to content

Commit

Permalink
templatize makefile config and bicepparams
Browse files Browse the repository at this point in the history
using the tooling/templatize tool, the entire infrastructure and
service deployment is driven by the config/config.yaml file
  • Loading branch information
geoberle committed Oct 29, 2024
1 parent b695f27 commit 5aa1330
Show file tree
Hide file tree
Showing 145 changed files with 2,021 additions and 1,675 deletions.
334 changes: 91 additions & 243 deletions .github/workflows/aro-hcp-dev-env-cd.yml

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions .github/workflows/aro-hcp-dev-what-if.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: ARO HCP Integrated DEV Bicep What-If
env:
DEPLOY_ENV: dev
DEPLOYMENT_NAME_SUFFIX: "-dev-${GITHUB_RUN_ID}"
on:
pull_request:
branches:
- main
paths:
- 'dev-infrastructure/**/*.bicep'
- 'dev-infrastructure/**/*.bicepparam'
- 'dev-infrastructure/Makefile'
- '.github/workflows/aro-hcp-dev-bicep-what-if.yml'

jobs:
what-if:
permissions:
id-token: 'write'
contents: 'read'
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1

- name: 'Az CLI login'
uses: azure/login@6c251865b4e6290e7b78be643ea2d005bc51f69a # v2.1.1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"

- name: 'Deployment What If'
run: |
cd dev-infrastructure/
make what-if
114 changes: 0 additions & 114 deletions .github/workflows/bicep-what-if.yml

This file was deleted.

82 changes: 0 additions & 82 deletions .github/workflows/cs-integ-bicep-what-if.yml

This file was deleted.

Loading

0 comments on commit 5aa1330

Please sign in to comment.