strfry-cookbook/kitchen.yml
Râu Cao 5f661d7304
Make all config values configurable
And use a standard scheme for variable/key naming
2025-06-01 19:57:04 +04:00

46 lines
957 B
YAML

---
driver:
name: dokken
chef_version: 18.2.7
pull_platform_image: false
pull_chef_image: false
# memory_limit: 4294967296 # 4GB
memory_limit: 8589934592 # 8GB
volumes:
# saves the apt archieves outside of the container
- /var/cache/apt/archives/:/var/cache/apt/archives/
transport:
name: dokken
provisioner:
name: dokken
verifier:
name: inspec
platforms:
- name: ubuntu-22.04
driver:
image: dokken/ubuntu-22.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
- RUN /usr/bin/apt-get update
suites:
- name: strfry
verifier:
inspec_tests:
- test/integration/default
attributes:
strfry:
config:
relay:
bind: 0.0.0.0
port: 7778
info:
name: "Test relay"