Skip to content
New issue

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

Building locally? #244

Closed
hopewise opened this issue Sep 25, 2017 · 3 comments
Closed

Building locally? #244

hopewise opened this issue Sep 25, 2017 · 3 comments

Comments

@hopewise
Copy link

hopewise commented Sep 25, 2017

How would I build locally on my ubuntu?
I have:

 edeliver v1.4.4 | https://github.com/boldpoker/edeliver

When I run:

 mix edeliver build release --branch=master

I get:

-----> Authorizing hosts
-----> Ensuring hosts are ready to accept git pushes
ssh: connect to host localhost port 22: Connection refused

A remote command failed on:

  ubuntu@localhost

Output of the command is shown above and the command executed
on that host is printed below for debugging purposes:

FAILED with exit status 255:

    set -e
    if [ ! -d /home/ubuntu/Documents/projects/elixir/tmp/edeliver/trackware/builds ]
    then
      mkdir -p /home/ubuntu/Documents/projects/elixir/tmp/edeliver/trackware/builds
      cd /home/ubuntu/Documents/projects/elixir/tmp/edeliver/trackware/builds
      git init &> /dev/null
      git config receive.denyCurrentBranch ignore
    else
      cd /home/ubuntu/Documents/projects/elixir/tmp/edeliver/trackware/builds
      git config receive.denyCurrentBranch ignore
    fi

@PanfilovDenis
Copy link

+1

@geonnave
Copy link

Today I had this need, and I solved it by just configuring local build (BUILD_HOST="localhost").

Note that you must have a ssh server set up on your local machine (see http://ubuntuhandbook.org/index.php/2016/04/enable-ssh-ubuntu-16-04-lts/)

Also, do not forget to add your own key to ~/.ssh/authorized_keys, in order to enable passwordless login (see https://stackoverflow.com/a/16651742/2660817)

@lessless
Copy link
Member

lessless commented Feb 3, 2018

Thanks @geonnave

@hopewise you can also try RELEASE_STORE_TYPE" = "local" in .deliver/config

@lessless lessless closed this as completed Feb 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants