mirror of
https://github.com/Dasemu/Maskarr.git
synced 2026-11-26 23:36:13 +00:00
chore: run CI on both GitHub and Gitea
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cdb1898c3e
commit
c79480eddd
3 files changed
+26
-2
No files matched your search
@@ -0,0 +1,24 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [development]
|
||||||
|
push:
|
||||||
|
branches: [development, main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: "3.11"
|
||||||
|
cache: "pip"
|
||||||
|
|
||||||
|
- run: pip install -r requirements.txt
|
||||||
|
|
||||||
|
# No linter or test suite is configured for this project yet.
|
||||||
|
# This is a lightweight sanity check (syntax/import compile), not a test run.
|
||||||
|
- run: python3 -m py_compile maskarr.py
|
||||||
@@ -22,7 +22,7 @@ Everything lives in `maskarr.py`: an `http.server`-based proxy that forwards req
|
|||||||
- No `development` branch exists yet; CI and the version workflow reference it per the standard shape, but they won't trigger until it's created.
|
- No `development` branch exists yet; CI and the version workflow reference it per the standard shape, but they won't trigger until it's created.
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
Docker image published to GHCR only, on push to `main`/tags (`.github/workflows/docker-publish.yml`). CI and version workflows live in `.gitea/workflows/`. See `docs/deployment.md` for systemd and Docker instructions.
|
Docker image published to GHCR only, on push to `main`/tags (`.github/workflows/docker-publish.yml`). Version workflow lives in `.gitea/workflows/`; CI runs in both `.gitea/workflows/` and `.github/workflows/`. See `docs/deployment.md` for systemd and Docker instructions.
|
||||||
|
|
||||||
## Gotchas
|
## Gotchas
|
||||||
- `maskarr_config.json` is tracked as an empty template; don't commit it populated with real tracker credentials/cookies.
|
- `maskarr_config.json` is tracked as an empty template; don't commit it populated with real tracker credentials/cookies.
|
||||||
|
|||||||
+1
-1
@@ -80,7 +80,7 @@ docker run -d \
|
|||||||
|
|
||||||
The GitHub Actions workflow `.github/workflows/docker-publish.yml` publishes the Docker image to
|
The GitHub Actions workflow `.github/workflows/docker-publish.yml` publishes the Docker image to
|
||||||
**GitHub Container Registry** (`ghcr.io`) on each push to `main`/`master` or tag `v*.*.*`.
|
**GitHub Container Registry** (`ghcr.io`) on each push to `main`/`master` or tag `v*.*.*`.
|
||||||
CI and versioning run on Gitea Actions (`.gitea/workflows/`).
|
CI and versioning run on Gitea Actions (`.gitea/workflows/` (CI also runs on GitHub)).
|
||||||
|
|
||||||
### Using published images
|
### Using published images
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user