Page MenuHomePhabricator

Make deployment test server on one of WDQS test services
Closed, ResolvedPublic

Description

We want to make one of WDQS test services auto-deploy WDQS from wdq-deploy master, periodically. The procedure should be something like:

  1. Download wdq-deploy master (with git-fat, etc.)
  2. Deploy the binaries in usual place e.g. /srv/deploy/wdqs/wdqs
  3. Stop updater
  4. Restart blazegraph
  5. Wait 10 secs
  6. Restart updater

This should be run from cron, but there should be a possibility to run this manually too (so probably makes sense to make a single script doing this, maybe in puppet).

For now, I would do it twice a day, probably, we can put it to more frequent deploy if we need later.

We probably also need some hostname (beta.query.wikidata.org?) to link to this server so we could access it externally.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Vvjjkkii renamed this task from Make deployment test server on one of WDQS test services to w1aaaaaaaa.Jul 1 2018, 1:04 AM
Vvjjkkii raised the priority of this task from Medium to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from w1aaaaaaaa to Make deployment test server on one of WDQS test services.Jul 2 2018, 12:18 PM
CommunityTechBot lowered the priority of this task from High to Medium.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.

Change 464151 had a related patch set uploaded (by Mathew.onipe; owner: Mathew.onipe):
[operations/puppet@production] wdqs: auto deployment of wdqs on wdqs1010

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

Change 464151 merged by Gehel:
[operations/puppet@production] wdqs: auto deployment of wdqs on wdqs1009

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

Change 464659 had a related patch set uploaded (by Mathew.onipe; owner: Mathew.onipe):
[operations/puppet@production] wdqs: auto deployment of wdqs on wdqs1009

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

Change 464659 merged by Gehel:
[operations/puppet@production] wdqs: auto deployment of wdqs on wdqs1009

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

Change 465591 had a related patch set uploaded (by Gehel; owner: Gehel):
[operations/puppet@production] wdqs: fix path in autodeploy exec resources

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

Change 465591 merged by Gehel:
[operations/puppet@production] wdqs: fix path in autodeploy exec resources

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

Change 465594 had a related patch set uploaded (by Gehel; owner: Gehel):
[operations/puppet@production] wdqs: missing dependency for ordering of git::clone

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

Change 465594 merged by Gehel:
[operations/puppet@production] wdqs: missing dependency for ordering of git::clone

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

Change 465599 had a related patch set uploaded (by Gehel; owner: Gehel):
[operations/puppet@production] wdqs: pull files from git-fat after initial checkout

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

Change 465599 merged by Gehel:
[operations/puppet@production] wdqs: pull files from git-fat after initial checkout

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

Change 465603 had a related patch set uploaded (by Gehel; owner: Gehel):
[operations/puppet@production] wdqs: run git-fat commands from the package directory

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

Change 465603 merged by Gehel:
[operations/puppet@production] wdqs: run git-fat commands from the package directory

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

Change 465605 had a related patch set uploaded (by Mathew.onipe; owner: Mathew.onipe):
[operations/puppet@production] wdqs: onlyif condition should exit with 1 for git fat to run

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

Change 465605 merged by Gehel:
[operations/puppet@production] wdqs: onlyif condition should exit with 1 for git fat to run

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

Change 465609 had a related patch set uploaded (by Gehel; owner: Gehel):
[operations/puppet@production] wdqs: correct condition for initializing git fat

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

Change 465609 merged by Gehel:
[operations/puppet@production] wdqs: correct condition for initializing git fat

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