Skip to content

Commit 989cf5d

Browse files
committed
kitchen workflow added
1 parent d5be749 commit 989cf5d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.travis.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
- COMMIT=${TRAVIS_COMMIT::8}
1212
matrix:
1313
- INSTANCE=default-ubuntu-1604
14-
# - INSTANCE=default-centos-74
14+
# - INSTANCE=default-centos-74
1515
services:
1616
- docker
1717
before_install:
@@ -20,17 +20,18 @@ before_install:
2020
- rvm version
2121
jobs:
2222
include:
23-
- stage: Continuous Integration Step, white box SAST etc tests
23+
- stage: kitchen create
2424
# https://github.com/zuazo/kitchen-in-travis-native/issues/1#issuecomment-142455888
2525
before_script:
2626
- sudo iptables -L DOCKER || sudo iptables -N DOCKER
2727
script:
28-
# Create a random file to store the container ID.
29-
- chef --version
30-
- stage: Continuous Delivery Step, black box DAST etc tests
28+
- rake kitchen:create:default-ubuntu-1604
29+
- stage: kitchen converge
3130
script:
32-
# DODCKER_TOKEN must be entered travis website -> repository -> settings -> environment variables
33-
- chef exec ruby --version
31+
- rake kitchen:converge:default-ubuntu-1604
32+
- stage: kitchen verify
33+
script:
34+
- rake kitchen:verify:default-ubuntu-1604
3435
- stage: kitchen destroy
3536
script:
3637
# DODCKER_TOKEN must be entered travis website -> repository -> settings -> environment variables

0 commit comments

Comments
 (0)