File tree Expand file tree Collapse file tree 6 files changed +11
-466
lines changed Expand file tree Collapse file tree 6 files changed +11
-466
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,6 @@ services:
17
17
18
18
# Make sure the instances listed below match up with
19
19
# the `platforms` defined in `kitchen.yml`
20
- # NOTE: Please try to select up to six instances that add some meaningful
21
- # testing of the formula's behaviour. If possible, try to refrain from
22
- # the classical "chosing all the instances because I want to test on
23
- # another/all distro/s" trap: it will just add time to the testing (see
24
- # the discussion on #121). As an example, the set chosen below covers
25
- # the most used distros families, systemd and non-systemd and the latest
26
- # three supported Saltstack versions with python2 and 3.
27
- # As for `kitchen.yml`, that should still contain all of the platforms,
28
- # to allow for comprehensive local testing
29
- # Ref: https://github.com/saltstack-formulas/template-formula/issues/118
30
- # Ref: https://github.com/saltstack-formulas/template-formula/issues/121
31
20
env :
32
21
matrix :
33
22
# - INSTANCE: default-debian-9-develop-py3
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ At the moment you **have** to specify the InfluxDB version in the
53
53
``influxdb:version `` pillar.
54
54
55
55
``influxdb.cli ``
56
- ^^^^^^^^^^^^^^^^^^^^
56
+ ^^^^^^^^^^^^^^^^
57
57
Installs the [influxdb-cli](https://github.com/phstc/influxdb-cli) gem system wide.
58
58
59
59
``influxdb.config ``
@@ -86,31 +86,31 @@ Requirements
86
86
$ gem install bundler
87
87
$ bundle install
88
88
$ bin/kitchen test [platform]
89
- Where `` [platform] `` is the platform name defined in `` kitchen.yml ``,
90
- e.g. ``debian-9-2019-2-py3 ``.
89
+
90
+ Where `` [platform] `` is the platform name defined in `` kitchen.yml ``, e.g. ``debian-9-2019-2-py3 ``.
91
91
92
92
93
93
``bin/kitchen converge ``
94
- ^^^^^^^^^^^^^^^^^^^^
94
+ ^^^^^^^^^^^^^^^^^^^^^^^^
95
95
96
96
Creates the docker instance and runs the ``influxdb `` main state, ready for testing.
97
97
98
98
``bin/kitchen verify ``
99
- ^^^^^^^^^^^^^^^^^^
99
+ ^^^^^^^^^^^^^^^^^^^^^^
100
100
101
101
Runs the ``inspec `` tests on the actual instance.
102
102
103
103
``bin/kitchen destroy ``
104
- ^^^^^^^^^^^^^^^^^^^
104
+ ^^^^^^^^^^^^^^^^^^^^^^^
105
105
106
106
Removes the docker instance.
107
107
108
108
``bin/kitchen test ``
109
- ^^^^^^^^^^^^^^^^
109
+ ^^^^^^^^^^^^^^^^^^^^
110
110
111
111
Runs all of the stages above in one go: i.e. ``destroy `` + ``converge `` + ``verify `` + ``destroy ``.
112
112
113
113
``bin/kitchen login ``
114
- ^^^^^^^^^^^^^^^^^
114
+ ^^^^^^^^^^^^^^^^^^^^^
115
115
116
116
Gives you SSH access to the instance for manual testing.
You can’t perform that action at this time.
0 commit comments