blob: b563efc7929bc274a5c8e056ff9eb680cfca0e50 [file] [log] [blame]
Ales Komarekf9d35ae2016-08-19 10:23:00 +02001
2==================================
3artifactory
4==================================
5
6Service artifactory description
7
8Sample pillars
9==============
10
11Single artifactory service
12
13.. code-block:: yaml
14
15 artifactory:
16 server:
17 enabled: true
18 version: icehouse
19
20
21Development and testing
22=======================
23
24Development and test workflow with `Test Kitchen <http://kitchen.ci>`_ and
25`kitchen-salt <https://github.com/simonmcc/kitchen-salt>`_ provisioner plugin.
26
27Test Kitchen is a test harness tool to execute your configured code on one or more platforms in isolation.
28There is a ``.kitchen.yml`` in main directory that defines *platforms* to be tested and *suites* to execute on them.
29
30Kitchen CI can spin instances locally or remote, based on used *driver*.
31For local development ``.kitchen.yml`` defines a `vagrant <https://github.com/test-kitchen/kitchen-vagrant>`_ or
32`docker <https://github.com/test-kitchen/kitchen-docker>`_ driver.
33
34To use backend drivers or implement your CI follow the section `INTEGRATION.rst#Continuous Integration`__.
35
36The `Busser <https://github.com/test-kitchen/busser>`_ *Verifier* is used to setup and run tests
37implementated in `<repo>/test/integration`. It installs the particular driver to tested instance
38(`Serverspec <https://github.com/neillturner/kitchen-verifier-serverspec>`_,
39`InSpec <https://github.com/chef/kitchen-inspec>`_, Shell, Bats, ...) prior the verification is executed.
40
41Usage:
42
43.. code-block:: shell
44
45 # list instances and status
46 kitchen list
47
48 # manually execute integration tests
49 kitchen [test || [create|converge|verify|exec|login|destroy|...]] [instance] -t tests/integration
50
51 # use with provided Makefile (ie: within CI pipeline)
52 make kitchen
53
54
55
56Read more
57=========
58
59* links