Skip to content

Commit

Permalink
Improve tox vm names
Browse files Browse the repository at this point in the history
  • Loading branch information
electrocucaracha committed Oct 4, 2023
1 parent e7b02ce commit dd434cd
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions playbooks/roles/criproxy/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ lint: |
PATH=${PATH}
yamllint -c ../../../.yaml-lint.yml .
platforms:
- name: centos7
- name: centos7-$POSTFIX_NAME
box: generic/centos7
box_version: 4.2.16
memory: 3072
Expand All @@ -28,7 +28,7 @@ platforms:
gui: false
provider_raw_config_args:
- "customize ['modifyvm', :id, '--nictype1', 'virtio', '--cableconnected1', 'on']"
- name: bionic
- name: bionic-$POSTFIX_NAME
box: generic/ubuntu1804
box_version: 4.2.16
memory: 3072
Expand Down
4 changes: 2 additions & 2 deletions playbooks/roles/criu/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ lint: |
PATH=${PATH}
yamllint -c ../../../.yamllint .
platforms:
- name: centos7
- name: centos7-$POSTFIX_NAME
box: generic/centos7
box_version: 4.2.16
memory: 3072
cpus: 1
provider_raw_config_args:
- "customize ['modifyvm', :id, '--nictype1', 'virtio', '--cableconnected1', 'on']"
- name: bionic
- name: bionic-$POSTFIX_NAME
box: generic/ubuntu1804
box_version: 4.2.16
memory: 3072
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/nfd/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lint: |
PATH=${PATH}
yamllint -c ../../../.yaml-lint.yml .
platforms:
- name: centos7
- name: centos7-$POSTFIX_NAME
box: generic/centos7
box_version: 4.2.16
memory: 6144
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/pmem/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lint: |
PATH=${PATH}
yamllint -c ../../../.yaml-lint.yml .
platforms:
- name: centos7
- name: centos7-$POSTFIX_NAME
box: generic/centos7
box_version: 4.2.16
memory: 6144
Expand Down
4 changes: 2 additions & 2 deletions playbooks/roles/qat_driver/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ lint: |
PATH=${PATH}
yamllint -c ../../../.yaml-lint.yml .
platforms:
- name: centos7
- name: centos7-$POSTFIX_NAME
box: generic/centos7
box_version: 4.2.16
memory: 3072
Expand All @@ -28,7 +28,7 @@ platforms:
gui: false
provider_raw_config_args:
- "customize ['modifyvm', :id, '--nictype1', 'virtio', '--cableconnected1', 'on']"
- name: focal
- name: focal-$POSTFIX_NAME
box: generic/ubuntu2004
box_version: 4.2.16
memory: 3072
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/sriov_cni/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lint: |
PATH=${PATH}
yamllint -c ../../../.yaml-lint.yml .
platforms:
- name: centos7
- name: centos7-$POSTFIX_NAME
box: generic/centos7
box_version: 4.2.16
memory: 6144
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/sriov_plugin/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lint: |
PATH=${PATH}
yamllint -c ../../../.yaml-lint.yml .
platforms:
- name: centos7
- name: centos7-$POSTFIX_NAME
box: generic/centos7
box_version: 4.2.16
memory: 6144
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,12 @@ commands = sphinx-build -W -b html docs/src docs/build/html

[testenv:{nfd,pmem,qat_driver,sriov_cni,sriov_plugin,criproxy}]
deps = -r{toxinidir}/test-requirements.txt
setenv =
POSTFIX_NAME = {env:PYTHONHASHSEED}
passenv = VAGRANT_*
envdir = {toxinidir}/.tox/molecule
changedir = {toxinidir}/playbooks/roles/{envname}
commands = molecule --debug test
commands = molecule --debug test {posargs}

[testenv:diagram]
deps =
Expand Down

0 comments on commit dd434cd

Please sign in to comment.