Page MenuHomePhabricator

Maintain and deploy Arc Lamp code from its own repository (outside Puppet)
Closed, ResolvedPublic

Description

  • Create git repository for performance/arc-lamp.
  • Import history from https://github.com/wikimedia/arc-lamp.
  • Delete old wikimedia/arc-lamp GitHub repo and the Gerrit mirror at wikimedia/performance-arc-lamp to wikimedia/arc-lamp (thus keeping the old place to keep URLs working).
  • Import current arclamp source code from operations/puppet.

Using Scap (cancelled):

  • Add scap bootstrap to arc-lamp repository.
  • Add arc-lamp to scap::sources in Beta and in production DCs.
  • Ensure webperf-2 is a scap::target in Beta and production DCs.
  • Update profile::webperf::arclamp in Puppet to provision the tools from this repository.

Event Timeline

At any stage in this process where it's possible to NOT use Puppet, we should do that. Overlaps between Puppet and applications are bad, and should be avoid. (Frankly, this includes the scap::sources puppet setup, which is a terrible hack that we should eliminate ASAP.)

Change 447342 had a related patch set uploaded (by Krinkle; owner: Krinkle):
[performance/arc-lamp@master] Add .gitreview file

https://gerrit.wikimedia.org/r/447342

Change 447342 merged by Krinkle:
[performance/arc-lamp@master] Add .gitreview file

https://gerrit.wikimedia.org/r/447342

Change 447555 had a related patch set uploaded (by Krinkle; owner: Krinkle):
[performance/arc-lamp@master] WIP: Turn into a real python package, with tests

https://gerrit.wikimedia.org/r/447555

Change 447555 abandoned by Krinkle:
WIP: Turn into a real python package, with tests

https://gerrit.wikimedia.org/r/447555

aaron triaged this task as Low priority.Jun 6 2019, 10:07 AM

Change 560128 had a related patch set uploaded (by Krinkle; owner: Krinkle):
[integration/config@master] Add composer-test job for performance/arc-lamp

https://gerrit.wikimedia.org/r/560128

Change 560125 had a related patch set uploaded (by Krinkle; owner: Krinkle):
[performance/arc-lamp@master] Switch from HHVM Xenon to php7-excimer and improve documentation

https://gerrit.wikimedia.org/r/560125

Change 560128 merged by jenkins-bot:
[integration/config@master] Add composer-test job for performance/arc-lamp

https://gerrit.wikimedia.org/r/560128

Change 560125 had a related patch set uploaded (by Krinkle; owner: Krinkle):
[performance/arc-lamp@master] Switch from HHVM Xenon to php7-excimer and improve documentation

https://gerrit.wikimedia.org/r/560125

Change 560125 merged by jenkins-bot:
[performance/arc-lamp@master] Switch from HHVM Xenon to php7-excimer and improve documentation

https://gerrit.wikimedia.org/r/560125

Krinkle renamed this task from Move Arc Lamp code to a Scap-deployed repository to Main and deploy Arc Lamp code from its own repository (outside Puppet).Mar 15 2020, 11:37 PM

@dpifke I've crossed out the Scap-deploy plan in light of T227026. Do you want to go direcrly from the current files ensured by Puppet and the K8s service from the standalone repo, or have an intermediate step where e.g. puppet ensures the files from the standalone repo?

I suppose this might depend on how long we expect the migration to take, and whether it would reduce complexity that way (not having two versions to maintain short-term), or that it would add complexity (e.g. one source repo needing to work both ways). I'm thinking it might be good to have a clean break and deal with the two places issue as needed. What do you think?

aaron renamed this task from Main and deploy Arc Lamp code from its own repository (outside Puppet) to Maintain and deploy Arc Lamp code from its own repository (outside Puppet).Mar 16 2020, 9:32 PM

No need for a separate stage, per Dave doing that within Puppet as-is is fine. Continuing at T227026. .

Re-opening this, as there's value in moving these files out of Puppet in the short-term. Patches forthcoming.

Change 607369 had a related patch set uploaded (by Dave Pifke; owner: Dave Pifke):
[performance/arc-lamp@master] Sync with Puppet and prepare for scap deployment

https://gerrit.wikimedia.org/r/607369

Change 607370 had a related patch set uploaded (by Dave Pifke; owner: Dave Pifke):
[operations/puppet@production] [WIP] arclamp: Deploy from scap

https://gerrit.wikimedia.org/r/607370

Change 607369 merged by jenkins-bot:
[performance/arc-lamp@master] Prepare for scap deployment

https://gerrit.wikimedia.org/r/607369

Change 607370 merged by Dzahn:
[operations/puppet@production] arclamp: Deploy from scap

https://gerrit.wikimedia.org/r/c/operations/puppet/ /607370