blob: 037ddee0f0e992e110f8ae52f3bf7630b7632a42 [file] [log] [blame]
Ales Komarekf9d35ae2016-08-19 10:23:00 +02001
Ales Komarek70fdd162016-08-19 12:28:05 +02002===========
3Artifactory
4===========
Ales Komarekf9d35ae2016-08-19 10:23:00 +02005
Ales Komarek70fdd162016-08-19 12:28:05 +02006JFrog Artifactory is the only Universal Repository Manager supporting all major packaging formats, build tools and CI servers.
7
Ales Komarekf9d35ae2016-08-19 10:23:00 +02008
9Sample pillars
10==============
11
Ales Komarek70fdd162016-08-19 12:28:05 +020012Single artifactory OSS edition from OS package
Ales Komarekf9d35ae2016-08-19 10:23:00 +020013
14.. code-block:: yaml
15
16 artifactory:
17 server:
18 enabled: true
Ales Komarek70fdd162016-08-19 12:28:05 +020019 edition: oss
20 version: 4
21 source:
22 engine: pkg
23
24Single artifactory pro edition from OS package
25
26.. code-block:: yaml
27
28 artifactory:
29 server:
30 enabled: true
31 edition: pro
32 version: 4
33 source:
34 engine: pkg
Ales Komarekf9d35ae2016-08-19 10:23:00 +020035
36
37Development and testing
38=======================
39
40Development and test workflow with `Test Kitchen <http://kitchen.ci>`_ and
41`kitchen-salt <https://github.com/simonmcc/kitchen-salt>`_ provisioner plugin.
42
43Test Kitchen is a test harness tool to execute your configured code on one or more platforms in isolation.
44There is a ``.kitchen.yml`` in main directory that defines *platforms* to be tested and *suites* to execute on them.
45
46Kitchen CI can spin instances locally or remote, based on used *driver*.
47For local development ``.kitchen.yml`` defines a `vagrant <https://github.com/test-kitchen/kitchen-vagrant>`_ or
48`docker <https://github.com/test-kitchen/kitchen-docker>`_ driver.
49
50To use backend drivers or implement your CI follow the section `INTEGRATION.rst#Continuous Integration`__.
51
52The `Busser <https://github.com/test-kitchen/busser>`_ *Verifier* is used to setup and run tests
53implementated in `<repo>/test/integration`. It installs the particular driver to tested instance
54(`Serverspec <https://github.com/neillturner/kitchen-verifier-serverspec>`_,
55`InSpec <https://github.com/chef/kitchen-inspec>`_, Shell, Bats, ...) prior the verification is executed.
56
Ales Komarek70fdd162016-08-19 12:28:05 +020057Usage
58-----
Ales Komarekf9d35ae2016-08-19 10:23:00 +020059
60.. code-block:: shell
61
62 # list instances and status
63 kitchen list
64
65 # manually execute integration tests
66 kitchen [test || [create|converge|verify|exec|login|destroy|...]] [instance] -t tests/integration
67
68 # use with provided Makefile (ie: within CI pipeline)
69 make kitchen
70
71
72
73Read more
74=========
75
Ales Komarek70fdd162016-08-19 12:28:05 +020076* https://www.jfrog.com/confluence/display/RTF/Debian+Repositories