At the very least, let's start with plugins and non-debianized libraries.
Will need git-fat support (can we upload our artifacts to archiva without using maven? I think so!)
At the very least, let's start with plugins and non-debianized libraries.
Will need git-fat support (can we upload our artifacts to archiva without using maven? I think so!)
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | • demon | T157414 Deploy gerrit with scap3 | |||
Resolved | thcipriani | T172333 Scap: keyholder Too many authentication failures |
@demon does this need a new repo for scap to clone from?
Also how will this work as doesn't scap only deploy to one location? Since how will the init and systemd scripts be able to be added?
Yes
Also how will this work as doesn't scap only deploy to one location? Since how will the init and systemd scripts be able to be added?
Yes. But I can work around this. The main goal (at first) is just doing the plugins.
Don't worry about it :)
Change 356482 had a related patch set uploaded (by Chad; owner: Chad):
[operations/software/gerrit@master] Configuring git-fat to work with Archiva
Change 356484 had a related patch set uploaded (by Chad; owner: Chad):
[operations/software/gerrit@master] Adding scap3 config
Change 356488 had a related patch set uploaded (by Chad; owner: Chad):
[operations/software/gerrit@master] Add core core plugins @ 2.13.8
@demon Guess you are working on that? (Since patches got uploaded, but you were removed as asignee some time ago)
Change 356482 merged by Chad:
[operations/software/gerrit@master] Configuring git-fat to work with Archiva
Change 356488 merged by Chad:
[operations/software/gerrit@master] Add core core plugins @ 2.13.8
Change 356484 merged by Chad:
[operations/software/gerrit@master] Adding scap3 config
What about having a script on the client that moves the file into place after scapping. Ie like we do with services?
Change 363726 had a related patch set uploaded (by Paladox; owner: Paladox):
[operations/puppet@production] WIP: Gerrit: Add support for scap
Change 363726 had a related patch set uploaded (by Paladox; owner: Paladox):
[operations/puppet@production] Gerrit: Add support for scap
Change 363726 merged by Dzahn:
[operations/puppet@production] Gerrit: Add support for scap
Change 369553 had a related patch set uploaded (by Dzahn; owner: Dzahn):
[operations/puppet@production] gerrit/deployment_server: fix scap for Gerrit
Change 369553 merged by Dzahn:
[operations/puppet@production] gerrit/deployment_server: fix scap for Gerrit
I believe most of this is done now :).
We just need to try a scap deploy to see if it works.
It works! All we need to do is do some puppet cleanup so we symlink to the scap-deployed versions :)
Change 374667 had a related patch set uploaded (by Chad; owner: Chad):
[operations/puppet@production] Gerrit: Start using plugins from scap-deployed version
@demon I guess the final things to this task is to migrate over the plugins?
Could you build the its-phabricator plugin please? Then it will be ready to move over fully to scap :).
Then we should create a puppet patch that does what the deb mostly did? Then archive the repo for the deb (after a month of two of using scap as the permanent deployment for gerrit upgrades / plugins)
We will also need to add the systemd script to puppet. We won’t need to add the init.d one though.
I was gonna merge https://gerrit.wikimedia.org/r/#/c/374667/3 but when i looked at /var/lib/gerrit2/review_site/plugins vs. /srv/deployment/gerrit/gerrit/plugins i saw that "its-phabricator" is only in the old place, while the other plugins are in both places.
So is that still missing and needs to be built like Paladox said above?
@Dzahn @demon has created https://gerrit.wikimedia.org/r/#/c/378192/ which includes its-phabricator :).
Not sure if he built it around https://gerrit-review.googlesource.com/#/c/gerrit/+/92830/ though.
Change 374667 merged by Dzahn:
[operations/puppet@production] Gerrit: Start using plugins from scap-deployed version
We only need https://gerrit.wikimedia.org/r/#/c/378768/ and https://gerrit.wikimedia.org/r/#/c/379136/ merged to close this task as resolved and then archive the gerrit deb repo.
Change 378768 had a related patch set uploaded (by Paladox; owner: Paladox):
[operations/puppet@production] Gerrit: Use systemd::service for systemd
Change 378768 merged by Dzahn:
[operations/puppet@production] Gerrit: Use systemd::service for systemd
I guess we can say this is resolved now :)
And close the task in a few days just to make sure everything works :)
Thanks +1 :)
Though before puppet runs with that change, you will probably want to move it so that I can be a symblink :).
Change 385100 had a related patch set (by Paladox) published:
[operations/puppet@production] Gerrit: Remove gerrit package from apt
Change 385100 merged by Dzahn:
[operations/puppet@production] Gerrit: stop installing deb package, replace with scap requires
This can now be closed as resolved :).
Change was merged. Package removed from puppet but not host.
Ok, ran apt-get purge gerrit on gerrit2001 -- it removed a couple of files so had to run puppet again so everything came back up. From what I can tell -- services are running again.
Can do on cobalt shortly, then we'll be resolved.
Purged from cobalt. Also dropped git repositories for the deb package from Github, gerrit and archived in Phab.
All that's left is an opsen to purge the debian package from our apt mirrors and we're done!!
@MoritzMuehlenhoff kindly dropped it from apt, as well as verified via cumin it's gone everywhere