Skip to content

Conversation

retlehs
Copy link
Member

@retlehs retlehs commented Aug 7, 2025

This PR publishes the Acorn dev container as a Docker image to speed up CI builds and upgrades the test environment to use Sage v11

retlehs and others added 14 commits August 6, 2025 17:34
- Add customizable WordPress site title (defaults to "Acorn Testing")
- Fix twentytwentyfour → twentytwentyfive theme removal
- Use composer create-project for proper Sage theme installation
- Add automatic bun build step after Sage installation
- Fix chown permissions scope from /roots to /roots/app
- Remove sudo from chmod commands in devcontainer.json
- Add devcontainer CLI usage documentation to README
- Document site title and repository customization options

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Refactor routing tests from mu-plugin approach to Sage theme integration
- Add proper backup/restore of Sage functions.php with cleanup in tearDown
- Add COMPOSER_ROOT_VERSION env var to handle version constraints cleanly
- Update GitHub Actions to test with Sage theme activation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Detect CI environment and skip Xdebug install when CI=true
- Improves CI build speed and test performance
- Maintains full debugging capabilities for local development

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Remove Git feature that was causing build timeouts locally
- Remove soil plugin activation (legacy code)
- Export COMPOSER_ROOT_VERSION in setup script to ensure Sage v11 installation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Remove existing Acorn before re-adding with version alias
- Force Sage v11 installation by aliasing local Acorn as 5.0.x-dev
- Remove Sage's vendored Acorn to use Bedrock's version
- Add destroy.sh script for thorough cleanup
The /test/ route no longer exists since we moved from mu-plugin to Sage theme integration
No longer needed since we use dynamic version aliasing during setup
- Create devcontainer.yml workflow to publish image to GHCR
- Update integration.yml to use published image cache
- Publishes ghcr.io/roots/acorn-devcontainer:latest from main branch
- Add devcontainer-updates branch to publishing trigger
- Tag images with branch name for testing
- Update integration workflow to use branch-tagged cache
- Remove branch-specific testing configuration
- Publish workflow now only runs on main branch
- Integration workflow uses :latest cache from GHCR
- Clean up testing artifacts from Dockerfile
@retlehs retlehs self-assigned this Aug 7, 2025
@retlehs retlehs merged commit 784fae3 into main Aug 7, 2025
2 of 3 checks passed
@retlehs retlehs deleted the devcontainer-updates branch August 7, 2025 02:13
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