Skip to content

Commit

Permalink
feat(platform/alz)!: add simplified private dns defaults and improve …
Browse files Browse the repository at this point in the history
…documentation (#85)
  • Loading branch information
matt-FFFFFF authored Nov 6, 2024
1 parent 0d77784 commit 266ad39
Show file tree
Hide file tree
Showing 6 changed files with 337 additions and 1,501 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
workflow_dispatch:

env:
alzlibtool_version: "0.22.1"
alzlibtool_version: "0.23.0"

jobs:
libschanged:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/update-alz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ name: update platform/alz
# yamllint disable-line rule:truthy
on:
schedule:
- cron: "0 8 * * 1-5"
- cron: "0 8 * * 1"
workflow_dispatch: {}

permissions:
contents: write

env:
alzlibtool_version: "0.22.0"
alzlibtool_version: "0.23.0"
remote_repository: "Azure/Enterprise-Scale"
alzlib_repository: "Azure/alzlib"
library_dir: "platform/alz"
pr_title: "feat: update platform/alz library (automated)"
pr_body: |-
This is an automated 'pull_request' containing updates to the library templates stored in 'platform/alz'.\n
Please review the 'files changed' tab to review changes.
This is an automated pull_request containing updates to the library templates stored in `platform/alz`.
Please review the files changed tab to review changes.
jobs:
update-lib:
Expand All @@ -28,7 +28,7 @@ jobs:
steps:
- name: Install alzlibtool
run: |
curl -L https://github.com/Azure/alzlib/releases/download/v${{ env.alzlibtool_version }}/alzlib_0.22.0_linux_amd64.tar.gz | tar -xvz
curl -L https://github.com/Azure/alzlib/releases/download/v${{ env.alzlibtool_version }}/alzlibtool_linux_amd64.tar.gz | tar -xvz
sudo cp alzlibtool /usr/local/bin
- name: Local repository checkout
Expand Down Expand Up @@ -125,15 +125,15 @@ jobs:
if: steps.git_status.outputs.changes > 0
id: pr
run: |
PR="$(gh pr create \
PR_URL="$(gh pr create \
--title "${{ env.pr_title }}" \
--body "${{ env.pr_body }}" \
--base "${{ github.ref }}" \
--head "${{ steps.branch.outputs.name }}" \
--draft)"
echo "Created new PR: $CHECK_PULL_REQUEST_URL"
echo number=$(gh pr view $PR_URL --json number | jq -r '.number') >> "$GITHUB_OUTPUT"
working-directory: ${{ github.repository }}
echo "Created new PR: $PR_URL"
echo number=$(gh pr view $PR_URL --json number | jq -r '.number') >> "$GITHUB_OUTPUT"
working-directory: ${{ github.repository }}/${{ env.library_dir }}
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}

Expand Down
Loading

0 comments on commit 266ad39

Please sign in to comment.