Repository navigation
feat: switch Flex overlay wrappers to fyrst-cli 0.1.0 - #33
Merged
Merged
Conversation
CI still runs bash ./deploy/vps-release.sh. Copied deploy/*.sh now exec fyrst-cli. Dump stays shopware-cli. Compose and CI templates stay. Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
Contributor
Author
|
merged |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cut the Symfony Flex overlay over to fyrst-cli 0.1.0. Shops still get deploy bash and CI still runs
bash ./deploy/vps-release.sh; those scripts are now thin wrappers.What now calls fyrst-cli
deploy/init-env.shfyrst-cli shopware env initdeploy/vps-release.shfyrst-cli shopware deploy releasedeploy/vps-rollback.shfyrst-cli shopware deploy rollbackdeploy/sync-runtime.sh snapshot|restore|syncfyrst-cli shopware sync capture|apply|pulldeploy/sync-runtime-local.shfyrst-cli shopware sync local(--data alldropped; CLI default is volumes-only)deploy/backup-runtime.sh backup|prune|restorefyrst-cli shopware backup create|prune|recoverEach VPS/laptop needs fyrst-cli 0.1.0+ on PATH (
scripts/install.sh). Wrappers fail with the install one-liner if it is missing.What bash remains (not fyrst-cli)
deploy/lib/fyrst-cli.sh(locator /exec)bash ./deploy/vps-release.shon the VPS)deploy/compose.yaml,compose.prod.yaml,compose.vps.yaml.env.example,sync.env.example,backup.env.example,.dockerignoreshopware-cli project dump(fyrst-cli never dumps). Placedb.sql.gzin--snapshot-diror setBACKUP_DB_DUMP.Out of this recipe (unchanged ownership)
shopware-cli project createdocker buildx/shopware/dockerDockerfileDeleted the old
deploy/lib/{vps-common,sync-*}.shimplementations (~4k lines). Compose/CI templates are unchanged in behavior.Tests
All overlay tests pass against fyrst-cli 0.1.0 (
wrappers,init-env,sync-runtime,sync-dump,sync-rewrite,vps-hardening).Shops:
composer recipes:update fyrst/shopware-cdafter this lands onflex/main, then install fyrst-cli on each VPS.