azure-deploy-cli 0.1.8__tar.gz → 0.1.12__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/.github/workflows/1-3-release.yaml +53 -6
  2. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/.gitignore +0 -1
  3. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/CHANGELOG.md +41 -2
  4. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/PKG-INFO +1 -1
  5. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/_version.py +3 -3
  6. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli.egg-info/PKG-INFO +1 -1
  7. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli.egg-info/SOURCES.txt +0 -1
  8. azure_deploy_cli-0.1.8/.github/workflows/2-deploy.yaml +0 -92
  9. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/.github/dependabot.yml +0 -0
  10. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/.github/workflows/1-1-pr-build-check.yaml +0 -0
  11. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/.github/workflows/1-2-staging.yaml +0 -0
  12. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/.github/workflows/2-build.yaml +0 -0
  13. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/.pre-commit-config.yaml +0 -0
  14. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/LICENSE +0 -0
  15. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/Makefile +0 -0
  16. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/README.md +0 -0
  17. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/pyproject.toml +0 -0
  18. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/requirements-dev.txt +0 -0
  19. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/requirements.txt +0 -0
  20. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/setup.cfg +0 -0
  21. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/setup.sh +0 -0
  22. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/__init__.py +0 -0
  23. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/aca/aca_cli.py +0 -0
  24. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/aca/bash/aca-cert/create.sh +0 -0
  25. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/aca/bash/aca-cert/destroy.sh +0 -0
  26. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/aca/deploy_aca.py +0 -0
  27. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/aca/model.py +0 -0
  28. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/cli.py +0 -0
  29. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/__init__.py +0 -0
  30. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/group.py +0 -0
  31. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/identity_cli.py +0 -0
  32. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/managed_identity.py +0 -0
  33. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/models.py +0 -0
  34. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/py.typed +0 -0
  35. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/role.py +0 -0
  36. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/service_principal.py +0 -0
  37. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/py.typed +0 -0
  38. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/utils/__init__.py +0 -0
  39. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/utils/azure_cli.py +0 -0
  40. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/utils/docker.py +0 -0
  41. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/utils/env.py +0 -0
  42. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/utils/key_vault.py +0 -0
  43. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/utils/logging.py +0 -0
  44. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/utils/py.typed +0 -0
  45. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli.egg-info/dependency_links.txt +0 -0
  46. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli.egg-info/entry_points.txt +0 -0
  47. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli.egg-info/requires.txt +0 -0
  48. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli.egg-info/top_level.txt +0 -0
  49. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/tests/__init__.py +0 -0
  50. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/tests/fixtures/.env.example +0 -0
  51. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/tests/identity/__init__.py +0 -0
  52. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/tests/identity/test_models.py +0 -0
  53. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/tests/roles-config.json +0 -0
  54. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/tests/test.sh +0 -0
  55. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/tests/test_aca_cli.py +0 -0
  56. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/tests/test_deploy_aca.py +0 -0
  57. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/tests/test_env.py +0 -0
  58. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/tests/test_package.py +0 -0
  59. {azure_deploy_cli-0.1.8 → azure_deploy_cli-0.1.12}/tests/test_retag_image.py +0 -0
@@ -50,12 +50,59 @@ jobs:
50
50
  deploy-prod:
51
51
  if: ${{ needs.version-and-tag.outputs.continue == 'true' }}
52
52
  needs: [version-and-tag]
53
- uses: ./.github/workflows/2-deploy.yaml
54
- secrets: inherit
55
- with:
56
- tag: ${{ needs.version-and-tag.outputs.tag }}
57
- version: ${{ needs.version-and-tag.outputs.version }}
58
- enable-prerelease: ${{ contains(github.event.pull_request.labels.*.name, 'release:candidate') }}
53
+ runs-on: ubuntu-latest
54
+ steps:
55
+ - uses: actions/checkout@v6
56
+ with:
57
+ fetch-depth: 0
58
+ ref: ${{ needs.version-and-tag.outputs.tag }}
59
+
60
+ - name: Set up Python 3.11
61
+ uses: actions/setup-python@v6
62
+ with:
63
+ python-version: '3.11'
64
+ cache: 'pip'
65
+
66
+ - name: Install build dependencies
67
+ run: |
68
+ python -m pip install --upgrade pip
69
+ pip install build
70
+
71
+ - name: Build package
72
+ run: |
73
+ python -m build
74
+
75
+ - name: Publish package distributions to PyPI
76
+ uses: pypa/gh-action-pypi-publish@release/v1
77
+
78
+ - name: Extract Changelog
79
+ id: changelog
80
+ uses: CSchoel/release-notes-from-changelog@v1
81
+ with:
82
+ version: ${{ needs.version-and-tag.outputs.tag }}
83
+
84
+ - name: Create GitHub Release
85
+ env:
86
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
87
+ run: |
88
+ RELEASE_NOTES="${{ runner.temp }}/release-notes.md"
89
+ cat > "$RELEASE_NOTES" << 'EOF'
90
+ ${{ steps.changelog.outputs.changelog }}
91
+ EOF
92
+
93
+ ARGS=("${{ needs.version-and-tag.outputs.tag }}")
94
+ ARGS+=(--title "Release ${{ needs.version-and-tag.outputs.tag }}")
95
+ ARGS+=(--notes-file "$RELEASE_NOTES")
96
+
97
+ if [[ "${{ contains(github.event.pull_request.labels.*.name, 'release:candidate') }}" == "true" ]]; then
98
+ ARGS+=(--prerelease)
99
+ fi
100
+
101
+ if compgen -G "dist/*" > /dev/null; then
102
+ ARGS+=(dist/*)
103
+ fi
104
+
105
+ gh release create "${ARGS[@]}"
59
106
 
60
107
  update-pr-label:
61
108
  needs: [deploy-prod, version-and-tag]
@@ -215,4 +215,3 @@ marimo/_lsp/
215
215
  __marimo__/
216
216
 
217
217
  src/azure_deploy_cli/_version.py
218
- git-cliff/
@@ -1,3 +1,44 @@
1
+ ## [0.1.12] - 2026-01-06
2
+
3
+ ### 🐛 Bug Fixes
4
+
5
+ - Consolidate PyPI publish into 1-3-release workflow for trusted publishing (#25)
6
+ ## [0.1.11] - 2026-01-06
7
+
8
+ ### 🐛 Bug Fixes
9
+
10
+ - Enable token in pypi and rm empty changelog
11
+
12
+ ### ⚙️ Miscellaneous Tasks
13
+
14
+ - *(release)* Bump version to 0.1.11 [skip ci]
15
+ ## [0.1.10] - 2026-01-05
16
+
17
+ ### ⚙️ Miscellaneous Tasks
18
+
19
+ - Delete git-cliff directory
20
+ - *(release)* Bump version to 0.1.10 [skip ci]
21
+ ## [0.1.9] - 2026-01-05
22
+
23
+ ### 🐛 Bug Fixes
24
+
25
+ - Comment out PyPI publish step in deploy workflow (#18)
26
+
27
+ ### ⚙️ Miscellaneous Tasks
28
+
29
+ - *(release)* Bump version to 0.1.9 [skip ci]
30
+ ## [0.1.8] - 2026-01-05
31
+
32
+ ### 🐛 Bug Fixes
33
+
34
+ - Add GITHUB_TOKEN to GitHub Release step
35
+ - Fix typo in workflow name in 2-deploy.yaml
36
+
37
+ ### ⚙️ Miscellaneous Tasks
38
+
39
+ - Add 'git-cliff/' to .gitignore
40
+ - Delete git-cliff directory
41
+ - *(release)* Bump version to 0.1.8 [skip ci]
1
42
  ## [0.1.7] - 2026-01-05
2
43
 
3
44
  ### 🐛 Bug Fixes
@@ -75,5 +116,3 @@
75
116
  ### ⚙️ Miscellaneous Tasks
76
117
 
77
118
  - Fix workflow permissions (#3)
78
-
79
- ## Dummy
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: azure-deploy-cli
3
- Version: 0.1.8
3
+ Version: 0.1.12
4
4
  Summary: Python CLI for Azure deployment automation - identity, roles, and container apps management
5
5
  Author-email: decewei <celinew1221@gmail.com>
6
6
  License: Mozilla Public License Version 2.0
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.1.8'
32
- __version_tuple__ = version_tuple = (0, 1, 8)
31
+ __version__ = version = '0.1.12'
32
+ __version_tuple__ = version_tuple = (0, 1, 12)
33
33
 
34
- __commit_id__ = commit_id = 'g2de7becbd'
34
+ __commit_id__ = commit_id = 'gce185d829'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: azure-deploy-cli
3
- Version: 0.1.8
3
+ Version: 0.1.12
4
4
  Summary: Python CLI for Azure deployment automation - identity, roles, and container apps management
5
5
  Author-email: decewei <celinew1221@gmail.com>
6
6
  License: Mozilla Public License Version 2.0
@@ -13,7 +13,6 @@ setup.sh
13
13
  .github/workflows/1-2-staging.yaml
14
14
  .github/workflows/1-3-release.yaml
15
15
  .github/workflows/2-build.yaml
16
- .github/workflows/2-deploy.yaml
17
16
  src/azure_deploy_cli/__init__.py
18
17
  src/azure_deploy_cli/_version.py
19
18
  src/azure_deploy_cli/cli.py
@@ -1,92 +0,0 @@
1
- name: deploy-callable
2
-
3
- on:
4
- workflow_call:
5
- inputs:
6
- ref:
7
- description: 'Commit SHA for rollback'
8
- required: false
9
- type: string
10
- version:
11
- description: 'Version being deployed'
12
- required: true
13
- type: string
14
- tag:
15
- description: 'Tag being deployed'
16
- required: true
17
- type: string
18
- enable-prerelease:
19
- description: 'Whether to mark the release as a prerelease'
20
- required: false
21
- type: boolean
22
-
23
- env:
24
- CI: true
25
-
26
- permissions:
27
- contents: write
28
- pull-requests: write
29
- id-token: write
30
-
31
- jobs:
32
- deploy:
33
- runs-on: ubuntu-latest
34
- steps:
35
- - name: Configure git authentication
36
- id: auth
37
- uses: decewei/deploy-tools/actions/configure-git-auth@release
38
- with:
39
- app-id: ${{ vars.ACTION_BOT_APP_ID }}
40
- private-key: ${{ secrets.ACTION_BOT_PRIVATE_KEY }}
41
-
42
- - uses: actions/checkout@v6
43
- with:
44
- fetch-depth: 0
45
- ref: ${{ inputs.ref || inputs.tag }}
46
-
47
- - name: Set up Python 3.11
48
- uses: actions/setup-python@v6
49
- with:
50
- python-version: '3.11'
51
- cache: 'pip'
52
-
53
- - name: Install build dependencies
54
- run: |
55
- python -m pip install --upgrade pip
56
- pip install build
57
-
58
- - name: Build package
59
- run: |
60
- python -m build
61
-
62
- - name: Publish package distributions to PyPI
63
- uses: pypa/gh-action-pypi-publish@release/v1
64
- with:
65
- user: __token__
66
- password: ${{ secrets.PYPI_TOKEN }}
67
-
68
- - name: Extract Changelog
69
- id: changelog
70
- uses: CSchoel/release-notes-from-changelog@v1
71
- with:
72
- version: ${{ inputs.tag }}
73
-
74
- - name: Create GitHub Release
75
- uses: actions/create-release@v1
76
- env:
77
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78
- with:
79
- tag_name: ${{ inputs.tag }}
80
- release_name: Release ${{ inputs.tag }}
81
- prerelease: ${{ inputs.enable-prerelease || false }}
82
- body: |
83
- ## Changes
84
-
85
- ${{ steps.changelog.outputs.changelog }}
86
-
87
- ## Installation
88
-
89
- Install from PyPI:
90
- ```bash
91
- pip install azure-deploy-cli
92
- ```