2021-06-13 14:58:53 +00:00
|
|
|
---
|
|
|
|
driver:
|
2021-06-13 15:50:32 +00:00
|
|
|
name: dokken
|
|
|
|
pull_platform_image: false
|
|
|
|
pull_chef_image: false
|
|
|
|
memory_limit: 2147483648 # 2GB
|
|
|
|
volumes:
|
|
|
|
# saves the apt archieves outside of the container
|
|
|
|
- /var/cache/apt/archives/:/var/cache/apt/archives/
|
2021-06-13 14:58:53 +00:00
|
|
|
## The forwarded_port port feature lets you connect to ports on the VM guest via
|
|
|
|
## localhost on the host.
|
|
|
|
## see also: https://www.vagrantup.com/docs/networking/forwarded_ports
|
2021-06-13 15:50:32 +00:00
|
|
|
# network:
|
|
|
|
# - ["forwarded_port", { guest: 4444, host: 4444 }]
|
|
|
|
|
|
|
|
transport:
|
|
|
|
name: dokken
|
2021-06-13 14:58:53 +00:00
|
|
|
|
|
|
|
provisioner:
|
2021-06-13 15:50:32 +00:00
|
|
|
name: dokken
|
|
|
|
clean_dokken_sandbox: false
|
2021-06-13 14:58:53 +00:00
|
|
|
# You may wish to disable always updating cookbooks in CI or other testing environments.
|
|
|
|
# For example:
|
|
|
|
# always_update_cookbooks: <%= !ENV['CI'] %>
|
2021-06-13 15:50:32 +00:00
|
|
|
# always_update_cookbooks: false
|
2021-06-13 14:58:53 +00:00
|
|
|
|
|
|
|
## product_name and product_version specifies a specific Chef product and version to install.
|
|
|
|
## see the Chef documentation for more details: https://docs.chef.io/workstation/config_yml_kitchen/
|
|
|
|
# product_name: chef
|
|
|
|
# product_version: 16
|
|
|
|
|
|
|
|
verifier:
|
|
|
|
name: inspec
|
|
|
|
|
|
|
|
platforms:
|
|
|
|
- name: ubuntu-20.04
|
2021-06-13 15:50:32 +00:00
|
|
|
driver:
|
|
|
|
image: dokken/ubuntu-20.04
|
|
|
|
privileged: true
|
|
|
|
pid_one_command: /usr/lib/systemd/systemd
|
|
|
|
intermediate_instructions:
|
|
|
|
# prevent APT from deleting the APT folder
|
|
|
|
- RUN rm /etc/apt/apt.conf.d/docker-clean
|
2021-06-13 14:58:53 +00:00
|
|
|
|
|
|
|
suites:
|
|
|
|
- name: rskj
|
|
|
|
run_list:
|
|
|
|
- recipe[kosmos_rsk::rskj]
|
|
|
|
verifier:
|
|
|
|
inspec_tests:
|
|
|
|
- test/integration/rskj
|
|
|
|
attributes:
|