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

[WIP] Resumable job execution prototype #553

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

Conversation

igorwwwwwwwwwwwwwwwwwwww
Copy link
Contributor

@igorwwwwwwwwwwwwwwwwwwww igorwwwwwwwwwwwwwwwwwwww commented Nov 14, 2018

This is still early stages. Lots of TODOs still left. And log writing is not fully working yet.
But we're able to upload the agent to the job VM and connect to it when the stars align!
Worked on this with @bogdanap at the Old Amsterdam office.
refs https://github.com/travis-ci/reliability/issues/196

This branch is meant to explore the possibility of having resumable job execution by having worker talk to https://github.com/travis-ci/worker-agent, which should handle job runs and logs streaming.

The first part of this work - having the agent run a job and successfully stream the logs even after disconnection - was successful.

Currently in progress is persisting job execution state on the worker side.

@bogdanap bogdanap changed the title wip: install agent into job vm [WIP] Resumable job execution prototype Dec 3, 2018
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found some fixes!

P.S. share your ideas, feedbacks or issues with us at https://github.com/fixmie/feedback (this message will be removed after the beta stage).

@@ -77,6 +77,10 @@ func (r *Remoter) Close() error {
return nil
}

func (r *Remoter) Chmod(path string, mode os.FileMode) error {

This comment was marked as spam.

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.

3 participants