We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've got production working great, pulling from my master branch and placed under projects on the server like so: /home/deployer/projects/appname_web
I would also like to have staging under projects as well: /home/deployer/projects/appname_web_staging
Unfortunately I'm getting a error on the "create release" task (see below).
I've changed the following in the staging branch files:
/config/prod.exs url: [host: "staging.appname.com", port: 80]
app_name: appname_web_staging repo_url: "[email protected]:company/appname.git" git_ref: staging app_port: 3002 domains: ["staging.appname.com"] enable_mail_alerts: False
Here is the top part of the error I'm getting when deploying:
TASK [HashNuke.elixir-stack : create release] ********************************** task path: /usr/local/etc/ansible/roles/HashNuke.elixir-stack/tasks/release.yml:13
fatal: [IPADDRESS]: FAILED! => {"changed": true, "cmd": ["bash", "-lc", "SERVER=1 mix release"], "delta": "0:01:05.441843", "end": "2016-02-13 17:33:05.265316", "failed": true, "invocation": {"module_args": {"_raw_params": "bash -lc 'SERVER=1 mix release'", "_uses_shell": false, "chdir": "/home/deployer/projects/appname_web_staging", "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 1, "start": "2016-02-13 17:31:59.823473", "stderr": "lib/conform/schema.ex:17: warning: redefining @doc attribute previously set at line 10\nlib/conform/translate.ex:16: warning: redefining @doc attribute previously set at line 9", "stdout": "==> connection\nCompiled lib/connection.ex\nGenerated connection app\n==> poolboy (compile)\n==> decimal\nCompiled lib/decimal.ex\nGenerated decimal app\nWARN: Missing plugins: [rebar3_hex]\n==> neotoma (compile)\n==> rebar3_hex (compile)\n==> poison\nCompiled lib/poison.ex\n
The text was updated successfully, but these errors were encountered:
@dmin7b5 Hello Jeff, it looks like an error with conform config. Nevertheless, I'll look into it today while refactoring some of the code too.
Sorry, something went wrong.
“app_name” should be as otp app i.e “app_name: appname_web_staging" should work for “AppnameWebStaging”. please look into https://github.com/HashNuke/ansible-elixir-stack/blob/master/docs/configuration.md
You can change the otp app name which i would not recommend or spin another droplet for staging.
No branches or pull requests
I've got production working great, pulling from my master branch and placed under projects on the server like so:
/home/deployer/projects/appname_web
I would also like to have staging under projects as well:
/home/deployer/projects/appname_web_staging
Unfortunately I'm getting a error on the "create release" task (see below).
I've changed the following in the staging branch files:
/config/prod.exs
url: [host: "staging.appname.com", port: 80]
playbooks/vars/main.yml
app_name: appname_web_staging
repo_url: "[email protected]:company/appname.git"
git_ref: staging
app_port: 3002
domains: ["staging.appname.com"]
enable_mail_alerts: False
Here is the top part of the error I'm getting when deploying:
TASK [HashNuke.elixir-stack : create release] **********************************
task path: /usr/local/etc/ansible/roles/HashNuke.elixir-stack/tasks/release.yml:13
fatal: [IPADDRESS]: FAILED! => {"changed": true, "cmd": ["bash", "-lc", "SERVER=1 mix release"], "delta": "0:01:05.441843", "end": "2016-02-13 17:33:05.265316", "failed": true, "invocation": {"module_args": {"_raw_params": "bash -lc 'SERVER=1 mix release'", "_uses_shell": false, "chdir": "/home/deployer/projects/appname_web_staging", "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 1, "start": "2016-02-13 17:31:59.823473", "stderr": "lib/conform/schema.ex:17: warning: redefining @doc attribute previously set at line 10\nlib/conform/translate.ex:16: warning: redefining @doc attribute previously set at line 9", "stdout": "==> connection\nCompiled lib/connection.ex\nGenerated connection app\n==> poolboy (compile)\n==> decimal\nCompiled lib/decimal.ex\nGenerated decimal app\nWARN: Missing plugins: [rebar3_hex]\n==> neotoma (compile)\n==> rebar3_hex (compile)\n==> poison\nCompiled lib/poison.ex\n
The text was updated successfully, but these errors were encountered: