Commit Graph

871 Commits

Author SHA1 Message Date
Diptanu Choudhury
584f31ddf6 re-using copyimage 2016-08-17 15:25:03 -07:00
Diptanu Choudhury
a446f416fd Fixed docker tests 2016-08-17 15:25:03 -07:00
Diptanu Choudhury
8ed3613e16 changing error statement 2016-08-17 13:48:31 -07:00
Diptanu Choudhury
8174671c7c Fixed the docker script check 2016-08-17 13:23:48 -07:00
Alex Dadgar
59929b1280 Merge pull request #1598 from nak3/rkt-fix5
driver.rkt: Remove unnecessary job validation
2016-08-16 15:12:45 -07:00
Kenjiro Nakayama
0e092ef326 driver.rkt: Remove unnecessary job validation 2016-08-16 23:33:34 +09:00
ramukima
8d72b8e23e go fmt performed code when copied from another directory got messed up again ? Ok, ran go fmt again 2016-08-16 09:20:13 -04:00
ramukima
e1db7009d8 issue-1588 : Allow extra driver config args as a passthrough for qemu executable from a task specification 2016-08-15 23:36:13 -04:00
Alex Dadgar
e2b7b86883 Merge pull request #1581 from nak3/fix-rkt2
Set host environment variables to taskEnv of rkt driver
2016-08-15 10:31:10 -07:00
Alex Dadgar
498f41ccbc Merge pull request #1586 from nak3/rkt-fix3
tiny: Catch error returned from SyncServices in rkt driver
2016-08-15 10:29:28 -07:00
Kenjiro Nakayama
4e6d0b685e rkt.driver: Fix wrong MB calculation 2016-08-14 14:27:42 +09:00
Kenjiro Nakayama
6b28024bef tiny: Catch error returned from SyncServices in rkt driver 2016-08-14 13:11:17 +09:00
Kenjiro Nakayama
869b23ef4a Set host environment variables to taskEnv of rkt driver 2016-08-14 00:42:53 +09:00
Diptanu Choudhury
4f79c017b5 Merge pull request #1572 from hashicorp/fix-docker-test
Fixed docker tests
2016-08-12 13:04:33 -07:00
Diptanu Choudhury
f0bab506f1 Updated the busybox images 2016-08-12 11:39:58 -07:00
Diptanu Choudhury
938d512f49 Not running tests parallal 2016-08-11 21:53:27 -07:00
Alex Dadgar
3d7876f229 Update test.sh 2016-08-11 21:35:50 -07:00
Diptanu Choudhury
e6aabd1af6 Fixed docker tests 2016-08-11 19:28:41 -07:00
Alex Dadgar
ddfae93941 Wrap file rotator tests in wait for 2016-08-11 19:23:03 -07:00
Diptanu Choudhury
a4fa10cd10 Merge pull request #1413 from hashicorp/b-tests
Fix flaky tests
2016-08-11 18:15:29 -07:00
Diptanu Choudhury
6811e084f4 Merge pull request #1518 from pubnub/feature/chroot-map-rebase
Add config field to specify chroot mapping for exec driver
2016-08-10 17:00:03 -07:00
Kenjiro Nakayama
fec9204dcc Update debug option from string to bool 2016-08-09 16:51:00 +09:00
Kenjiro Nakayama
c942f1d0be Add debug option to rkt task config 2016-08-09 09:01:05 +09:00
Jay Oster
bd0363b6a6 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
2016-08-08 14:04:09 -07:00
Diptanu Choudhury
f948c3732a Merge pull request #1477 from nak3/add-syslog_server-test
Add Syslog server start shutdown test
2016-08-05 12:01:24 -07:00
Alex Dadgar
9da215ed22 changelog + use driver config 2016-08-05 10:55:20 -07:00
Alex Dadgar
3c33c54957 Merge pull request #1493 from nak3/rkt-fix1
Pass command and trust_prefix to the validation of rkt task configuration
2016-08-05 10:52:02 -07:00
Alex Dadgar
a8cf9241f7 changelog 2016-08-05 10:47:44 -07:00
Kenjiro Nakayama
be177a0a3e Add Syslog server start shutdown test 2016-08-06 02:01:33 +09:00
Michal Wieczorek
d5ae1cb93e Set windows containers default network mode to 'nat' 2016-08-05 06:01:26 +02:00
Jay Oster
593669ada2 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
2016-08-04 15:33:06 -07:00
Diptanu Choudhury
0b02b7ad5d Merge pull request #1475 from mwieczorek/windows-hostIp-portBindings
Empty host ip for windows containers port bindings
2016-08-04 13:30:43 -07:00
Alex Dadgar
ed08b5f5b8 Merge pull request #1519 from vrenjith/master
Remove docker volumes while removing container
2016-08-04 12:54:00 -07:00
Jay Oster
09f2fc9f8f Add chroot_env to Java driver (which uses the exec driver internally) 2016-08-04 11:15:35 -07:00
Kenjiro Nakayama
c2a38d6773 Add TestRktTaskValidate 2016-08-04 23:15:13 +09:00
Kenjiro Nakayama
6b72f2cbc1 Add TestRktTrustPrefix 2016-08-04 17:26:10 +09:00
Kenjiro Nakayama
4b68106f54 Pass command and trust_prefix to the validation of rkt task configuration 2016-08-04 17:24:56 +09:00
vrenjith
52c6201f4a Update docker.go
Remove container volumes
2016-08-04 11:43:50 +05:30
vrenjith
b686be0c9b Update checks_test.go
Remove docker volumes while exiting container
2016-08-04 11:42:47 +05:30
Jay Oster
1876fc2b10 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"
  }
}
2016-08-03 17:17:17 -07:00
Mathias Lafeldt
27d787e76c Test configuration of Docker working directory 2016-08-03 16:35:49 +02:00
Mathias Lafeldt
1ad79f8a19 Docker driver: allow to configure working directory 2016-08-03 16:18:15 +02:00
Alex Dadgar
2d66cf0a7c use priviledge of the config 2016-08-02 16:10:15 -07:00
Alex Dadgar
c2a43d5540 remove gating of ipc, user ns and pidmode based on hosts priviledge mode config 2016-08-02 16:02:34 -07:00
Alex Dadgar
402d69b63b disable swap 2016-07-28 12:17:00 -07:00
Michal Wieczorek
599d6f9153 Empty host ip for windows containers port bindings 2016-07-28 00:00:57 +02:00
Diptanu Choudhury
51149e4381 Merge pull request #1321 from mwieczorek/f-windows-binds
Volume binds for windows containers
2016-07-18 10:20:44 -06:00
Alex Dadgar
963ab06bff tests wait for the container to start 2016-07-12 11:36:06 -06:00
Alex Dadgar
662aa531ce Docker host network test 2016-07-12 10:59:34 -06:00
Diptanu Choudhury
cab0d3eea7 Introduced an env var for rkt tests 2016-07-11 15:48:16 -06:00