[02:52:46] eileen: hey I'm back at the keyboard if you want to look at Docker some more...... [02:54:33] also no worries if not! (I know it's late-ish Friday for u...) [03:49:14] AndyRussG: I'm about now [04:18:07] eileen: ohai! [04:18:55] :-) [04:19:13] eileen: so I guess I'll see if all those php extensions are available as debian packages [04:19:26] and as an initial setup try to install them that way? [04:19:36] and/or I could try to see how vagrant does it [04:19:41] AndyRussG: yeah - makes sense - but could come back to that in case not all are needed [04:20:11] on the non php packages mysqlclient is definitely needed (after just trying to run stuff without it) [04:20:21] eileen: hmmm right... well probably we only need the ones installed by vagrant, I guess, also [04:20:58] well some of them like imap we only need for specific features which we likely don't use much [04:21:35] eileen: not much or not at all? [04:22:01] probably not much harm in adding a lot of stuff, though really I'd like to coordinate with prod above all [04:22:08] well imap is used in CiviCRM if you want to fetch emails to process into activities or bounce notices [04:22:21] eileen: ah hmmmmmm [04:22:39] I wonder how we can find what's installed on prod [04:22:46] I don't know where the repo is that has the docker image from CI [04:22:48] I guess I should get my yubikey [04:23:07] ahhhh right Elliott (not pinging) pointed me to that once [04:28:28] eileen: found it! turns out I did write it down when Elliott told me! [04:28:30] https://gerrit.wikimedia.org/r/plugins/gitiles/integration/config/+/refs/heads/master/dockerfiles/civicrm/ [04:29:42] AndyRussG: yeah - that create-dbs stuff is part of the old shared mysql db thing [04:30:11] we want to unravel that - but not today [04:30:19] hmmmm [04:30:32] so I was just looking for php extensions to start [04:30:54] it's based on this image: https://gerrit.wikimedia.org/r/plugins/gitiles/integration/config/+/refs/heads/master/dockerfiles/php73/Dockerfile.template [04:31:18] however... I guess you might need something different for tests than what you need for prod or for a dev setup [04:31:49] just gonna ssh into prod and maybe apt can tell me something, since I don't see indications of what packages are installed in the prod puppet repo [04:37:35] AndyRussG: yeah we need more for dev but that list I got was based on stretch I think [04:37:52] so there might be things already bundled [04:42:57] Ahhh nice this new Laptop doesn't need an adapter for the yubikey [04:43:17] also the keyboard is indeed much better than the mac! [04:44:01] after a bit I realized I had been hurting my wrists by typing too forcefully on the Mac keyboard with its tiny key-travel-distance [04:49:09] eileen: hmmm so on prod, the debian package php7.3-bcmath (to take the first one) is not installed [04:50:12] eileen: however, the prod puppet repo does do a setting for it in php.ini, which is indeed there on prod (on civi1001) [04:58:53] eileen: so php -m on civi1001 shows bcmath to *not* be installed, at least for cli php. However gd is installed, and so is the Debian package, php7.3-gd [04:59:17] so I'm gonna just go through them one by one like that to see if any are activated by a means other than Debian packages [04:59:34] and if not, then in Docker I think we should just use the debian packages, like prod [04:59:37] does that make sense? [06:26:08] eileen: K so it looks like all the php extensions we need are installed via debian packages on prod, and just a few of them have custom configuration settings [06:26:32] I think we ought to follow that pattern for Docker, hope that makes sense! [06:26:37] Thanks much, have a good weekend! [13:40:57] (PS2) Jgleeson: Dockerize process-control [wikimedia/fundraising/process-control] - https://gerrit.wikimedia.org/r/643767 (https://phabricator.wikimedia.org/T268685) [13:41:28] (CR) jerkins-bot: [V: -1] Dockerize process-control [wikimedia/fundraising/process-control] - https://gerrit.wikimedia.org/r/643767 (https://phabricator.wikimedia.org/T268685) (owner: Jgleeson) [14:00:19] (PS3) Jgleeson: Dockerize process-control [wikimedia/fundraising/process-control] - https://gerrit.wikimedia.org/r/643767 (https://phabricator.wikimedia.org/T268685) [14:00:55] (CR) jerkins-bot: [V: -1] Dockerize process-control [wikimedia/fundraising/process-control] - https://gerrit.wikimedia.org/r/643767 (https://phabricator.wikimedia.org/T268685) (owner: Jgleeson) [14:02:52] (PS4) Jgleeson: Dockerize process-control [wikimedia/fundraising/process-control] - https://gerrit.wikimedia.org/r/643767 (https://phabricator.wikimedia.org/T268685) [14:03:22] (CR) jerkins-bot: [V: -1] Dockerize process-control [wikimedia/fundraising/process-control] - https://gerrit.wikimedia.org/r/643767 (https://phabricator.wikimedia.org/T268685) (owner: Jgleeson) [15:48:04] hi fr-tech jgleeson! [15:48:56] jgleeson if you'd like to work on docker I have some time starting in about 1hr 30 minutes (after cooking and eating mid-morning brunch with Zoom-ified kids...) [15:49:47] I made some progress on the Civi image yesterday by looking into how we install and configure in production the PHP extensions that Eileen put in her image... basically it's all Debian packages and just some minimal config on a few of them [15:50:21] I did read over the doc you mentioned I think yesterday or the day before (https://docs.docker.com/compose/gettingstarted/) [15:51:05] I'd seen it before but that was really before I knew much about Docker, and I hadn't read it carefully then, so it was good to now look over it more slowly and with a better understanding of stuff [15:51:32] Also looking at https://docs.docker.com/develop/dev-best-practices/ [15:51:56] which mentions a thing called "layered builds", which I don't know hardly anything about [15:53:26] hope all's good! so maybe tty in a bit, if u have time (and I'll check here for pings/backscroll periodically while doing other stuff) [15:53:29] :) [15:53:40] hey AndyRussG ! [15:53:50] heyyyyyy :) [15:54:00] I'm currently writing up my notes on the phab task wrt the dockerizing of process-control [15:54:14] yeah the layer builds or multi-stage builds stuff looks good [15:54:38] looks like let's you build images for different environments in one dockerfile [15:54:49] jgleeson ah cool beans! interesting [15:54:54] which saves having a separate dockerfile for each env [15:55:09] looks like we got to the party late on that one tho [15:55:19] I wonder if we can do that with docker-pkg [15:55:21] they fixed the problem before we encountered it I guess [15:55:44] ? [15:56:01] the problem that lead to adding in multi-stage builds [15:56:12] needing separate dockerfiles [15:56:16] by env [15:56:26] apparently it's called The Builder Pattern [15:56:32] or was [15:58:57] ahhh huh interesting [15:59:50] jgleeson K so I'm gonna focus mainly on my cooking and eating stuff for a bit... will u still be around in like 1.5 hrs or so? [16:00:21] (If not it's ok of course... also I'll still see any backsroll here.....) [16:00:25] I'm gonna break in about an hour for cooking/dinner myself but then I'll be back afterwards also so yeah we can catch up and talk docker :) [16:01:14] okok cool thx! [16:28:40] Fundraising-Backlog, Wikimedia-Fundraising-CiviCRM: Run away queries ->fail mail - https://phabricator.wikimedia.org/T268793 (MDemosWMF) @Eileenmcnaughton sorry about that! Not sure what it was from looking at the above, can you translate for the non-technical? Definitely want to find out what it was so... [17:39:32] Fundraising Sprint Xtreme Lolcats, Fundraising-Backlog, Patch-For-Review: Docker dev setup: Set up process control - https://phabricator.wikimedia.org/T268685 (jgleeson) Some notes on this task: I see this work breaking into two parts. **1. Dockerizing the process-control application** This will a... [17:40:56] AndyRussG: I'm gonna break now for dinner but i'd jotted down my thoughts here https://phabricator.wikimedia.org/T268685#6653110 on the process-control dover stuff so if you get a chance have a read and I'll pick your brain on it when I come back later! thanks in advance :) speak soon [17:41:45] s/dover/docker/ [17:43:52] jgleeson|dinner: ahh okok enjoy! we just finished our brunch over here... [18:53:52] Fundraising Sprint Xtreme Lolcats, Fundraising-Backlog, Patch-For-Review: Docker dev setup: Set up process control - https://phabricator.wikimedia.org/T268685 (AndyRussG) Thanks so much for digging in and for the explanations!!!! What about the following as //Option C//: - We have two generic base i... [18:54:13] jgleeson: hey! so I just replied on the task :) [18:54:51] ahhh millions of decisions!!! It's fun stuff though, eh? [18:57:07] hey AndyRussG just read your reply. wanna talk through it on a call/ [18:57:09] ? [18:58:04] jgleeson: yes for sure! one sec :) [19:03:12] jgleeson: I'm in today's standup Hangout [19:37:52] Fundraising-Backlog, Wikimedia-Fundraising-CiviCRM: Run away queries ->fail mail - https://phabricator.wikimedia.org/T268793 (Eileenmcnaughton) @MDemosWMF were you searching for soft credits? That is a bit of a problem at times [19:48:18] Fundraising-Backlog, Wikimedia-Fundraising-CiviCRM: Run away queries ->fail mail - https://phabricator.wikimedia.org/T268793 (MDemosWMF) @Eileenmcnaughton Thinking back I could have been searching for DAF (donor advised fund) gifts if it was a soft credit. These types of gifts always have a soft credit o... [20:06:36] Fundraising-Backlog, Wikimedia-Fundraising-CiviCRM: Run away queries ->fail mail - https://phabricator.wikimedia.org/T268793 (Eileenmcnaughton) @MDemosWMF so there is a bit of an obscure safe guard - in that if you search before making any edits in that session it will probably go to the read only server... [20:39:33] (PS5) Jgleeson: WIP:Dockerize process-control [wikimedia/fundraising/process-control] - https://gerrit.wikimedia.org/r/643767 (https://phabricator.wikimedia.org/T268685) [20:39:59] (CR) jerkins-bot: [V: -1] WIP:Dockerize process-control [wikimedia/fundraising/process-control] - https://gerrit.wikimedia.org/r/643767 (https://phabricator.wikimedia.org/T268685) (owner: Jgleeson) [20:45:19] Fundraising Sprint We all meet again, Fundraising-Backlog, Patch-For-Review: Payment Method will not update on contribution record - https://phabricator.wikimedia.org/T266617 (MDemosWMF) @Eileenmcnaughton Thank you for fixing the payment method! I saw that the gift is not on the CID 72 record. Is the... [20:49:36] Fundraising-Backlog, Wikimedia-Fundraising-CiviCRM: Run away queries ->fail mail - https://phabricator.wikimedia.org/T268793 (MDemosWMF) @Eileenmcnaughton It might've been when I was looking for the $10K gift from T266617. I did "gift received Oct 27, gift amount 10,000, gift source Donor Advised Fund" a... [23:09:05] Fundraising Sprint Xtreme Lolcats, Fundraising-Backlog, Patch-For-Review: Docker dev setup: Set up process control - https://phabricator.wikimedia.org/T268685 (AndyRussG) > We have two generic base images: > 1. One with PHP and Apache, and whatever PHP extensions and Apache modules we'd normally... [23:11:44] hey AndyRussG just saw your reply [23:11:49] AndyRussG: *