Repository navigation
feat: hard-cut Shopware env to root .env.* - #33
Merged
Merged
Conversation
One ShopEnv::load for every shopware verb. Drop deploy/sync.env and deploy/backup.env. Fail leftover SYNC_*/BACKUP_SSH_*/BACKUP_ALLOW_* when the replacement is unset. Data root, SSH, rewrite, and live gate use the new names only. Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
Remote source env is always live; leftover alias_key helpers were unused after the Shopware env hard-cut. 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.
One
ShopEnv::load(project_root)for every shopware verb. Project-root.env/.env.local/.env.prodis the only file source.deploy/sync.envanddeploy/backup.envare never read.Behavior
SYNC_*/BACKUP_SSH_*/BACKUP_ALLOW_*/SYNC_APP_URLfail when the replacement is unset. No silent aliases.SHOPWARE_DATA_BASE/SHOPWARE_SHOP_ID/SHOPWARE_DEPLOY_ENV(base default/var/lib/shopware/data). OptionalSHOPWARE_DATA_ROOT.SHOPWARE_SSH_HOST/USER/KEY. Host defaults to the--fromalias. Port is always 22. No per-aliasSYNC_<ALIAS>_*.SHOPWARE_REMOTE_DATA_ROOTor{data_base}/{shop_id}/live.APP_URLonly. Skipped on live so DR can continue.SHOPWARE_ALLOW_LIVE_RESTOREplus existing--allow-liveondb import.BACKUP_TARGET(defaultlocal),BACKUP_KEEP_DAYS,BACKUP_DB_DUMP; SSH targets reuseSHOPWARE_SSH_*.Docs:
docs/command-matrix.mdand README. Dump is not implemented. Recipes and shopware-cd are unchanged. CIVPS_*stay secrets.Tests
cargo testpassed (unit + integration). Sync-local dry-run still requiresrsyncon PATH.