Add a combined 'all' push remote and document the new push habit
CI / backend (push) Successful in 1m32s
CI / frontend (push) Successful in 55s

Pushing to rocky alone doesn't trigger CI (Gitea can't see that private bare
repo), and two separate git push commands are easy to half-remember. 'all'
has two push URLs (rocky, gitea) so one push updates the staging checkout's
source and triggers CI together. Deliberately excludes origin (GitHub)
pending the still-open question about that repo's ownership/involvement.
This commit is contained in:
b0txec
2026-08-24 22:25:35 +03:00
parent 2c78ae8286
commit 27ab795f54
2 changed files with 27 additions and 1 deletions
+16
View File
@@ -73,6 +73,22 @@ The expected steady state is:
- `runner`: `Up`; and - `runner`: `Up`; and
- `weathertool-ci-rocky-01`: `Idle` in Gitea when no job is queued. - `weathertool-ci-rocky-01`: `Idle` in Gitea when no job is queued.
## Triggering CI
CI only runs on a push (or PR) reaching the `gitea` remote — pushing to
`rocky` alone does not trigger it, since Gitea has no visibility into that
private bare repo. To avoid needing two separate `git push` commands (and
forgetting one), a combined `all` remote pushes to both `rocky` and `gitea`
in one command:
```bash
git push all codex/staging-baseline
```
`all` deliberately does not include `origin` (the GitHub
`guntisdev/WeatherTool` repo) — see `DEVELOPMENT_AND_STAGING.md`'s commit
workflow section for why.
`Idle` is healthy. It means the runner is authenticated and polling for `Idle` is healthy. It means the runner is authenticated and polling for
work. The runner is available only while the coding PC, Docker, and these work. The runner is available only while the coding PC, Docker, and these
containers are running. containers are running.
+11 -1
View File
@@ -54,9 +54,19 @@ git status --short
git diff --check git diff --check
git add <files> git add <files>
git commit -m "Describe the coherent change" git commit -m "Describe the coherent change"
git push rocky codex/staging-baseline git push all codex/staging-baseline
``` ```
`all` is a combined remote (added 2026-08-24, see `CONTINUOUS_INTEGRATION.md`)
with two push URLs — `rocky` and `gitea` — so one push updates both the
staging checkout's source and triggers CI in a single command, instead of
two separate `git push` calls that are easy to forget one half of. It does
not include `origin` (the GitHub `guntisdev/WeatherTool` repo) — whether
that joins later depends on a still-open question about that repo's
ownership/involvement, expected to resolve around 2026-08-26. Push there
manually (`git push origin codex/staging-baseline`) if needed in the
meantime; the plain `rocky`/`gitea` remotes still exist individually too.
On Rocky, update the staging checkout: On Rocky, update the staging checkout:
```bash ```bash