Permalink
Browse files

Replace instances of trike.com.au with trikeapps.com

  • Loading branch information...
1 parent cca63a1 commit 4822edc6920e0f3fd4a03130353d9aa5de353c7a @wezm wezm committed Apr 16, 2012
View
@@ -1,6 +1,6 @@
[submodule "config/cap-tasks"]
path = config/cap-tasks
- url = git@git.trike.com.au:capistrano.git
+ url = git@git.trikeapps.com:capistrano.git
[submodule "tasks/manual_test_script"]
path = tasks/manual_test_script
url = git://github.com/tricycle/manual_test_script.git
@@ -4,7 +4,7 @@
set :branch, 'staging-disable-cron'
set :environment, 'dev'
-role :app, "polly.trike.com.au", :primary => true
-role :web, "polly.trike.com.au", :primary => true
-role :db, "polly.trike.com.au", :primary => true
+role :app, "polly.trikeapps.com", :primary => true
+role :web, "polly.trikeapps.com", :primary => true
+role :db, "polly.trikeapps.com", :primary => true
@@ -12,8 +12,8 @@
role :app, *hosts
role :web, primary_host, :primary => true
role :web, *hosts
-role :db, "db.aws.trike.com.au", :primary => true, :no_release => true
-role :backups, "backup.trike.com.au", :user => 'backup', :no_release => true
+role :db, "db.aws.trikeapps.com", :primary => true, :no_release => true
+role :backups, "backup.trikeapps.com", :user => 'backup', :no_release => true
before "deploy:update_code", "tests_check:manual_tests_executed?"
@@ -20,7 +20,7 @@
role :app, instance, :primary => true
role :web, instance, :primary => true
-role :db, "db.aws.trike.com.au", :primary => true, :no_release => true
+role :db, "db.aws.trikeapps.com", :primary => true, :no_release => true
after 'multistage:ensure', :check_hostname
after 'deploy:cleanup', :check_hostname
@@ -1,11 +1,11 @@
#!/bin/bash
-/usr/local/sys_scripts/bin/git-clone-update git@git.trike.com.au:sys_scripts.git /usr/local/sys_scripts --branch master
-/usr/local/sys_scripts/bin/git-clone-update git@git.trike.com.au:munin.git /etc/munin --branch master
+/usr/local/sys_scripts/bin/git-clone-update git@git.trikeapps.com:sys_scripts.git /usr/local/sys_scripts --branch master
+/usr/local/sys_scripts/bin/git-clone-update git@git.trikeapps.com:munin.git /etc/munin --branch master
/usr/local/sys_scripts/bin/aws-update_hosts 75.101.144.164 \
- db.aws.trike.com.au \
- sultana.trike.com.au \
- memcache.aws.trike.com.au
+ db.aws.trikeapps.com \
+ sultana.trikeapps.com \
+ memcache.aws.trikeapps.com
export APPLICATION=lesswrong.com
export APPLICATION_USER=www-data
@@ -26,7 +26,7 @@ if [ ! -e "$CURRENT" ]; then
exit 2
fi
-DUMPFILE="$CURRENT/db/dumps/serpent.trike.com.au/production.psql.gz"
+DUMPFILE="$CURRENT/db/dumps/serpent.trikeapps.com/production.psql.gz"
EXPORTDB="$SHARED/files/lesswrong.db"
PIDFILE="$SHARED/pids/paster.pid"
@@ -138,7 +138,7 @@ def login(password):
"""
print 'Logging in as the Admin user'
- url = 'http://shank.trike.com.au/mediawiki/index.php?title=Special:UserLogin&action=submitlogin&type=login'
+ url = 'http://shank.trikeapps.com/mediawiki/index.php?title=Special:UserLogin&action=submitlogin&type=login'
data = urllib.urlencode({'wpLoginattempt': 'Log in', 'wpName': 'Admin', 'wpPassword': password})
feed = urllib2.urlopen(url, data)
buf = feed.read()
@@ -152,7 +152,7 @@ def get_edit_token():
"""Return the edit token that is needed to do an import."""
print 'Getting edit token'
- url = 'http://shank.trike.com.au/mediawiki/index.php?title=Special:Import'
+ url = 'http://shank.trikeapps.com/mediawiki/index.php?title=Special:Import'
feed = urllib2.urlopen(url)
buf = feed.read()
tree = etree.fromstring(buf, parser)
@@ -167,7 +167,7 @@ def do_import(export_filename, token):
"""Send the POST import request with the file to be imported."""
print 'Importing %s' % export_filename
- url = 'http://shank.trike.com.au/mediawiki/index.php?title=Special:Import&action=submit'
+ url = 'http://shank.trikeapps.com/mediawiki/index.php?title=Special:Import&action=submit'
export_file = open(export_filename, 'rb')
data = {'source': 'upload', 'log-comment': 'migrate_wiki.py script', 'xmlimport': export_file, 'editToken': token }
feed = urllib2.urlopen(url, data)

0 comments on commit 4822edc

Please sign in to comment.