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

Delegate manifest deploy to remote builder #3862

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

rugwirobaker
Copy link
Contributor

This PR builds on top of #3769. We generate a manifest locally then launch a machine
with the deployer image(currently docker.io/codebaker/fly-deployer:5cb86e4), once it's ready we use Execute a remote command
to pass the manifest to a go daemon in the machine to pass it the base64 encoded manifest that it decodes before running
fly deploy --from-manifest.

I'm still trying to solve 2 issues here:

  • The token I was using to deploy(set in the machine's secrets) recently stopped working for me.
  • I'm taking advantage of machine restarts on non 0 exit codes to retry the deploy on next boot but I need to persist
    the operation I described in the paragraph above to automatically run fly deploy --from-manifest on next boot.

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

Successfully merging this pull request may close these issues.

1 participant