azure-deploy-cli 1.0.3__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-1.0.3/.github/dependabot.yml +24 -0
- azure_deploy_cli-1.0.3/.github/workflows/1-1-pr-build-check.yaml +23 -0
- azure_deploy_cli-1.0.3/.github/workflows/1-2-staging.yaml +34 -0
- azure_deploy_cli-1.0.3/.github/workflows/1-3-release.yaml +120 -0
- azure_deploy_cli-1.0.3/.github/workflows/2-build.yaml +34 -0
- azure_deploy_cli-1.0.3/.gitignore +217 -0
- azure_deploy_cli-1.0.3/.pre-commit-config.yaml +49 -0
- azure_deploy_cli-1.0.3/CHANGELOG.md +134 -0
- azure_deploy_cli-1.0.3/CONTRIBUTING.md +163 -0
- azure_deploy_cli-1.0.3/LICENSE +373 -0
- azure_deploy_cli-1.0.3/Makefile +63 -0
- azure_deploy_cli-1.0.3/PKG-INFO +699 -0
- azure_deploy_cli-1.0.3/README.md +285 -0
- azure_deploy_cli-1.0.3/pyproject.toml +160 -0
- azure_deploy_cli-1.0.3/setup.cfg +4 -0
- azure_deploy_cli-1.0.3/setup.sh +35 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/__init__.py +44 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/_version.py +34 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/aca/aca_cli.py +484 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/aca/bash/aca-cert/create.sh +204 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/aca/bash/aca-cert/destroy.sh +44 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/aca/deploy_aca.py +848 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/aca/model.py +81 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/aca/yaml_loader.py +53 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/cli.py +66 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/identity/__init__.py +36 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/identity/group.py +84 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/identity/identity_cli.py +453 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/identity/managed_identity.py +177 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/identity/models.py +167 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/identity/py.typed +0 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/identity/role.py +338 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/identity/service_principal.py +268 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/py.typed +0 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/utils/__init__.py +0 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/utils/azure_cli.py +96 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/utils/docker.py +147 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/utils/env.py +108 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/utils/key_vault.py +11 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/utils/logging.py +125 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli/utils/py.typed +0 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli.egg-info/PKG-INFO +699 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli.egg-info/SOURCES.txt +58 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli.egg-info/dependency_links.txt +1 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli.egg-info/entry_points.txt +3 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli.egg-info/requires.txt +20 -0
- azure_deploy_cli-1.0.3/src/azure_deploy_cli.egg-info/top_level.txt +1 -0
- azure_deploy_cli-1.0.3/tests/__init__.py +1 -0
- azure_deploy_cli-1.0.3/tests/fixtures/.env.example +12 -0
- azure_deploy_cli-1.0.3/tests/identity/__init__.py +1 -0
- azure_deploy_cli-1.0.3/tests/identity/test_models.py +249 -0
- azure_deploy_cli-1.0.3/tests/roles-config.json +24 -0
- azure_deploy_cli-1.0.3/tests/test.sh +120 -0
- azure_deploy_cli-1.0.3/tests/test_aca_cli.py +71 -0
- azure_deploy_cli-1.0.3/tests/test_deploy_aca.py +234 -0
- azure_deploy_cli-1.0.3/tests/test_env.py +113 -0
- azure_deploy_cli-1.0.3/tests/test_package.py +45 -0
- azure_deploy_cli-1.0.3/tests/test_probe_config.py +165 -0
- azure_deploy_cli-1.0.3/tests/test_retag_image.py +310 -0
- azure_deploy_cli-1.0.3/uv.lock +1463 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
|
|
3
|
+
updates:
|
|
4
|
+
- package-ecosystem: "github-actions"
|
|
5
|
+
directory: "/"
|
|
6
|
+
schedule:
|
|
7
|
+
interval: "weekly"
|
|
8
|
+
commit-message:
|
|
9
|
+
prefix: "build(dep)"
|
|
10
|
+
groups:
|
|
11
|
+
dependencies:
|
|
12
|
+
patterns:
|
|
13
|
+
- "*"
|
|
14
|
+
|
|
15
|
+
- package-ecosystem: "pip"
|
|
16
|
+
directory: "/"
|
|
17
|
+
schedule:
|
|
18
|
+
interval: "weekly"
|
|
19
|
+
commit-message:
|
|
20
|
+
prefix: "build(dep)"
|
|
21
|
+
groups:
|
|
22
|
+
dependencies:
|
|
23
|
+
patterns:
|
|
24
|
+
- "*"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
name: PR build check
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
|
|
6
|
+
permissions:
|
|
7
|
+
contents: write
|
|
8
|
+
pull-requests: write
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build-dev:
|
|
12
|
+
uses: ./.github/workflows/2-build.yaml
|
|
13
|
+
secrets: inherit
|
|
14
|
+
|
|
15
|
+
dependabot:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
needs: [build-dev]
|
|
18
|
+
steps:
|
|
19
|
+
- name: Auto-merge dependabot PR
|
|
20
|
+
uses: decewei/deploy-tools/actions/dependabot-auto-merge@release
|
|
21
|
+
with:
|
|
22
|
+
app-id: ${{ vars.ACTION_BOT_APP_ID }}
|
|
23
|
+
private-key: ${{ secrets.ACTION_BOT_PRIVATE_KEY }}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
name: Staging
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
concurrency:
|
|
10
|
+
group: staging-and-prod
|
|
11
|
+
cancel-in-progress: false
|
|
12
|
+
|
|
13
|
+
permissions:
|
|
14
|
+
contents: write
|
|
15
|
+
pull-requests: write
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
create-release-pr:
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
steps:
|
|
21
|
+
- name: Checkout code
|
|
22
|
+
uses: actions/checkout@v6
|
|
23
|
+
with:
|
|
24
|
+
fetch-depth: 0
|
|
25
|
+
|
|
26
|
+
- name: Create release PR
|
|
27
|
+
uses: decewei/deploy-tools/actions/create-release-pr@release
|
|
28
|
+
with:
|
|
29
|
+
app-id: ${{ vars.ACTION_BOT_APP_ID }}
|
|
30
|
+
private-key: ${{ secrets.ACTION_BOT_PRIVATE_KEY }}
|
|
31
|
+
source-branch: 'main'
|
|
32
|
+
target-branch: 'release'
|
|
33
|
+
label: 'release:required-approval'
|
|
34
|
+
close-label: 'release:cancelled'
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
types: [closed]
|
|
6
|
+
branches:
|
|
7
|
+
- release
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
concurrency:
|
|
11
|
+
group: release
|
|
12
|
+
cancel-in-progress: false
|
|
13
|
+
|
|
14
|
+
permissions:
|
|
15
|
+
contents: write
|
|
16
|
+
pull-requests: write
|
|
17
|
+
id-token: write
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
version-and-tag:
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
outputs:
|
|
23
|
+
continue: ${{ steps.version.outputs.continue }}
|
|
24
|
+
tag: ${{ steps.version.outputs.tag }}
|
|
25
|
+
version: ${{ steps.version.outputs.version }}
|
|
26
|
+
steps:
|
|
27
|
+
- name: Checkout code
|
|
28
|
+
uses: actions/checkout@v6
|
|
29
|
+
with:
|
|
30
|
+
fetch-depth: 0
|
|
31
|
+
persist-credentials: false
|
|
32
|
+
|
|
33
|
+
- name: Bump version and tag with approval check
|
|
34
|
+
id: version
|
|
35
|
+
uses: decewei/deploy-tools/actions/bump-version-and-tag-with-approval@release
|
|
36
|
+
with:
|
|
37
|
+
app-id: ${{ vars.ACTION_BOT_APP_ID }}
|
|
38
|
+
private-key: ${{ secrets.ACTION_BOT_PRIVATE_KEY }}
|
|
39
|
+
pr-number: ${{ github.event.pull_request.number }}
|
|
40
|
+
repo: ${{ github.repository }}
|
|
41
|
+
tag-prefix: 'v'
|
|
42
|
+
main-branch: 'main'
|
|
43
|
+
release-branch: 'release'
|
|
44
|
+
semantic-version-pattern-major: '/!:|BREAKING CHANGE:/'
|
|
45
|
+
semantic-version-pattern-minor: '/feat:/'
|
|
46
|
+
version-file-type: 'python'
|
|
47
|
+
enable-prerelease: ${{ contains(github.event.pull_request.labels.*.name, 'release:candidate') }}
|
|
48
|
+
prerelease-suffix: 'rc'
|
|
49
|
+
|
|
50
|
+
deploy-prod:
|
|
51
|
+
if: ${{ needs.version-and-tag.outputs.continue == 'true' }}
|
|
52
|
+
needs: [version-and-tag]
|
|
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
|
+
|
|
65
|
+
- name: Install uv
|
|
66
|
+
uses: astral-sh/setup-uv@v3
|
|
67
|
+
with:
|
|
68
|
+
enable-cache: true
|
|
69
|
+
|
|
70
|
+
- name: Build package
|
|
71
|
+
run: |
|
|
72
|
+
uv build
|
|
73
|
+
|
|
74
|
+
- name: Publish package distributions to PyPI
|
|
75
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
76
|
+
|
|
77
|
+
- name: Extract Changelog
|
|
78
|
+
id: changelog
|
|
79
|
+
uses: CSchoel/release-notes-from-changelog@v1
|
|
80
|
+
with:
|
|
81
|
+
version: ${{ needs.version-and-tag.outputs.tag }}
|
|
82
|
+
|
|
83
|
+
- name: Create GitHub Release
|
|
84
|
+
env:
|
|
85
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
86
|
+
run: |
|
|
87
|
+
RELEASE_NOTES="${{ runner.temp }}/release-notes.md"
|
|
88
|
+
cat > "$RELEASE_NOTES" << 'EOF'
|
|
89
|
+
${{ steps.changelog.outputs.changelog }}
|
|
90
|
+
EOF
|
|
91
|
+
|
|
92
|
+
ARGS=("${{ needs.version-and-tag.outputs.tag }}")
|
|
93
|
+
ARGS+=(--title "Release ${{ needs.version-and-tag.outputs.tag }}")
|
|
94
|
+
ARGS+=(--notes-file "$RELEASE_NOTES")
|
|
95
|
+
|
|
96
|
+
if [[ "${{ contains(github.event.pull_request.labels.*.name, 'release:candidate') }}" == "true" ]]; then
|
|
97
|
+
ARGS+=(--prerelease)
|
|
98
|
+
fi
|
|
99
|
+
|
|
100
|
+
if compgen -G "dist/*" > /dev/null; then
|
|
101
|
+
ARGS+=(dist/*)
|
|
102
|
+
fi
|
|
103
|
+
|
|
104
|
+
gh release create "${ARGS[@]}"
|
|
105
|
+
|
|
106
|
+
update-pr-label:
|
|
107
|
+
needs: [deploy-prod, version-and-tag]
|
|
108
|
+
if: ${{ github.event_name == 'pull_request' && needs.version-and-tag.outputs.continue == 'true' && always() }}
|
|
109
|
+
runs-on: ubuntu-latest
|
|
110
|
+
steps:
|
|
111
|
+
- name: Label release PR
|
|
112
|
+
uses: decewei/deploy-tools/actions/label-release-pr@release
|
|
113
|
+
with:
|
|
114
|
+
app-id: ${{ vars.ACTION_BOT_APP_ID }}
|
|
115
|
+
private-key: ${{ secrets.ACTION_BOT_PRIVATE_KEY }}
|
|
116
|
+
pr-number: ${{ github.event.pull_request.number }}
|
|
117
|
+
repo: ${{ github.repository }}
|
|
118
|
+
deploy-result: ${{ needs.version-and-tag.result && needs.deploy-prod.result }}
|
|
119
|
+
released-label: 'release:released'
|
|
120
|
+
failed-label: 'release:failed-to-release'
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
name: build-callable
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_call:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
build:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
|
|
10
|
+
steps:
|
|
11
|
+
- name: Checkout code
|
|
12
|
+
uses: actions/checkout@v6
|
|
13
|
+
|
|
14
|
+
- name: Set up Python 3.11
|
|
15
|
+
uses: actions/setup-python@v6
|
|
16
|
+
with:
|
|
17
|
+
python-version: '3.11'
|
|
18
|
+
|
|
19
|
+
- name: Install uv
|
|
20
|
+
uses: astral-sh/setup-uv@v3
|
|
21
|
+
with:
|
|
22
|
+
enable-cache: true
|
|
23
|
+
|
|
24
|
+
- name: Install dependencies
|
|
25
|
+
run: source setup.sh --install
|
|
26
|
+
|
|
27
|
+
- name: Lint
|
|
28
|
+
run: make lint
|
|
29
|
+
|
|
30
|
+
- name: Type check
|
|
31
|
+
run: make type-check
|
|
32
|
+
|
|
33
|
+
- name: Test
|
|
34
|
+
run: make test
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[codz]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# setuptools-scm version file (auto-generated)
|
|
7
|
+
src/azure_deploy_cli/_version.py
|
|
8
|
+
|
|
9
|
+
.vscode/
|
|
10
|
+
azure-deploy-cli/
|
|
11
|
+
tests/.env.local
|
|
12
|
+
tests/.env.file
|
|
13
|
+
tests/.env.role-public
|
|
14
|
+
# C extensions
|
|
15
|
+
*.so
|
|
16
|
+
|
|
17
|
+
# Distribution / packaging
|
|
18
|
+
.Python
|
|
19
|
+
build/
|
|
20
|
+
develop-eggs/
|
|
21
|
+
dist/
|
|
22
|
+
downloads/
|
|
23
|
+
eggs/
|
|
24
|
+
.eggs/
|
|
25
|
+
lib/
|
|
26
|
+
lib64/
|
|
27
|
+
parts/
|
|
28
|
+
sdist/
|
|
29
|
+
var/
|
|
30
|
+
wheels/
|
|
31
|
+
share/python-wheels/
|
|
32
|
+
*.egg-info/
|
|
33
|
+
.installed.cfg
|
|
34
|
+
*.egg
|
|
35
|
+
MANIFEST
|
|
36
|
+
|
|
37
|
+
# PyInstaller
|
|
38
|
+
# Usually these files are written by a python script from a template
|
|
39
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
40
|
+
*.manifest
|
|
41
|
+
*.spec
|
|
42
|
+
|
|
43
|
+
# Installer logs
|
|
44
|
+
pip-log.txt
|
|
45
|
+
pip-delete-this-directory.txt
|
|
46
|
+
|
|
47
|
+
# Unit test / coverage reports
|
|
48
|
+
htmlcov/
|
|
49
|
+
.tox/
|
|
50
|
+
.nox/
|
|
51
|
+
.coverage
|
|
52
|
+
.coverage.*
|
|
53
|
+
.cache
|
|
54
|
+
nosetests.xml
|
|
55
|
+
coverage.xml
|
|
56
|
+
*.cover
|
|
57
|
+
*.py.cover
|
|
58
|
+
.hypothesis/
|
|
59
|
+
.pytest_cache/
|
|
60
|
+
cover/
|
|
61
|
+
|
|
62
|
+
# Translations
|
|
63
|
+
*.mo
|
|
64
|
+
*.pot
|
|
65
|
+
|
|
66
|
+
# Django stuff:
|
|
67
|
+
*.log
|
|
68
|
+
local_settings.py
|
|
69
|
+
db.sqlite3
|
|
70
|
+
db.sqlite3-journal
|
|
71
|
+
|
|
72
|
+
# Flask stuff:
|
|
73
|
+
instance/
|
|
74
|
+
.webassets-cache
|
|
75
|
+
|
|
76
|
+
# Scrapy stuff:
|
|
77
|
+
.scrapy
|
|
78
|
+
|
|
79
|
+
# Sphinx documentation
|
|
80
|
+
docs/_build/
|
|
81
|
+
|
|
82
|
+
# PyBuilder
|
|
83
|
+
.pybuilder/
|
|
84
|
+
target/
|
|
85
|
+
|
|
86
|
+
# Jupyter Notebook
|
|
87
|
+
.ipynb_checkpoints
|
|
88
|
+
|
|
89
|
+
# IPython
|
|
90
|
+
profile_default/
|
|
91
|
+
ipython_config.py
|
|
92
|
+
|
|
93
|
+
# pyenv
|
|
94
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
95
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
96
|
+
# .python-version
|
|
97
|
+
|
|
98
|
+
# pipenv
|
|
99
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
100
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
101
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
102
|
+
# install all needed dependencies.
|
|
103
|
+
#Pipfile.lock
|
|
104
|
+
|
|
105
|
+
# UV
|
|
106
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
107
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
108
|
+
# commonly ignored for libraries.
|
|
109
|
+
#uv.lock
|
|
110
|
+
|
|
111
|
+
# poetry
|
|
112
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
113
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
114
|
+
# commonly ignored for libraries.
|
|
115
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
116
|
+
#poetry.lock
|
|
117
|
+
#poetry.toml
|
|
118
|
+
|
|
119
|
+
# pdm
|
|
120
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
121
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
122
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
123
|
+
#pdm.lock
|
|
124
|
+
#pdm.toml
|
|
125
|
+
.pdm-python
|
|
126
|
+
.pdm-build/
|
|
127
|
+
|
|
128
|
+
# pixi
|
|
129
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
130
|
+
#pixi.lock
|
|
131
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
132
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
133
|
+
.pixi
|
|
134
|
+
|
|
135
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
136
|
+
__pypackages__/
|
|
137
|
+
|
|
138
|
+
# Celery stuff
|
|
139
|
+
celerybeat-schedule
|
|
140
|
+
celerybeat.pid
|
|
141
|
+
|
|
142
|
+
# SageMath parsed files
|
|
143
|
+
*.sage.py
|
|
144
|
+
|
|
145
|
+
# Environments
|
|
146
|
+
.env
|
|
147
|
+
.envrc
|
|
148
|
+
.venv
|
|
149
|
+
env/
|
|
150
|
+
venv/
|
|
151
|
+
ENV/
|
|
152
|
+
env.bak/
|
|
153
|
+
venv.bak/
|
|
154
|
+
|
|
155
|
+
# Spyder project settings
|
|
156
|
+
.spyderproject
|
|
157
|
+
.spyproject
|
|
158
|
+
|
|
159
|
+
# Rope project settings
|
|
160
|
+
.ropeproject
|
|
161
|
+
|
|
162
|
+
# mkdocs documentation
|
|
163
|
+
/site
|
|
164
|
+
|
|
165
|
+
# mypy
|
|
166
|
+
.mypy_cache/
|
|
167
|
+
.dmypy.json
|
|
168
|
+
dmypy.json
|
|
169
|
+
|
|
170
|
+
# Pyre type checker
|
|
171
|
+
.pyre/
|
|
172
|
+
|
|
173
|
+
# pytype static type analyzer
|
|
174
|
+
.pytype/
|
|
175
|
+
|
|
176
|
+
# Cython debug symbols
|
|
177
|
+
cython_debug/
|
|
178
|
+
|
|
179
|
+
# PyCharm
|
|
180
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
181
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
182
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
183
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
184
|
+
#.idea/
|
|
185
|
+
|
|
186
|
+
# Abstra
|
|
187
|
+
# Abstra is an AI-powered process automation framework.
|
|
188
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
189
|
+
# Learn more at https://abstra.io/docs
|
|
190
|
+
.abstra/
|
|
191
|
+
|
|
192
|
+
# Visual Studio Code
|
|
193
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
194
|
+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
195
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
196
|
+
# you could uncomment the following to ignore the entire vscode folder
|
|
197
|
+
# .vscode/
|
|
198
|
+
|
|
199
|
+
# Ruff stuff:
|
|
200
|
+
.ruff_cache/
|
|
201
|
+
|
|
202
|
+
# PyPI configuration file
|
|
203
|
+
.pypirc
|
|
204
|
+
|
|
205
|
+
# Cursor
|
|
206
|
+
# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
|
|
207
|
+
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
|
|
208
|
+
# refer to https://docs.cursor.com/context/ignore-files
|
|
209
|
+
.cursorignore
|
|
210
|
+
.cursorindexingignore
|
|
211
|
+
|
|
212
|
+
# Marimo
|
|
213
|
+
marimo/_static/
|
|
214
|
+
marimo/_lsp/
|
|
215
|
+
__marimo__/
|
|
216
|
+
|
|
217
|
+
src/azure_deploy_cli/_version.py
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Pre-commit hooks for grantcompass-scraper
|
|
2
|
+
# See https://pre-commit.com for more information
|
|
3
|
+
|
|
4
|
+
repos:
|
|
5
|
+
# Commitizen - enforce conventional commits
|
|
6
|
+
- repo: https://github.com/commitizen-tools/commitizen
|
|
7
|
+
rev: v3.29.1
|
|
8
|
+
hooks:
|
|
9
|
+
- id: commitizen
|
|
10
|
+
stages: [commit-msg]
|
|
11
|
+
|
|
12
|
+
# Ruff - Python linting and formatting
|
|
13
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
14
|
+
rev: v0.6.9
|
|
15
|
+
hooks:
|
|
16
|
+
- id: ruff
|
|
17
|
+
args: [--fix]
|
|
18
|
+
- id: ruff-format
|
|
19
|
+
|
|
20
|
+
# mypy - static type checking
|
|
21
|
+
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
22
|
+
rev: v1.11.2
|
|
23
|
+
hooks:
|
|
24
|
+
- id: mypy
|
|
25
|
+
additional_dependencies: [types-PyYAML]
|
|
26
|
+
args: [--config-file=pyproject.toml]
|
|
27
|
+
exclude: ^tests/
|
|
28
|
+
|
|
29
|
+
# General pre-commit hooks
|
|
30
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
31
|
+
rev: v6.0.0
|
|
32
|
+
hooks:
|
|
33
|
+
- id: trailing-whitespace
|
|
34
|
+
- id: end-of-file-fixer
|
|
35
|
+
- id: check-yaml
|
|
36
|
+
- id: check-added-large-files
|
|
37
|
+
args: ['--maxkb=1000']
|
|
38
|
+
- id: check-merge-conflict
|
|
39
|
+
- id: detect-private-key
|
|
40
|
+
|
|
41
|
+
# Prevent committing sensitive Azure credentials
|
|
42
|
+
- repo: local
|
|
43
|
+
hooks:
|
|
44
|
+
- id: block-azure-credentials
|
|
45
|
+
name: Block Azure Credentials
|
|
46
|
+
entry: bash -c 'grep -rE "(clientSecret|privateKey|password|connection.?string)" --include="*.py" --include="*.json" src/ tests/ || true; [[ $? -eq 1 ]]'
|
|
47
|
+
language: system
|
|
48
|
+
types: [python, json]
|
|
49
|
+
stages: [commit]
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
## [1.0.3] - 2026-01-29
|
|
2
|
+
## [1.0.2] - 2026-01-29
|
|
3
|
+
|
|
4
|
+
### 🐛 Bug Fixes
|
|
5
|
+
|
|
6
|
+
- Update certificate validation method to TXT (#34)
|
|
7
|
+
## [1.0.1] - 2026-01-18
|
|
8
|
+
|
|
9
|
+
### ⚙️ Miscellaneous Tasks
|
|
10
|
+
|
|
11
|
+
- Use uv (#29)
|
|
12
|
+
## [1.0.0] - 2026-01-09
|
|
13
|
+
|
|
14
|
+
### 🚀 Features
|
|
15
|
+
|
|
16
|
+
- [**breaking**] Add new required YAML-based multi-container configuration for Azure Container Apps (#27)
|
|
17
|
+
## [0.1.12] - 2026-01-06
|
|
18
|
+
|
|
19
|
+
### 🐛 Bug Fixes
|
|
20
|
+
|
|
21
|
+
- Consolidate PyPI publish into 1-3-release workflow for trusted publishing (#25)
|
|
22
|
+
## [0.1.11] - 2026-01-06
|
|
23
|
+
|
|
24
|
+
### 🐛 Bug Fixes
|
|
25
|
+
|
|
26
|
+
- Enable token in pypi and rm empty changelog
|
|
27
|
+
|
|
28
|
+
### ⚙️ Miscellaneous Tasks
|
|
29
|
+
|
|
30
|
+
- *(release)* Bump version to 0.1.11 [skip ci]
|
|
31
|
+
## [0.1.10] - 2026-01-05
|
|
32
|
+
|
|
33
|
+
### ⚙️ Miscellaneous Tasks
|
|
34
|
+
|
|
35
|
+
- Delete git-cliff directory
|
|
36
|
+
- *(release)* Bump version to 0.1.10 [skip ci]
|
|
37
|
+
## [0.1.9] - 2026-01-05
|
|
38
|
+
|
|
39
|
+
### 🐛 Bug Fixes
|
|
40
|
+
|
|
41
|
+
- Comment out PyPI publish step in deploy workflow (#18)
|
|
42
|
+
|
|
43
|
+
### ⚙️ Miscellaneous Tasks
|
|
44
|
+
|
|
45
|
+
- *(release)* Bump version to 0.1.9 [skip ci]
|
|
46
|
+
## [0.1.8] - 2026-01-05
|
|
47
|
+
|
|
48
|
+
### 🐛 Bug Fixes
|
|
49
|
+
|
|
50
|
+
- Add GITHUB_TOKEN to GitHub Release step
|
|
51
|
+
- Fix typo in workflow name in 2-deploy.yaml
|
|
52
|
+
|
|
53
|
+
### ⚙️ Miscellaneous Tasks
|
|
54
|
+
|
|
55
|
+
- Add 'git-cliff/' to .gitignore
|
|
56
|
+
- Delete git-cliff directory
|
|
57
|
+
- *(release)* Bump version to 0.1.8 [skip ci]
|
|
58
|
+
## [0.1.7] - 2026-01-05
|
|
59
|
+
|
|
60
|
+
### 🐛 Bug Fixes
|
|
61
|
+
|
|
62
|
+
- Add enable-prerelease to github release and fix parameters
|
|
63
|
+
|
|
64
|
+
### ⚙️ Miscellaneous Tasks
|
|
65
|
+
|
|
66
|
+
- *(release)* Bump version to 0.1.7 [skip ci]
|
|
67
|
+
## [0.1.6] - 2026-01-05
|
|
68
|
+
|
|
69
|
+
### 🐛 Bug Fixes
|
|
70
|
+
|
|
71
|
+
- Use pypi token for reusable workflow, and use no guess version
|
|
72
|
+
|
|
73
|
+
### ⚙️ Miscellaneous Tasks
|
|
74
|
+
|
|
75
|
+
- *(release)* Bump version to 0.1.6 [skip ci]
|
|
76
|
+
## [0.1.5] - 2026-01-05
|
|
77
|
+
|
|
78
|
+
### 🐛 Bug Fixes
|
|
79
|
+
|
|
80
|
+
- Fix permissions
|
|
81
|
+
|
|
82
|
+
### ⚙️ Miscellaneous Tasks
|
|
83
|
+
|
|
84
|
+
- *(release)* Bump version to 0.1.5 [skip ci]
|
|
85
|
+
## [0.1.4] - 2026-01-05
|
|
86
|
+
|
|
87
|
+
### 🐛 Bug Fixes
|
|
88
|
+
|
|
89
|
+
- Version and tag and pypi publish permissions
|
|
90
|
+
|
|
91
|
+
### ⚙️ Miscellaneous Tasks
|
|
92
|
+
|
|
93
|
+
- *(release)* Bump version to 0.1.4 [skip ci]
|
|
94
|
+
## [0.1.3] - 2026-01-05
|
|
95
|
+
|
|
96
|
+
### 🐛 Bug Fixes
|
|
97
|
+
|
|
98
|
+
- Add tag
|
|
99
|
+
|
|
100
|
+
### ⚙️ Miscellaneous Tasks
|
|
101
|
+
|
|
102
|
+
- Publish without token
|
|
103
|
+
- *(release)* Bump version to 0.1.3 [skip ci]
|
|
104
|
+
## [0.1.2] - 2026-01-05
|
|
105
|
+
|
|
106
|
+
### 🐛 Bug Fixes
|
|
107
|
+
|
|
108
|
+
- Add a dummy release note header and extract changelog parameter
|
|
109
|
+
|
|
110
|
+
### ⚙️ Miscellaneous Tasks
|
|
111
|
+
|
|
112
|
+
- *(release)* Bump version to 0.1.2 [skip ci]
|
|
113
|
+
## [0.1.1] - 2026-01-05
|
|
114
|
+
|
|
115
|
+
### 🐛 Bug Fixes
|
|
116
|
+
|
|
117
|
+
- Add a changelog file
|
|
118
|
+
|
|
119
|
+
### ⚙️ Miscellaneous Tasks
|
|
120
|
+
|
|
121
|
+
- *(release)* Bump version to 0.1.1 [skip ci]
|
|
122
|
+
## [0.1.0] - 2026-01-05
|
|
123
|
+
|
|
124
|
+
### 🚀 Features
|
|
125
|
+
|
|
126
|
+
- Init (#1)
|
|
127
|
+
|
|
128
|
+
### 🐛 Bug Fixes
|
|
129
|
+
|
|
130
|
+
- Release
|
|
131
|
+
|
|
132
|
+
### ⚙️ Miscellaneous Tasks
|
|
133
|
+
|
|
134
|
+
- Fix workflow permissions (#3)
|