Commit graph

2212 commits

Author SHA1 Message Date
Dominik Richter
3227624617 extend delivery tests to extra docker images
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-02 23:22:56 +02:00
chef-delivery
ba8f1ec098 Merge pull request #60 from chef/cli--key
Merged change 2101f59e-fbad-4209-85a3-473a950b084a

From review branch cli--key into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-02 14:22:11 -07:00
Dominik Richter
7d27b62794 simplify key assignment in conf 2015-10-02 22:41:25 +02:00
Dominik Richter
5825b4d6d4 rename --key-file to --key on cli
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-02 22:21:35 +02:00
Delivery Server
fa90e71689 Merged change 3d91ebcf-83dc-4bc4-a84c-c1b9cd49d6ca
From review branch _reviews/master/version-info/2 into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-02 16:25:43 +00:00
Dominik Richter
bfcd3f8819 print version on cli
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-02 18:01:52 +02:00
Delivery Server
92b82a3cbf Merged change 24637cb4-1d10-4e45-b683-27d9e1ca9a4f
From review branch _reviews/master/bugfix-gem/3 into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-02 15:37:59 +00:00
Dominik Richter
5010957487 do not delete docker service in delivery
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-02 17:34:57 +02:00
Delivery Server
6f76c8af80 Merged change 14c58f92-44e3-42c0-8737-71c6b49d0e42
From review branch _reviews/master/improve-pip-windows/2 into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-02 14:51:59 +00:00
Christoph Hartmann
1eed6bcf11 use separate method to determine the pip command 2015-10-01 23:29:31 +02:00
Christoph Hartmann
54603e9545 optimize pip resource for windows 2015-10-01 23:26:56 +02:00
Christoph Hartmann
2a5736b8f9 bugfix: fix gem to string 2015-10-01 23:25:46 +02:00
Delivery Server
f4a7ee9af0 Merged change 7a7300e7-d037-465f-9e90-cfd743b00173
From review branch _reviews/master/delivery-publish/2 into master

Signed-off-by: chartmann <chartmann@chef.io>

Reviewed-by: chartmann <chartmann@chef.io>
2015-10-01 21:21:55 +00:00
Dominik Richter
3a8f1e5984 add delivery publish to github
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-01 23:05:59 +02:00
Delivery Server
1e94135304 Merged change fa4f930a-67af-4eee-ac06-fc05a365ba6b
From review branch _reviews/master/dockerized-tests/1 into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-01 16:10:12 +00:00
Dominik Richter
0904cd817e pin delivery build node 2015-10-01 18:03:32 +02:00
Dominik Richter
ae10fefd15 fix warnings 2015-10-01 16:43:36 +02:00
Dominik Richter
039275e68c add build-essential for make
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-01 14:58:22 +02:00
Dominik Richter
536d9401fa run dockerized tests in delivery 2015-10-01 12:25:06 +02:00
Delivery Server
3e75bce76d Merged change 3bc28b51-d417-40a5-8337-7f8b32107df1
From review branch _reviews/master/simpleconfig-groups/4 into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-09-30 12:10:08 +00:00
Dominik Richter
12888c8dad bugfix: centos detection in docker centos:7.1.1503
It doesnt post the expected information in /etc/redhat-release:

    Derived from Red Hat Enterprise Linux 7.1 (Source)

Additionally in /etc/os-release:

    NAME="CentOS Linux"
	  VERSION="7 (Core)"
	  ...

Combine both files to fix the detection.
2015-09-30 13:44:24 +02:00
Dominik Richter
6703d1834d change delivery lint command to use rake
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 12:23:41 +02:00
Dominik Richter
a888534c4e reactivate lint in delivery
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 12:22:58 +02:00
Dominik Richter
aa4593ff71 replace parseconfig with simpleconfig
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 12:19:55 +02:00
Dominik Richter
8b97bdbaa7 expose simpleconfig groups
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 12:18:09 +02:00
Dominik Richter
4d70aed6ee add tests for simple config
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 12:14:38 +02:00
Dominik Richter
2d8b63cb22 feature: support simple config groups
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 12:00:38 +02:00
Delivery Server
c5755f93fd Merged change 3c1a3d24-449b-417b-ab4e-e56ef564ab2e
From review branch _reviews/master/lint/2 into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-09-30 09:55:45 +00:00
Dominik Richter
5c81faa923 deactivate delivery lint for now...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 11:52:24 +02:00
Dominik Richter
90de8763cf wrap up linting
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 02:20:47 +02:00
Dominik Richter
dd46027195 bugfix: require yaml in resource
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 01:48:59 +02:00
Dominik Richter
212f11243b simplify and fix stat handling
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 01:42:04 +02:00
Dominik Richter
28b3792325 let specinfra backend os support OSCommon methods
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-29 19:34:43 +02:00
Dominik Richter
3508201a5d split out unix stat
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-29 19:18:48 +02:00
Dominik Richter
15d5cc7ca0 split up specinfra backend helper
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-29 15:27:58 +02:00
Christoph Hartmann
6092856786 Merge pull request #56 from chef/osdetecters
OS detection tests
2015-09-28 13:27:16 +02:00
Dominik Richter
1e0405bf74 allow for empty config in target_config
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-28 13:03:05 +02:00
Dominik Richter
78d98388f8 add amazon scientific and xenserver to redhat distros in detection
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-28 12:46:46 +02:00
Dominik Richter
4e15e425a4 move darwin to bsd type
see: https://en.wikipedia.org/wiki/Darwin_%28operating_system%29#/media/File:Unix_timeline.en.svg
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-28 12:14:40 +02:00
Dominik Richter
4f0c0d7f21 add unit tests to os common detection
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-28 11:52:50 +02:00
Dominik Richter
c77a0a1c81 api: make mock backend quiet by default
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-28 11:27:19 +02:00
Dominik Richter
7019b1f659 generalize and simplify os detect methods
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-28 11:15:41 +02:00
Dominik Richter
2eb94f5e2e be more explicit about detecting unix
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-28 11:06:38 +02:00
Dominik Richter
bc98b3330f feature: add helpers for OS families
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-28 11:06:38 +02:00
Christoph Hartmann
308dbef369 Merge pull request #55 from chef/unit+lint
Start Linting remaining resources
2015-09-26 20:00:34 +02:00
Dominik Richter
093600b85f split up os detection for linting
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-26 13:12:52 +02:00
Dominik Richter
d839cbc8f7 lint the profile context
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-26 12:41:13 +02:00
Dominik Richter
1efb61ab80 lint service
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-26 12:25:02 +02:00
Dominik Richter
d28c5a85fe lint mysql
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-26 12:25:02 +02:00
Dominik Richter
9885e7683b lint port resource
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-26 12:25:02 +02:00