Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

action hook updates

  • Loading branch information...
commit 81528fdcf8e356541fc8a5cc2c2e1bc675fa6186 1 parent f31e931
@danmcp danmcp authored
View
1  .gitignore
@@ -0,0 +1 @@
+.project
View
7 .openshift/action_hooks/build
@@ -1,4 +1,5 @@
#!/bin/bash
-# This is a simple build script, place your post-deploy but pre-start commands
-# in this script. This script gets executed directly, so it could be python,
-# php, ruby, etc.
+# This is a simple build script and will be executed on your CI system if
+# available. Otherwise it will execute while your application is stopped
+# before the deploy step. This script gets executed directly, so it
+# could be python, php, ruby, etc.
View
5 .openshift/action_hooks/deploy
@@ -0,0 +1,5 @@
+#!/bin/bash
+# This deploy hook gets executed after dependencies are resolved and the
+# build hook has been run but before the application has been started back
+# up again. This script gets executed directly, so it could be python, php,
+# ruby, etc.
View
4 .openshift/action_hooks/post_deploy
@@ -0,0 +1,4 @@
+#!/bin/bash
+# This is a simple post deploy hook executed after your application
+# is deployed and started. This script gets executed directly, so
+# it could be python, php, ruby, etc.
View
5 .openshift/action_hooks/pre_build
@@ -0,0 +1,5 @@
+#!/bin/bash
+# This is a simple script and will be executed on your CI system if
+# available. Otherwise it will execute while your application is stopped
+# before the build step. This script gets executed directly, so it
+# could be python, php, ruby, etc.
View
2  README.md
@@ -26,5 +26,5 @@ Then push the repo upstream
That's it, you can now checkout your application at:
- http://sinatra-$yourdomain.rhcloud.com
+ http://sinatra-$yournamespace.rhcloud.com
Please sign in to comment.
Something went wrong with that request. Please try again.