Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can I specify which application.conf to user when deploying on cloudbees
    primarykey
    data
    text
    <p>I followed the instructions here <a href="https://developer.cloudbees.com/bin/view/RUN/Playframework" rel="nofollow">https://developer.cloudbees.com/bin/view/RUN/Playframework</a> and can deploy. But it only uses the application.conf.</p> <p>My app ID is "mrm" so I created a "mrm.conf" in the conf directory.</p> <p>Then I tried "play cloudbees-deploy-config mrm", but after deploying I get this error message:</p> <pre><code>[success] Total time: 110 s, completed Mar 15, 2013 9:08:36 PM [error] Not a valid command: mrm (similar: run) [error] Expected '/' [error] Expected ':' [error] Not a valid key: mrm (similar: run) [error] mrm </code></pre> <p>And the deployment is still using the application.conf</p> <p>Then I ran play, and entered: "cloudbees-deploy-config mrm" I got no error, but this way also deployed with application.conf</p> <p>My "mrm.conf" contains this:</p> <pre><code>include "application.conf" cloudbees.applicationId=mrm </code></pre> <p>I tried following the instructions as described on this pull-request: <a href="https://github.com/CloudBees-community/sbt-cloudbees-play-plugin/pull/1" rel="nofollow">https://github.com/CloudBees-community/sbt-cloudbees-play-plugin/pull/1</a></p> <p>According to the play help it should be possible like this:</p> <pre><code>cloudbees-deploy-config Deploy a configuration of your app to a Run@Cloud app id. Arguments are: (1) the base name of a conf file in your project's conf directory, defaulting to "application"/ (2) Optional. The application id to which this configuration should deploy. You can omit this arg if you have either set cloudbees.applicationId in the config file from the first arg or have set the project ID in your PlayProject. Example usage: `&gt; cloudbees-deploy-config live`, where live.conf exists in the project's conf/ directory and contains a key cloudbees.applicationId. </code></pre> <p>Any tips of what I could be doing wrong? I need it to be using the mrm.conf on the cloudbees deployment... </p> <p>ANSWER: </p> <pre><code>play "cloudbees-deploy-config mrm" </code></pre> <p>UPDATE: just posted a summary of the solution to my Blog: <a href="http://www.poornerd.com/2013/04/08/how-deploy-play-framework-apps-with-different-configurations-to-cloudbees/" rel="nofollow">http://www.poornerd.com/2013/04/08/how-deploy-play-framework-apps-with-different-configurations-to-cloudbees/</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload