Remove stale CI: .github workflows and Jenkinsfile #56
Labels
No labels
bug
duplicate
enhancement
good first issue
help wanted
question
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lvl0/incr#56
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The repo is hosted on Forgejo and has working
.forgejo/workflows/, but still carries two other CI systems' config.Scope
.github/workflows/lint.yml— Laravel starter-kit leftover. Targetsdevelop/mainon PHP 8.4 (project is 8.3), runsnpm run formatandnpm run lint. Notably it runsvendor/bin/pintwithout--test, i.e. it rewrites files rather than checking them — with a commented-out auto-commit step below it..github/workflows/tests.yml— same origin, samedevelop/maintargeting, PHP 8.4.Jenkinsfile— a tag-triggered Jenkins pipeline at the repo root, with a hardcodedtoken: 'tag-trigger-secret'. Superseded by.forgejo/workflows/build.yml, which already builds and pushes onv*tags.ffr has none of these — no
.github/, no Jenkinsfile.Check before deleting
developis referenced by both GitHub workflows but is not the main branch. Confirm no Jenkins instance is still wired to this repo before removing the Jenkinsfile — if one is, disable the job first rather than just deleting the file.Acceptance criteria
.github/removed entirelyJenkinsfileremoved.forgejo/workflows/is the only CI config in the repoDone —
18fa900.forgejo/workflows/is now the only CI config in the repo..github/workflows/lint.ymlandtests.yml— Laravel starter-kit leftovers targetingdevelop/mainon PHP 8.4. Both were already broken:lint.ymlcallsnpm run formatandnpm run lint, and both scripts were deleted in #52 along with prettier and eslint. It also ranvendor/bin/pintwithout--test, rewriting files rather than checking them.Jenkinsfile— the ticket asked to confirm it was not still wired before deleting. It was doubly dead:codeberg.org; the remote has beenforge.lvl0.xyzsinceab957d3docker/Dockerfile, a path that does not exist — the real path isdocker/production/DockerfileIt could not have succeeded even if triggered.
.forgejo/workflows/build.ymlalready handlesv*tags.Caveat: I cannot see from the repo whether a Jenkins instance still points here. If one does, it will now fail on a missing Jenkinsfile rather than a missing Dockerfile — worth disabling the job if you know of one.
Beyond the ticket
ci.ymlran pull requests only againstmain, while ffr covers[main, 'release/*']— so PRs targeting a release branch got no CI at all. Fixed in the same commit; same CI-hygiene theme.Gates
PHPUnit 33 tests, 81 assertions PASS ·
npm run buildPASS. No PHP touched.Verified
ci.ymlstill triggers onrelease/*pushes, so this branch keeps coverage, and that it references nothing deleted by #52 — thebuildjob is justnpm ci+npm run build.