moved HERE:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| cd /tmp | |
| curl http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/repodata/primary.sqlite.bz2 | bzip2 -dc > primary.sqlite | |
| sqlite3 ./primary.sqlite "select url,location_href from packages where name like '%release%' order by name;" | |
| ## to do Take product of the third operation and replace "|" (pipe) with "/stable/Redhat/6/x86_64/" and pipe the result to: | |
| # rpm -ivh $1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <VirtualHost *:80> | |
| DocumentRoot /disk2/www/mktg-dev.apigee.com | |
| ServerName mktg-dev.apigee.com | |
| CustomLog "/var/log/httpd/mktg.log" combined | |
| ErrorLog "/var/log/httpd/mktg.log" | |
| </VirtualHost> | |
| <VirtualHost *:443> | |
| DocumentRoot /disk2/www/mktg-dev.apigee.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $url = parse_url($_SERVER["SCRIPT_URI"]); | |
| $apath = explode("/", $url['path']); | |
| if ( ( | |
| $_SERVER['HTTP_HOST'] == "mktg-dev.apigee.com" || | |
| $_SERVER['HTTP_HOST'] == "mktg-stg.apigee.com" || | |
| $_SERVER['HTTP_HOST'] == "apigee.com" | |
| ) && ( | |
| $apath[1] != "about" | |
| )){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ssh -A -t jumpeast.apigee.net ssh $1 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if (defined('PANTHEON_ENVIRONMENT')) { | |
| // Use Redis for caching. | |
| $conf['redis_client_interface'] = 'PhpRedis'; | |
| $conf['cache_backends'][] = 'profiles/apigee/modules/contrib/redis/redis.autoload.inc'; | |
| $conf['cache_default_class'] = 'Redis_Cache'; | |
| $conf['cache_prefix'] = array('default' => 'pantheon-redis'); | |
| // Do not use Redis for cache_form (no performance difference). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| require_once (dirname(__FILE__)."/modules/custom/devconnect/lib/Apigee/Exceptions/InstallException.php"); | |
| require_once (dirname(__FILE__)."/modules/custom/devconnect/lib/Apigee/Util/Crypto.php"); | |
| function apigee_install_select_profile(&$install_state) { | |
| $install_state['parameters']['profile'] = 'apigee'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Started by user [8mha:AAAAoh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAzuEgZx/dLi1CL94pL8ssRsh8SCzPTUVKDWXADKxjfDzAAAAA==[0mTom Stovall | |
| Building in workspace /disk2/jenkins/jobs/9999 - migrate instance to pantheon/workspace | |
| looking for '/disk2/jenkins/jobs/9999 - migrate instance to pantheon/workspace/apigee_build.xml' ... | |
| use '/disk2/jenkins/jobs/9999 - migrate instance to pantheon/workspace' as a working directory. | |
| [workspace] $ phing -buildfile "/disk2/jenkins/jobs/9999 - migrate instance to pantheon/workspace/apigee_build.xml" [email protected] -Denvironment=prod [email protected] -Dorgname=target ******** migrate-to-pantheon -logger phing.listener.DefaultLogger | |
| Buildfile: /disk2/jenkins/jobs/9999 - migrate instance to pantheon/workspace/apigee_build.xml | |
| [property] Loading /disk2/jenkins/.s3cfg | |
| [8mha:AAAAZB+LCAAAAAAAAP9b85aBtbiIQSejNKU4P0+vIKc0PTOv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if [[ $PLATFORM_NAME == "Redhat" ]]; then | |
| display_header " | |
| In order to a redhat install, we must download RPMs directly from RedHat. In order to do that, we must first register this system with redhat. | |
| This requires a subscription to the RedHat network. | |
| " | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <exec command="ln -s default prod-${orgname}" logoutput="true" dir="CODEDIR/sites" /> | |
| <exec command="ln -s ../all/{modules,themes} ." logoutput="true" dir="CODEDIR/sites/default" /> | |
| add to git repo, checkin and push. |