chore: rebuild dev env from templates #29
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/rebuild-dev-env"
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?
Summary
Full template rebuild: every template-owned file deleted and re-applied from the templates repo in layer order, then the displaced project-specific behaviour rewired on top.
Layers applied
common/) —.editorconfig,.forgejo/renovate.json,.gitignore,.prettierignore,CLAUDE.md, Makefile target contractdocker—.dockerignore,.hadolint.yaml,Makefile,code-quality.ymldocs-zensical—publish-docs.ymlonlycommitizen/pr-bump-preview.yml+commitizen-docker/cz.tomldocker-multiarch—build-version.yml+publish.yml, replacingbuild-push.ymlBaseline drift picked up
code-quality.ymlandpublish-docs.ymlmove fromruns-on: ubuntu-latest+container.image: general-ci:0.5.0to themodernleft-general-cirunner labelcode-quality.ymlgains theif: !startsWith(…, 'bump:')guard.gitignorereplaced with the full shared list;bluesky-pds/andsite/carried into its# projext specifictail.prettierignoreadded (was absent)Makefilerestoresexport BUILDKIT_SYNTAXand the matching--build-argDisplaced behaviour reapplied
.dockerignoreallowances forentrypoint.shandpdsadmin— verified by a localmake build, which reached bothCOPYstepsgenerate-envMakefile targetenv.DOCKERHUB_USERNAME/env.DOCKERHUB_TOKENformUpstream tracking rewired to cut releases
This image now versions independently of upstream, so an upstream release cannot cut a tag on its own. New
upstream-track.ymlruns daily at 06:00 UTC, resolves the newestbluesky-social/pdstag, and on a change commits it to.pds-versionasfeat: track upstream pds vX.Y.Z. That drives the existing chain:build-version.yml→ cz bump → tag →publish.yml→ both registries.Both builds now read
.pds-versionand pass it as--build-arg PDS_VERSION, so a given commit always builds the same image rather than resolving "newest tag" at build time.Deliberately not applied
common/LICENSE(AGPL-3.0) — this repo redistributes MIT/Apache-2.0 code frombluesky-social/pds, andDockerfile:39declaresorg.opencontainers.image.licenses="MIT,Apache-2.0"docs-zensicalscaffolddocs/tree — the project has real documentationcommon/AGENTS.mdandcommon/README.md— treated as no-ops, not deletionsBefore merging
publish.ymluses the baselinesystem/MODERNLEFT_REGISTRY_TOKENfrom Infisical/system, replacing this repo's formergravityfargo/REGISTRY_TOKENfrom/bluesky-pds-docker. Confirm thesystemidentity can push undergravityfargo/, and thatDOCKERHUB_USERNAME/DOCKERHUB_TOKENresolve at/system.1.0.0tag manually. The bump preview on this PR measuredversion 0.0.0 → 0.1.0, so commitizen will not reach 1.0.0 on its own.upstream-track.ymlcommits unsigned, unlikebump.ymlwhich signs via the commitizen-bot key.CI
pr-bump-previewis the only workflow that fires on a PR branch; it passed and posted its preview comment. The build, publish, docs, and bump paths arepush/tagtriggered and are not exercised until merge.Commitizen bump preview
No commits in this PR are eligible for a version bump.