-
Notifications
You must be signed in to change notification settings - Fork 2k
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 force_pull to docker driver #2147
Conversation
task, _, _ := dockerTask() | ||
task.Config["force_pull"] = "nothing" | ||
|
||
driverCtx, execCtx := testDriverContexts(task) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you rebase, this function has changed
@@ -136,6 +136,7 @@ type DockerDriverConfig struct { | |||
WorkDir string `mapstructure:"work_dir"` // Working directory inside the container | |||
Logging []DockerLoggingOpts `mapstructure:"logging"` // Logging options for syslog server | |||
Volumes []string `mapstructure:"volumes"` // Host-Volumes to mount in, syntax: /path/to/host/directory:/destination/path/in/container | |||
ForcePull bool `mapstructure:"force_pull"` // Always force pull before running image, usefull if your tags are mutable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
misspelled usefull
I rebased, and fixed the changes for the method, but now when I try and run my tests I get the following.
I am trying to see if I can figure out what is going on. |
Ack, sorry for the broken test failure message! I pushed a fix for that here if you care to rebase: 1bb4806 Can you try running the test with |
after rebase and using sudo tests pass
|
Thanks for the PR and testing! I've filed #2178 for myself to hopefully remove the root requirement for docker before the next release. |
* hashicorp/master: (527 commits) Moved functions to helper from structs fix a copy/paste error on api.Regions() comment changelog Ensuring we can register service names with duplicate name but different ports s/acess/access Support setting class_path and class name. Put the right hostname in /etc/hosts Added the API for GC of allocations and nodes Added executorconfig Remove unused code Filter executor log messages Add local hostname resolution to Vagrantfile Changelog Random wait Review fixes Add entry for force_pull hashicorp#2147 changelog using new ctx instead of getting both params back fixing typo in comment add force_pull to docker driver ...
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
closes #639