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

Move chroot building into TaskRunner #2132

Merged
merged 13 commits into from
Jan 6, 2017
Merged

Move chroot building into TaskRunner #2132

merged 13 commits into from
Jan 6, 2017

Commits on Jan 6, 2017

  1. Move chroot building into TaskRunner

    * Refactor AllocDir to have a TaskDir struct per task.
    * Drivers expose filesystem isolation preference
    * Fix lxc mounting of `secrets/`
    schmichael committed Jan 6, 2017
    Configuration menu
    Copy the full SHA
    de7351b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e7f6986 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d87dcce View commit details
    Browse the repository at this point in the history
  4. Fix upgrade path for #2132

    AllocRunner's state dropped the Context struct which needs to be
    converted to the new AllocDir+TaskDir structs in RestoreState.
    
    TaskRunner added a TaskDirBuilt flag, but it's safe to just let that
    default to `false` and rebuild all task dirs once on upgrade.
    schmichael committed Jan 6, 2017
    Configuration menu
    Copy the full SHA
    3011df1 View commit details
    Browse the repository at this point in the history
  5. Add comments to TaskDir

    schmichael committed Jan 6, 2017
    Configuration menu
    Copy the full SHA
    957adf2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e25274b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    86db194 View commit details
    Browse the repository at this point in the history
  8. Remove debug logging

    schmichael committed Jan 6, 2017
    Configuration menu
    Copy the full SHA
    12915c3 View commit details
    Browse the repository at this point in the history
  9. Fix tests post rebase

    schmichael committed Jan 6, 2017
    Configuration menu
    Copy the full SHA
    6235122 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    59c501f View commit details
    Browse the repository at this point in the history
  11. Add COMPAT comment

    schmichael committed Jan 6, 2017
    Configuration menu
    Copy the full SHA
    9bfa8dc View commit details
    Browse the repository at this point in the history
  12. Fix executor tests

    schmichael committed Jan 6, 2017
    Configuration menu
    Copy the full SHA
    ed8b3cd View commit details
    Browse the repository at this point in the history
  13. Fix inconsistent task env setting

    Consolidate task environment building in GetTaskEnv since it can
    determine what kind of filesystem isolation is used.
    
    This means drivers no longer have to manipulate task environment paths.
    schmichael committed Jan 6, 2017
    Configuration menu
    Copy the full SHA
    a087a8b View commit details
    Browse the repository at this point in the history