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

Use assignments instead of tasks #1508

Merged
merged 11 commits into from
Sep 9, 2016
Merged

Commits on Sep 7, 2016

  1. Initial secrets protobuf changes and dispatcher support

    Add a Secret top-level object type. Add a SecretReference that allows a
    service to reference the secrets it needs.
    
    Add dispatcher Assignments method which will replace Tasks going
    forward. This provides a stream with incremental task and secret
    updates. Additional object types can be supported in the assignment set
    in the future. The first message returned from the Assignments stream is
    the complete set of tasks and secrets for the node, and this is used to
    synchronize the node's view with the manager's. Additional messages
    returned by the stream are incremental updates that add, update, or
    remove one or more tasks or secrets. If the agent gets out of sync with
    the manager, it can reinitiate the Assignments stream to sync up.
    
    Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
    diogomonica authored and cyli committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    03f0729 View commit details
    Browse the repository at this point in the history
  2. Remove secrets part of previous commit

    Signed-off-by: cyli <cyli@twistedmatrix.com>
    cyli committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    d7695f3 View commit details
    Browse the repository at this point in the history
  3. Changing the agent to use Assignments instead of Tasks

    Signed-off-by: Diogo Monica <diogo.monica@gmail.com>
    diogomonica authored and cyli committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    ee24218 View commit details
    Browse the repository at this point in the history
  4. Adding fallback from Assignments to tasks

    Signed-off-by: Diogo Monica <diogo.monica@gmail.com>
    diogomonica authored and cyli committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    2a2ffed View commit details
    Browse the repository at this point in the history
  5. Minor cleanup from a cherry-picked commit

    Signed-off-by: cyli <cyli@twistedmatrix.com>
    cyli committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    e997eb2 View commit details
    Browse the repository at this point in the history
  6. Changing protos and addressing comments

    (removed the proto parts - cyli)
    
    Signed-off-by: Diogo Monica <diogo.monica@gmail.com>
    Signed-off-by: cyli <cyli@twistedmatrix.com>
    diogomonica authored and cyli committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    4dc641a View commit details
    Browse the repository at this point in the history
  7. Fixed small bug in Assignments and changed tests from Tasks to Assign…

    …ments
    
    Signed-off-by: Diogo Monica <diogo.monica@gmail.com>
    diogomonica authored and cyli committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    3dd13bf View commit details
    Browse the repository at this point in the history
  8. Cherry-picked a partial commit

    Signed-off-by: cyli <cyli@twistedmatrix.com>
    cyli committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    e92692a View commit details
    Browse the repository at this point in the history
  9. Cherry-picked a partial commit

    Signed-off-by: cyli <cyli@twistedmatrix.com>
    cyli committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    c2d82f6 View commit details
    Browse the repository at this point in the history
  10. Addressing reviewer comments

    Signed-off-by: Diogo Monica <diogo.monica@gmail.com>
    diogomonica committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    1eb3402 View commit details
    Browse the repository at this point in the history
  11. Fixing conflicts

    Signed-off-by: Diogo Monica <diogo.monica@gmail.com>
    diogomonica committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    443a457 View commit details
    Browse the repository at this point in the history