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

Add config field to specify chroot mapping for exec driver #1518

Merged
merged 6 commits into from
Aug 11, 2016

Commits on Aug 4, 2016

  1. Add config field to specify chroot mapping for exec driver

    - Same format as used by the internal chroot mapping
    - Map: source_path -> dest_path
    - Example HCL:
    
    client {
      chroot_env {
        "/etc" = "/etc"
        "/lib" = "/lib"
        "/opt/projects/foo/bin" = "/usr/bin"
      }
    }
    Jay Oster committed Aug 4, 2016
    Configuration menu
    Copy the full SHA
    1876fc2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09f2fc9 View commit details
    Browse the repository at this point in the history
  3. Address review comments

    - Simplify map length check in Linux Executor
    - Added a `chroot_env` test for config parser
    - Moved `ChrootEnv` field from ExecutorCommand to ExecutorContext
    - Added a test for `chroot_env` functionality
    Jay Oster committed Aug 4, 2016
    Configuration menu
    Copy the full SHA
    593669a View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2016

  1. Configuration menu
    Copy the full SHA
    6201588 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2016

  1. Fix Linux executor isolation test

    - Properly expects the hard-coded mounts (alloc, dev, and proc) and hardcoded local directories (local and tmp)
    - Also verifies that etc contains only the requested paths
    Jay Oster committed Aug 8, 2016
    Configuration menu
    Copy the full SHA
    bd0363b View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2016

  1. Fix ConfigMerge test with chroot config

    Jay Oster committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    95c1d76 View commit details
    Browse the repository at this point in the history