Commit graph

586 commits

Author SHA1 Message Date
Christoph Hartmann
c187230336 implement port resource for linux 2015-09-23 18:12:51 +02:00
Christoph Hartmann
f505148abe add undefined to test behavior on unsupported os 2015-09-23 18:12:51 +02:00
Dominik Richter
47f89f095b Merge branch 'delivery' 2015-09-23 17:57:17 +02:00
Dominik Richter
624bea943d Add Delivery build cookbook 2015-09-23 15:14:27 +02:00
Dominik Richter
93ae1161fa Merge pull request #44 from chef/lint-duplicate
bugfix: windows server 2008 detection
2015-09-23 13:44:57 +02:00
Christoph Hartmann
52f7ddd899 add comment windows version determination 2015-09-23 13:24:55 +02:00
Christoph Hartmann
18e420bb31 remove windows 2003 r2, shares the same version number as windows 2003, only distinguishes via build number 2015-09-23 13:23:03 +02:00
Dominik Richter
ab155f7db6 bugfix: windows server 2008 detection
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-23 10:38:46 +02:00
Christoph Hartmann
fc9bc11b71 Merge pull request #43 from chef/detect
Add detect command
2015-09-23 10:36:51 +02:00
Dominik Richter
1076dcbd52 remove os_ prefix from detect json syntax
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-23 10:25:05 +02:00
Dominik Richter
52b65117c1 add detect to readme
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-23 10:08:12 +02:00
Dominik Richter
4da33a79c1 feature: detect command added
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-23 09:49:54 +02:00
Dominik Richter
0e63ba7e4a create shared target options for executable
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-23 09:49:54 +02:00
Christoph Hartmann
12e09b2218 Merge pull request #41 from chef/travis-docker
let travis do dockerized resource tests
2015-09-23 09:13:07 +02:00
Dominik Richter
a85b47b5b4 split up tests for travis 2015-09-23 01:51:51 +02:00
Dominik Richter
9399c527bc timeout container tests to 60min
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-23 01:02:48 +02:00
Dominik Richter
f6e08a8ed6 switch from travis docker to kitchen-in-travis
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-23 01:01:51 +02:00
Dominik Richter
16e2b8ce3d skip ssh resource tests until containers support them
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 19:43:11 +02:00
Dominik Richter
7ccd88f1a2 improvement: os detection on unix
provided the platform family hint == "unix" run tests for all supported unix systems
also clarify the role of linux detection as the last step

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 19:43:11 +02:00
Dominik Richter
a9c129540b bugfix: file common for linked_to? tests
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 19:43:11 +02:00
Dominik Richter
f472e8a5c0 expose os to docker backend
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 19:43:11 +02:00
Dominik Richter
8e8274cf90 skip file.mounted? tests in docker for now
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 19:43:11 +02:00
Dominik Richter
afb9d4877f fix link_path in file tests
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 19:43:11 +02:00
Dominik Richter
fc14706a0a expose link_path in file resource
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 19:43:11 +02:00
Dominik Richter
f789b16f5b let travis do dockerized resource tests 2015-09-22 19:43:11 +02:00
Dominik Richter
91c8330a4d Merge pull request #42 from chef/unit-test-mock-os
unit test mock os
2015-09-22 19:42:54 +02:00
Christoph Hartmann
48f0615d17 simplify os default setting 2015-09-22 19:35:38 +02:00
Christoph Hartmann
bdb9a59264 simplify unit tests 2015-09-22 18:33:05 +02:00
Christoph Hartmann
39b697ccb7 implement os mock in unit tests 2015-09-22 18:31:21 +02:00
Christoph Hartmann
098e84132f Merge pull request #40 from chef/dockerrun
docker test run
2015-09-22 18:10:11 +02:00
Dominik Richter
b779308f3d bugfix: handle NotImplementedError on docker tests
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 18:02:28 +02:00
Dominik Richter
064996669c fix docker rake path
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 18:02:28 +02:00
Dominik Richter
a2138e6d31 chain docker pull + log out
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 18:02:28 +02:00
Dominik Richter
dfe112a7e7 pull docker images that are missing
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 18:02:28 +02:00
Dominik Richter
0bc1b8a110 improve error handling and output on failures
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 18:02:28 +02:00
Dominik Richter
8c280789c0 split docker container tester into runner+tests 2015-09-22 18:02:28 +02:00
Christoph Hartmann
6ea6eb45a2 Merge pull request #38 from chef/uname-detect
bugfix: detect os via unames
2015-09-22 18:02:07 +02:00
Dominik Richter
5fec383788 bugfix: detect os via unames
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 16:25:17 +02:00
Christoph Hartmann
f832001f10 Merge pull request #37 from chef/kitchen-test
run kitchen test instead of converge
2015-09-22 16:16:32 +02:00
Dominik Richter
aea5ef921a run kitchen test instead of converge
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 15:45:20 +02:00
Christoph Hartmann
bc076f654d Merge pull request #36 from chef/local-file-owner
bugfix: local file owner
2015-09-22 15:41:36 +02:00
Dominik Richter
c3fa247e6a bugfix: local file owner
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 14:24:22 +02:00
Christoph Hartmann
b4faeea69e Merge pull request #35 from chef/backend-desc
bugfix: backend description for local + docker
2015-09-22 13:35:26 +02:00
Dominik Richter
675f8fa117 bugfix: backend description for local + docker
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 12:03:34 +02:00
Dominik Richter
4e12a931d5 Merge pull request #30 from chef/file-formats
File formats
2015-09-22 02:27:04 +02:00
Christoph Hartmann
2eeba59db3 Merge pull request #32 from chef/kernel
add linux kernel resources
2015-09-22 02:27:04 +02:00
Christoph Hartmann
6b3365682d fix comment 2015-09-22 02:27:04 +02:00
Dominik Richter
c69aba9b46 Merge pull request #34 from chef/os-mock
implement fake os method for mock backend (for now)
2015-09-22 02:27:04 +02:00
Dominik Richter
6be9c6822d fix issue with premature matching
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 02:27:04 +02:00
Christoph Hartmann
7155ca8f45 fix description with colon 2015-09-22 02:27:04 +02:00