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

Deploy to multiple remotes, but not merge from? #1415

Closed
kevinquillen opened this issue Apr 20, 2017 · 1 comment
Closed

Deploy to multiple remotes, but not merge from? #1415

kevinquillen opened this issue Apr 20, 2017 · 1 comment
Labels
Enhancement A feature or feature request

Comments

@kevinquillen
Copy link

My system information:

  • Operating system type: macOS
  • Operating system version: 10.12.1
  • BLT version: 8.6.15

Just a followup of a previous question.

git:
  default_branch: develop
  remotes:
    - user@remote1:/path/to/.git
    - user@remote2:/path/to/.git

On the second remote, I went in and did a git init to create an empty repo.

Now that I have listed the second remote, blt will deploy a develop-build branch to both targets. However, it is also trying to merge from both remotes at the start of the deployment procedure. Here is the output:

blt > deploy:remote:add:
     [echo] Fetching from git remote user@remote1:/path/to/.git
blt > deploy:remote:pull:
remote: Counting objects: 37647, done.
remote: Compressing objects: 100% (26317/26317), done.
remote: Total 37647 (delta 11146), reused 35219 (delta 8734)
Receiving objects: 100% (37647/37647), 33.25 MiB | 31.30 MiB/s, done.
Resolving deltas: 100% (11146/11146), done.
From user@remote1:/path/to/.git
 * branch              develop-build -> FETCH_HEAD
 * [new branch]        develop-build -> 7389ba2d40309ee4e38831ab8b02e886/develop-build
Switched to a new branch 'develop-build'
blt > deploy:remote:add:
     [echo] Fetching from git remote user@remote2:/path/to/.git
blt > deploy:remote:pull:
user@remote2 password: 
fatal: Couldn't find remote ref develop-build
fatal: The remote end hung up unexpectedly
fatal: A branch named 'develop-build' already exists.
merge: 3ef323a363f7b15e7f6ba1b78888a87a/develop-build - not something we can merge

Is this okay? If not, is there a recommended way to deploy to more than 1 target?

@grasmash grasmash added the Enhancement A feature or feature request label Apr 20, 2017
@grasmash
Copy link
Contributor

grasmash commented May 2, 2017

This will be addressed in #1457

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement A feature or feature request
Projects
None yet
Development

No branches or pull requests

2 participants