ItamarWMDE created this task. ItamarWMDE added projects: Mismatch Finder, Wikidata. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION Currently, our CI uses `rm` and `cp` to completely remove our live site and copy it over each time we deploy code (i.e. each merge to `main`). However, a possibly faster and more robust way is to use `rsync` to incrementally copy files after they have been sent to the server. This will also eliminate the need to maintain a separate `.env` master file that is copied over in each deployment, and eliminate the risk of losing uploaded files (in case files uploaded are in the repo's "storage" directory) **Current behavior**: In the "Deploy code" step of our `deply-app.yml` github workflow, the live site is `rm`d and `cp` over into the tool account. **Expected Behaviour (AC)**: [ ] In the "Deploy code" step of our `deply-app.yml` github workflow, the live site is `rsynced` incrementally over into the tool account. [ ] `.env` file is no longer copied into the deployed code folder after copying is complete (the only version of `.env` lives in the `miamatch-finder-repo` directory) TASK DETAIL https://phabricator.wikimedia.org/T286056 WORKBOARD https://phabricator.wikimedia.org/project/board/5385/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: ItamarWMDE Cc: Aklapper, ItamarWMDE, karapayneWMDE, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, Esc3300, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org