Skip to content

Commit

Permalink
ci(kitchen+ci): update with 3004 pre-salted images/boxes [skip ci]
Browse files Browse the repository at this point in the history
* Automated using myii/ssf-formula#385
  • Loading branch information
myii committed Nov 23, 2021
1 parent 5f1c61c commit 380c689
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ rubocop:
###############################################################################
# Define `test` template
###############################################################################
.test_instance:
.test_instance: &test_instance
stage: *stage_test
image: *image_dindruby
services: *services_docker_dind
Expand All @@ -117,6 +117,13 @@ rubocop:
# Alternative value to consider: `${CI_JOB_NAME}`
- 'bin/kitchen verify "${DOCKER_ENV_CI_JOB_NAME}"'

###############################################################################
# Define `test` template (`allow_failure: true`)
###############################################################################
.test_instance_failure_permitted:
<<: *test_instance
allow_failure: true

###############################################################################
# `test` stage: each instance below uses the `test` template above
###############################################################################
Expand Down Expand Up @@ -148,6 +155,11 @@ ubuntu-2004-master-py3: {extends: '.test_instance'}
# preferences-ubuntu-1804-master-py3: {extends: '.test_instance'}
# unattended-ubuntu-1804-master-py3: {extends: '.test_instance'}
ubuntu-1804-master-py3: {extends: '.test_instance'}
# repositories-debian-11-3004-0-py3: {extends: '.test_instance'}
# repositories-debian-10-3004-0-py3: {extends: '.test_instance'}
# repositories-debian-9-3004-0-py3: {extends: '.test_instance'}
# repositories-ubuntu-2004-3004-0-py3: {extends: '.test_instance'}
# repositories-ubuntu-1804-3004-0-py3: {extends: '.test_instance'}
# repositories-debian-11-3003-3-py3: {extends: '.test_instance'}
# repositories-debian-10-3003-3-py3: {extends: '.test_instance'}
# repositories-debian-9-3003-3-py3: {extends: '.test_instance'}
Expand Down
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ jobs:
# - env: INSTANCE=preferences-ubuntu-1804-master-py3
# - env: INSTANCE=unattended-ubuntu-1804-master-py3
- env: INSTANCE=ubuntu-1804-master-py3
# - env: INSTANCE=repositories-debian-11-3004-0-py3
# - env: INSTANCE=repositories-debian-10-3004-0-py3
# - env: INSTANCE=repositories-debian-9-3004-0-py3
# - env: INSTANCE=repositories-ubuntu-2004-3004-0-py3
# - env: INSTANCE=repositories-ubuntu-1804-3004-0-py3
# - env: INSTANCE=repositories-debian-11-3003-3-py3
# - env: INSTANCE=repositories-debian-10-3003-3-py3
# - env: INSTANCE=repositories-debian-9-3003-3-py3
Expand Down
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
/test/integration/**/libraries/system.rb @saltstack-formulas/ssf
/test/integration/**/inspec.yml @saltstack-formulas/ssf
/test/integration/**/README.md @saltstack-formulas/ssf
/test/salt/pillar/top.sls @saltstack-formulas/ssf
/.gitignore @saltstack-formulas/ssf
/.cirrus.yml @saltstack-formulas/ssf
/.gitlab-ci.yml @saltstack-formulas/ssf
Expand Down
22 changes: 22 additions & 0 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,28 @@ platforms:
image: saltimages/salt-master-py3:ubuntu-18.04
run_command: /lib/systemd/systemd

## SALT `3004.0`
- name: debian-11-3004-0-py3
driver:
image: saltimages/salt-3004.0-py3:debian-11
run_command: /lib/systemd/systemd
- name: debian-10-3004-0-py3
driver:
image: saltimages/salt-3004.0-py3:debian-10
run_command: /lib/systemd/systemd
- name: debian-9-3004-0-py3
driver:
image: saltimages/salt-3004.0-py3:debian-9
run_command: /lib/systemd/systemd
- name: ubuntu-2004-3004-0-py3
driver:
image: saltimages/salt-3004.0-py3:ubuntu-20.04
run_command: /lib/systemd/systemd
- name: ubuntu-1804-3004-0-py3
driver:
image: saltimages/salt-3004.0-py3:ubuntu-18.04
run_command: /lib/systemd/systemd

## SALT `3003.3`
- name: debian-11-3003-3-py3
driver:
Expand Down

0 comments on commit 380c689

Please sign in to comment.