Skip to content

⚙️ Standardise CI/CD to match docket/wereabouts pattern#3

Merged
aquarion merged 3 commits into
mainfrom
feature/cicd-standard
Jun 5, 2026
Merged

⚙️ Standardise CI/CD to match docket/wereabouts pattern#3
aquarion merged 3 commits into
mainfrom
feature/cicd-standard

Conversation

@aquarion

@aquarion aquarion commented Jun 3, 2026

Copy link
Copy Markdown
Member

Summary

  • ci.yml: replaces docker.yml + create-release-tag.yml with the standard pipeline — test job (PHP 8.4 + pest + SQLite) → build-and-push (pre-builds deps/assets on host before Docker build) → staging deploy on PRs (/home/docker/alchemistic-staging) → production deploy on release tag (/home/docker/alchemistic)
  • release.yml: standard pattern — set -euo pipefail, env: blocks, tag-exists recovery message
  • dependabot-make-release.yml: new — automated weekly patch releases from dependabot-updates
  • .github/dependabot.yml: new — all three ecosystems targeting dependabot-updates branch
  • Removed docker.yml, create-release-tag.yml, auto-merge-dependabot.yml
  • docker/production/entrypoint.sh: add APP_KEY check, storage dir creation, error wrappers
  • .dockerignore: add docs exclusion, preserve README.md

Notes

  • docker/production/Dockerfile path preserved via file: in build-and-push
  • FIRTH_SSH_KEY secret needs to be available in this repo's settings for deploys to work

Test plan

  • CI passes on this PR (test + build-and-push)
  • Confirm FIRTH_SSH_KEY secret is set and /home/docker/alchemistic[-staging] directories exist on the server

🤖 Generated with Claude Code

- ci.yml: replace docker.yml + create-release-tag.yml with standard pattern
  (test → build-and-push with host pre-build of deps/assets → staging deploy
  on PRs → production deploy on release tag)
- release.yml: standard pattern with set -euo pipefail, env: blocks, tag-exists
  recovery message
- Add dependabot-make-release.yml for automated weekly releases
- Add .github/dependabot.yml targeting dependabot-updates branch
- Remove docker.yml, create-release-tag.yml, auto-merge-dependabot.yml
- docker/production/entrypoint.sh: add APP_KEY check, storage dir creation,
  error wrappers for artisan commands
- .dockerignore: add docs exclusion and preserve README.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@aquarion
aquarion marked this pull request as ready for review June 5, 2026 10:07
@aquarion
aquarion merged commit 4a1d0bd into main Jun 5, 2026
7 of 8 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