Created
August 21, 2014 22:59
-
-
Save totten/1e288f8ea4f5c9a94f67 to your computer and use it in GitHub Desktop.
Pseudocode for demo rebuilds
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
| foreach $demosite | |
| mark $demosite offline | |
| civibuild destroy $demosite | |
| civibuild create $demosite | |
| mark $demosite online |
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
| foreach $demosite | |
| civibuild create {$demosite}.tmp | |
| if success | |
| mark $demosite offline | |
| civibuild destory {$demosite} | |
| move $demosite.tmp to $demosite | |
| mark $demosite online |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment