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:check_remote task can't succeed #1990

Closed
jonom opened this issue Jan 28, 2020 · 0 comments
Closed

Deploy:check_remote task can't succeed #1990

jonom opened this issue Jan 28, 2020 · 0 comments

Comments

@jonom
Copy link
Contributor

jonom commented Jan 28, 2020

  1. The check_remote task checks for the existence of a .dep/HEAD file and throws an exception if not found, halting the deployment. That file doesn't get created/updated unless this check succeeds, so if you want to use this task you have to manually initialise that file currently.
  2. Fetching the remote head is done from the target server, which will fail if you're using agent forwarding for auth (as noted previously here).

Fix incoming.

jonom added a commit to jonom/deployer that referenced this issue Jan 28, 2020
* Check remote head contents locally
* Ensure .dep/HEAD file is available so error isn’t thrown
* Document task usage

Fixes deployphp#1990
jonom added a commit to jonom/deployer that referenced this issue Jan 28, 2020
* Check remote head contents locally
* Ensure .dep/HEAD file is available so error isn’t thrown
* Document task usage

Fixes deployphp#1990
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

1 participant