Project

General

Profile

Bug #34833

Extend the accepted job update format to make pull provider's update batching possible

Added by Adam Ruzicka about 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Smart Proxy - SSH
Difficulty:
Triaged:
No
Bugzilla link:

Associated revisions

Revision 95e9a57f (diff)
Added by Adam Ruzicka about 1 month ago

Fixes #34833 - Extend the accepted job update format

A '1' version update is

{ "version": "1", "updates": [OutputUpdate | ExitUpdate] }

An OutputUpdate is: { "type": "output",
"timestamp": "$TIMESTAMP",
"stream": "$STREAM",
"content": "$CONTENT" }

where
$TIMESTAMP is ISO8601 timestamp of when the output was emitted
$STREAM provides supplemental information about from where the output was
emitted, usually this would be either "stdout" or "stderr"
$CONTENT is the emitted output itself

An ExitUpdate is: { "type": "exit", "exit_code": $EXIT_CODE }

where
$EXIT_CODE is the exit code of the script being run. Once a '1' version
update containing an ExitUpdate is processed, the job is marked as done.

History

#1 Updated by The Foreman Bot about 2 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart_proxy_remote_execution_ssh/pull/81 added

#2 Updated by The Foreman Bot about 1 month ago

  • Fixed in Releases smart_proxy_remote_execution_ssh-0.6.1 added

#3 Updated by Anonymous about 1 month ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Adam Ruzicka about 1 month ago

  • Fixed in Releases smart_proxy_remote_execution_ssh-0.7.0 added
  • Fixed in Releases deleted (smart_proxy_remote_execution_ssh-0.6.1)

Also available in: Atom PDF