Permalink
Commits on Oct 28, 2013
  1. Bug 1021042

    Fix default app README to point to the correct action hooks
    documentation URL.
    BanzaiMan committed Oct 28, 2013
Commits on Oct 21, 2013
  1. Bug 1021355

    Check for git objects with `git rev-parse` rather than for references with
    `git show-ref`.
    BanzaiMan committed Oct 21, 2013
Commits on Oct 18, 2013
  1. Bail out on upgrade in a more shell-friendly way

    Manipulating env var might be problematic
    BanzaiMan committed Oct 17, 2013
Commits on Oct 17, 2013
Commits on Oct 16, 2013
  1. Use oo-erb instead of erb

    BanzaiMan committed Oct 16, 2013
Commits on Oct 15, 2013
  1. Process postgresql.conf on each cartridge startup

    Basically mimicing what MySQL cartridge does.
    Difference in ERB template location is taken into account.
    BanzaiMan committed Oct 15, 2013
Commits on Oct 14, 2013
  1. Tune postgres memory usage based on available mem

    On standalone gears, use maximum available memory to set parameters.
    BanzaiMan committed Oct 10, 2013
Commits on Oct 2, 2013
  1. Allow numeric-only Rails app names

    In Bug 970150, we introduced the check to enforce an arbitrary
    restriction that the Rails application names cannot start with a
    numeral.
    
    While it is true that `rails new` fails if the application name starts
    with a numeral, this restriction should not prevent OpenShift from
    hosting such an application.
    
    Our quickstart now has a workaround:
    openshift-quickstart/rails-example#29
    
    The issue should be addressed in `mysql2` gem as well.
    BanzaiMan committed Oct 2, 2013
Commits on Sep 30, 2013
  1. Bug 1013429

    Fix displayed text when the Jenkins server is deleted while applications
    with Jenkins jobs remain.
    
    Before:
    ```
    Deleting application 'jenkins' ... deleted
    
    Removed corresponding client: jenkins-client-1Removed corresponding client: jenkins-client-1
    ```
    
    After:
    ```
    Deleting application 'jenkins' ... deleted
    
    Removed jenkins-client-1 from rack2
    Removed jenkins-client-1 from rack
    ```
    BanzaiMan committed Sep 30, 2013
Commits on Sep 25, 2013
  1. Add Node.js 0.10 tests to runtime-cartridge-nodejs.feature

    Also drop 'v2' designation from Cucumber tags.
    BanzaiMan committed Sep 18, 2013
Commits on Sep 10, 2013
  1. Update doc on Ruby cartridge

    Commit bca69b1 added threaddump support for Ruby apps.
    BanzaiMan committed Sep 10, 2013
Commits on Sep 4, 2013
  1. Bump up PostgreSQL memory parameters

    Bug 1003445
    Values are discussed in
    https://bugzilla.redhat.com/show_bug.cgi?id=1003445#c1
    
    Larger gears should allow even larger values, but further discussions
    are necessary.
    
    Values are lower on embedded cartridges.
    BanzaiMan committed Sep 4, 2013
Commits on Aug 26, 2013
  1. Bug 100616

    Use correct parameter for chown in Node.js install script
    BanzaiMan committed Aug 26, 2013
  2. Bug 1000614

    Prefer `*_DNS` to `*_UUID`.
    BanzaiMan committed Aug 26, 2013
Commits on Aug 13, 2013
  1. Follow up fix for Bug 970150

    It turns out that 6400c02 wasn't really working.
    The inner `if` clause, `$?` is `0` no matter what the result from
    the app name check, so that any app name would fail for Rails.
    
    This fixes that.
    BanzaiMan committed Aug 13, 2013
  2. Fix typo

    BanzaiMan committed Aug 13, 2013
Commits on Aug 12, 2013
  1. Bug 994922

    Warn user of supervisor control when we detect 'hot_deploy' marker.
    
    When the hot_deploy marker is present, stop nor start is invoked, so
    we need to check the presence of the marker in a different way.
    
    Notice that the first time we push 'hot_deploy' marker, the stop cycle
    will not warn that it detected the marker (because it doesn't exist on
    the gear).
    BanzaiMan committed Aug 12, 2013
  2. Bug 970150

    Fail early during the build cycle if a Rails app name starts with a
    numeral.
    
    We should fail before we run `bundle install`, since it is completely
    unnecessary if Rails can't run.
    
    If the application is created with `--from-code`, the initial build will
    fail, with error message like this:
    
    ```
    Creating application '12345' ...
    The initial build for the application failed: Shell command
    '/sbin/runuser -s /bin/sh 80e4c0ea037a11e3962922000ab2046b -c "exec
    /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c0,c502' /bin/sh
    -c \"gear
    postreceive >> /tmp/initial-build.log 2>&1\""' returned an error. rc=255
    
    .Last 10 kB of build output:
    Stopping Ruby cart
    httpd (no pid file) not running
    Invalid Rails application name. Please delete this applicatin and
    re-create it with a name which does not start with numbers
    An error occurred executing 'gear postreceive' (exit code: 1)
    Error message: Failed to execute: 'control pre-build' for
    /var/lib/openshift/80e4c0ea037a11e3962922000ab2046b/ruby
    
    For more details about the problem, try running the command again with
    the '--trace' option.
    ```
    
    If the application is created from a template Rack app, and updated via
    `git pull -s recursive -X theirs`, the build will fail on the first
    push:
    
    ```
    remote: Stopping Ruby cart
    remote: Waiting for stop to finish
    remote: CLIENT_ERROR: Invalid Rails application name. Please delete this applicatin and re-create it with a name which does not start with
    numbers
    remote: An error occurred executing 'gear postreceive' (exit code: 1)
    remote: Error message: Failed to execute: 'control pre-build' for /var/lib/openshift/520924b77b2a19115a000001/ruby
    remote:
    remote: For more details about the problem, try running the command again with the '--trace' option.
    To ssh://520924b77b2a19115a000001@12345-fooooooooooo.dev.rhcloud.com/~/git/12345.git/
       9b5a31d..398f08a  master -> master
    ```
    BanzaiMan committed Aug 8, 2013
Commits on Aug 7, 2013
  1. Bug 994424

    Add template files for cron
    BanzaiMan committed Aug 7, 2013
Commits on Aug 5, 2013
  1. Install PostGIS 2.x

    BanzaiMan committed Aug 5, 2013
Commits on Jul 31, 2013
  1. Bug 989467

    This commit does *not* fix the problem described in the Bugzilla.
    Rather, when git clone fails when using SSH, suggest using a different
    URL scheme so that the authentication is less of a problem.
    
    Here, the SSH URL detection is purely formal.
    The passed URL is deemed SSH if one of the following condition is true:
      1. it starts with 'ssh:'
      2. it contains '@' and not '//' (consider http://user:pass@example.com/foo.git)
    BanzaiMan committed Jul 31, 2013
Commits on Jul 30, 2013
  1. Bug 989863

    Display MySQL admin name and password for phpMyAdmin
    BanzaiMan committed Jul 30, 2013
Commits on Jul 18, 2013
  1. Minor tweak in wording

    BanzaiMan committed Jul 18, 2013
  2. Add sections for readability

    BanzaiMan committed Jul 18, 2013
  3. A typo

    BanzaiMan committed Jul 18, 2013