GRM-54: Integrate tea Gitea CLI for API interactions (#68)

This commit is contained in:
2026-06-22 07:04:58 +00:00
parent b8ab4f854b
commit 28e61aa166
17 changed files with 1319 additions and 265 deletions
+4 -4
View File
@@ -63,7 +63,7 @@ jobs:
if: failure()
env:
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
PYTHONPATH: src
PYTHONPATH: .:src
run: |
python3 scripts/ci/notify_failure.py \
--repo "${{ github.repository }}" \
@@ -93,7 +93,7 @@ jobs:
if: failure()
env:
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
PYTHONPATH: src
PYTHONPATH: .:src
run: |
python3 scripts/ci/notify_failure.py \
--repo "${{ github.repository }}" \
@@ -128,7 +128,7 @@ jobs:
if: failure()
env:
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
PYTHONPATH: src
PYTHONPATH: .:src
run: |
python3 scripts/ci/notify_failure.py \
--repo "${{ github.repository }}" \
@@ -156,7 +156,7 @@ jobs:
if: failure()
env:
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
PYTHONPATH: src
PYTHONPATH: .:src
run: |
python3 scripts/ci/notify_failure.py \
--repo "${{ github.repository }}" \
+11 -3
View File
@@ -14,14 +14,21 @@ jobs:
with:
fetch-depth: 0
- name: Install CI tools
run: python3 scripts/install_tools.py --tool git-cliff
run: python3 scripts/install_tools.py --tool git-cliff --tool tea
- name: Install build tools
run: python3 -m pip install --break-system-packages build twine requests python-dotenv click
- name: Configure tea login
env:
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
run: |
export PATH="$HOME/.local/bin:$PATH"
tea login add --name grm --url "${{ github.server_url }}" --token "$REPO_TOKEN" || true
tea login default grm || true
- name: Build and publish release
env:
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
PYTHONPATH: src
PYTHONPATH: .:src
run: |
export PATH="$HOME/.local/bin:$PATH"
python3 scripts/ci/publish.py \
@@ -31,8 +38,9 @@ jobs:
if: failure()
env:
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
PYTHONPATH: src
PYTHONPATH: .:src
run: |
export PATH="$HOME/.local/bin:$PATH"
python3 scripts/ci/notify_failure.py \
--repo "${{ github.repository }}" \
--run-id "${{ github.run_id }}" \