azure-deploy-cli 0.1.11__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.
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/.github/workflows/1-3-release.yaml +53 -6
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/CHANGELOG.md +9 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/PKG-INFO +1 -1
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/_version.py +3 -3
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli.egg-info/PKG-INFO +1 -1
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli.egg-info/SOURCES.txt +0 -1
- azure_deploy_cli-0.1.11/.github/workflows/2-deploy.yaml +0 -92
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/.github/dependabot.yml +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/.github/workflows/1-1-pr-build-check.yaml +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/.github/workflows/1-2-staging.yaml +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/.github/workflows/2-build.yaml +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/.gitignore +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/.pre-commit-config.yaml +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/LICENSE +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/Makefile +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/README.md +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/pyproject.toml +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/requirements-dev.txt +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/requirements.txt +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/setup.cfg +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/setup.sh +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/__init__.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/aca/aca_cli.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/aca/bash/aca-cert/create.sh +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/aca/bash/aca-cert/destroy.sh +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/aca/deploy_aca.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/aca/model.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/cli.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/__init__.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/group.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/identity_cli.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/managed_identity.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/models.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/py.typed +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/role.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/service_principal.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/py.typed +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/utils/__init__.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/utils/azure_cli.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/utils/docker.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/utils/env.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/utils/key_vault.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/utils/logging.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/utils/py.typed +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli.egg-info/dependency_links.txt +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli.egg-info/entry_points.txt +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli.egg-info/requires.txt +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli.egg-info/top_level.txt +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/tests/__init__.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/tests/fixtures/.env.example +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/tests/identity/__init__.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/tests/identity/test_models.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/tests/roles-config.json +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/tests/test.sh +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/tests/test_aca_cli.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/tests/test_deploy_aca.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/tests/test_env.py +0 -0
- {azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/tests/test_package.py +0 -0
- {azure_deploy_cli-0.1.11 → 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
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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]
|
|
@@ -1,8 +1,17 @@
|
|
|
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)
|
|
1
6
|
## [0.1.11] - 2026-01-06
|
|
2
7
|
|
|
3
8
|
### 🐛 Bug Fixes
|
|
4
9
|
|
|
5
10
|
- Enable token in pypi and rm empty changelog
|
|
11
|
+
|
|
12
|
+
### ⚙️ Miscellaneous Tasks
|
|
13
|
+
|
|
14
|
+
- *(release)* Bump version to 0.1.11 [skip ci]
|
|
6
15
|
## [0.1.10] - 2026-01-05
|
|
7
16
|
|
|
8
17
|
### ⚙️ Miscellaneous Tasks
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: azure-deploy-cli
|
|
3
|
-
Version: 0.1.
|
|
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.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 1,
|
|
31
|
+
__version__ = version = '0.1.12'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 1, 12)
|
|
33
33
|
|
|
34
|
-
__commit_id__ = commit_id = '
|
|
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.
|
|
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
|
|
@@ -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
|
-
```
|
|
File without changes
|
{azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/.github/workflows/1-1-pr-build-check.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/aca/bash/aca-cert/create.sh
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli/identity/identity_cli.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli.egg-info/requires.txt
RENAMED
|
File without changes
|
{azure_deploy_cli-0.1.11 → azure_deploy_cli-0.1.12}/src/azure_deploy_cli.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|