Page MenuHomePhabricator

move tendril to gerrit repo and puppetize cloning
Closed, ResolvedPublic

Description

Let's create a new Gerrit project/repo for tendril, similar to dbtree, so operations/software/tendril (request via wiki), then move the files from Github over there and add some puppet code that git clones from the new place, like we did for dbtree.

Event Timeline

Dzahn raised the priority of this task from to Needs Triage.
Dzahn updated the task description. (Show Details)
Dzahn subscribed.
ArielGlenn triaged this task as Medium priority.May 12 2015, 1:44 PM

Repo was done by @QChris: Done --QChrisNonWMF (talk) 23:46, 12 May 2015 (UTC)

Now need to puppetize.

Change 221172 had a related patch set uploaded (by Dzahn):
tendril: git clone from wmf repo via puppet

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

Change 221184 had a related patch set uploaded (by Dzahn):
tendril: sync changes from github repo

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

Change 221184 merged by Dzahn:
tendril: sync changes from github repo

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

Change 221172 merged by Dzahn:
tendril: git clone from wmf repo via puppet

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

merged, but the task should stay open for now. i still would like to delete existing files and let puppet re-create them to test it. did not do that yet because jcrespo needed it right now while working on prod changes

git::clone has "ensure => latest", we should use that

Change 224196 had a related patch set uploaded (by Dzahn):
tendril: let puppet git clone on changes

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

Change 224196 merged by Dzahn:
tendril: let puppet git clone on changes

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

removed the entire directory to get rid of .git remnants etc and let puppet freshly clone it once again.

done. i still had to copy the config.php in place though after doing that. to be perfect that should also be puppetized with the critical values coming from the private puppet repo

currently there is "config.php.template" . see

@neon:/srv/tendril/lib# diff config.php config.php.template

Change 224205 had a related patch set uploaded (by Dzahn):
tendril: add config template

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

Change 224378 had a related patch set uploaded (by Dzahn):
add missing mod_rewrite rules

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

Change 224542 had a related patch set uploaded (by Dzahn):
tendril: add missing rewrite rules

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

Change 224542 merged by Dzahn:
tendril: add missing rewrite rules

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

Change 224378 abandoned by Springle:
add missing mod_rewrite rules

Reason:
Per Ori's comment.

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

Change 224205 merged by Dzahn:
tendril: add config template

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

Change 224547 had a related patch set uploaded (by Dzahn):
tendril: use tendril-backend CNAME as db_host

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

Change 224549 had a related patch set uploaded (by Dzahn):
tendril: fix Apache config Options

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

Change 224549 merged by Dzahn:
tendril: fix Apache config Options

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

done.

  • config.php now generated by puppet
  • .htaccess replaced by lines in main Apache template

should be fully automatic now