Page MenuHomePhabricator

Test out the end-to-end matching gifts file deployment process.
Closed, ResolvedPublic2 Estimated Story Points

Description

This will involve copying down, verifying and then transferring the data file generated on civi1001:/srv/matching_gifts/employers.csv (path is set here should also be in email notification) over to frpm1001:/localsettings/payments-wiki/employers.csv. That file then needs git committing and deploying as part of a payments-wiki deploy.

To test that everything worked as expected, try out the employer field on this variant https://payments.wikimedia.org/index.php?title=Special:IngenicoGateway&appeal=JimmyQuote&ffname=cc-vmad&payment_method=cc&recurring=0&uselang=en&language=en&currency=USD&amount=1&country=US&utm_campaign=internal_test&variant=employer

Event Timeline

XenoRyet set the point value for this task to 2.Aug 16 2021, 8:21 PM

I created a small script to copy the file from civi to frpm, add it to the settings repo, and sync it out to payment. For now you can find it in /tmp/updateemployer.sh

On frpm you can now pull down this script from the local scripts repo in /var/lib/git.

git clone /var/lib/git/tools.git/ bin

Then run ~/bin/updateemployer.sh from your local copy of the localsettings git repo