Skip to content

Commit

Permalink
feat(arvados): review PRs 8, 9 & 10
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Dec 17, 2020
1 parent a96c71a commit d1459fd
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
1 change: 1 addition & 0 deletions ssf/files/tofs_arvados-formula/.salt-lint
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ rules:
ignore: |
arvados/shell/config/files/default/shell-libpam-arvados.tmpl.jinja
test/salt/pillar/examples/nginx_webshell_configuration.sls
test/salt/pillar/examples/nginx_passenger.sls
skip_list:
# Using `salt-lint` for linting other files as well, such as Jinja macros/templates
- 205 # Use ".sls" as a Salt State file extension
Expand Down
31 changes: 16 additions & 15 deletions ssf/files/tofs_arvados-formula/kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ platforms:
- name: centos-7-3001-py3
driver:
image: saltimages/salt-3001-py3:centos-7
- name: amazonlinux-2-3001-py3
driver:
image: saltimages/salt-3001-py3:amazonlinux-2

## SALT `3000.3`
- name: debian-10-3000-3-py3
Expand Down Expand Up @@ -100,18 +103,15 @@ suites:
state_top:
base:
'*':
- example_add_snakeoil_certs
- single_host.host_entries
- single_host.snakeoil_certs
- locale
- nginx.passenger
- postgres
- arvados.repo
# - arvados.config
# - arvados.ruby
- arvados.api
- arvados.websocket
# keepproxy complains when using snakeoil certs, so we can't
# properly test it here until next version removes this limitation
# - arvados.keepproxy
- arvados.keepproxy
- arvados.keepweb
- arvados.controller
- arvados.dispatcher
Expand All @@ -129,7 +129,7 @@ suites:
- example_nginx_controller
# keepproxy expects to retrieve a list of services from API, so
# installing/testing it without an api server running will fail
# - example_nginx_keepproxy
- example_nginx_keepproxy
pillars_from_files:
# yamllint disable rule:line-length
arvados.sls: test/salt/pillar/arvados.sls
Expand All @@ -139,12 +139,12 @@ suites:
example_nginx_api.sls: test/salt/pillar/examples/nginx_api_configuration.sls
example_nginx_websocket.sls: test/salt/pillar/examples/nginx_websocket_configuration.sls
example_nginx_keepweb.sls: test/salt/pillar/examples/nginx_keepweb_configuration.sls
# example_nginx_keepproxy.sls: test/salt/pillar/examples/nginx_keepproxy_configuration.sls
example_nginx_keepproxy.sls: test/salt/pillar/examples/nginx_keepproxy_configuration.sls
example_nginx_controller.sls: test/salt/pillar/examples/nginx_controller_configuration.sls
# yamllint enable rule:line-length
dependencies:
- name: example_add_snakeoil_certs
path: test/salt/states
- name: single_host
path: test/salt/states/examples
- name: locale
repo: git
source: https://github.com/saltstack-formulas/locale-formula.git
Expand All @@ -158,7 +158,7 @@ suites:
inspec_tests:
- path: test/integration/api
- path: test/integration/websocket
# - path: test/integration/keepproxy
- path: test/integration/keepproxy
- path: test/integration/keepweb
- path: test/integration/controller

Expand All @@ -170,7 +170,8 @@ suites:
state_top:
base:
'*':
- example_add_snakeoil_certs
- single_host.host_entries
- single_host.snakeoil_certs
- nginx.passenger
- arvados.repo
- arvados.workbench
Expand All @@ -191,11 +192,11 @@ suites:
example_nginx_workbench2.sls: test/salt/pillar/examples/nginx_workbench2_configuration.sls
# yamllint enable rule:line-length
dependencies:
- name: example_add_snakeoil_certs
path: test/salt/states
- name: single_host
path: test/salt/states/examples
- name: nginx
repo: git
source: https://github.com/saltstack-formulas/nginx-formula.git
source: https://github.com/netmanagers/nginx-formula.git
verifier:
inspec_tests:
- path: test/integration/workbench
Expand Down
6 changes: 4 additions & 2 deletions ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1079,8 +1079,10 @@ ssf:
# [os , os_ver, salt_ver, py_ver, inspec_suite]
- [ubuntu , 18.04, master, 3, workbench]
- [debian , 10 , 3001 , 3, api]
- [debian , 10 , 3001 , 3, shell]
- [ubuntu , 18.04, 3000.3, 2, keepstore]
# - [debian , 10 , 3001 , 3, shell]
- [centos , 7 , 3001 , 3, shell]
# - [ubuntu , 18.04, 3000.3, 2, keepstore]
- [centos , 7 , 3000.3, 3, keepstore]
use_tofs: true
yamllint:
ignore:
Expand Down

0 comments on commit d1459fd

Please sign in to comment.