Skip to content

ci: run deploy-integration only for installer changes - #695

Merged
BorisTyshkevich merged 1 commit into
mainfrom
ci/692-deploy-job-targeting
Oct 26, 2026
Merged

BorisTyshkevich merged 1 commit into
mainfrom
ci/692-deploy-job-targeting

Conversation

@BorisTyshkevich

Copy link
Copy Markdown
Collaborator

The Docker cluster integration job (deploy-integration, ~5 min × 2 images) was running far more often than needed:

  • on every push to main;
  • on PRs touching anything under deploy/** (Caddy, Helm, k8s, config.json.example), package.json (every Dependabot bump), any workflow file, or the unit-level installer tests/helpers.

Now it runs only when the installer itself can be affected:

Trigger Before After
PR touching deploy/install.sh, deploy/uninstall.sh, deploy/lib/**, deploy/http_handlers.xml, tests/deploy/**, .github/workflows/ci.yml ✅ ✅
PR touching only src/**, HTML/CSS/JS, package.json, Caddy/Helm/k8s, other workflows ✅ (some) ❌ skipped
PR touching only tests/unit/*-script.test.js / tests/helpers/deploy-* ✅ ❌ (still run by the test job)
push to main ✅ ❌
release tag push, workflow_dispatch ✅ ✅

The image tags are pinned exactly, so an unchanged installer can't drift between runs; no nightly run is added. A skipped job counts as a pass in the CI gate (same as before). The wiki deployment page now documents this.

This PR edits ci.yml, so the job runs once on it, as expected.

Refs #692

🤖 Generated with Claude Code

https://claude.ai/code/session_01P3CopPwrpzeWAJd7vaaLSk

The ~5 min/image Docker cluster job ran on every push to main and on PRs
touching anything under deploy/** (Caddy, Helm, k8s), package.json
(every dependency bump), any workflow, or the unit-level installer tests.
Narrow the PR filter to the shipped installer files (install.sh,
uninstall.sh, lib/, http_handlers.xml), tests/deploy/, and ci.yml, and
drop the push-to-main trigger (release tags and manual dispatch still
run it; images are pinned, so an unchanged installer cannot drift).
Unit-level installer tests stay in the `test` job.

Refs #692

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P3CopPwrpzeWAJd7vaaLSk
@BorisTyshkevich
BorisTyshkevich merged commit c05dd26 into main Oct 26, 2026
18 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant