Skip to content
Snippets Groups Projects
Commit 9146fdbc authored by Grzegorz Koper's avatar Grzegorz Koper
Browse files

CI: Changing docker network driver in molecule

Setting network mode to host.
Enables testing without additional configuration of the host.

Change-Id: I46406d414290ed785a4644c88cbc76ff074e96a2
parent 9836fa7e
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@
build:
path: "{{ molecule_ephemeral_directory }}"
dockerfile: "{{ item.item.dockerfile | default(item.invocation.module_args.dest) }}"
network: host
force_source: "{{ item.item.force | default(true) }}"
force_tag: "{{ item.item.force | default(true) }}"
with_items: "{{ platforms.results }}"
......
......@@ -10,6 +10,7 @@ lint: |
platforms:
- name: centos-stream8
image: quay.io/centos/centos:stream8
network_mode: host
provisioner:
name: ansible
lint:
......
......@@ -30,6 +30,7 @@
build:
path: "{{ molecule_ephemeral_directory }}"
dockerfile: "{{ item.item.dockerfile | default(item.invocation.module_args.dest) }}"
network: host
force_source: "{{ item.item.force | default(true) }}"
force_tag: "{{ item.item.force | default(true) }}"
with_items: "{{ platforms.results }}"
......
......@@ -10,6 +10,7 @@ lint: |
platforms:
- name: centos-stream8
image: quay.io/centos/centos:stream8
network_mode: host
provisioner:
name: ansible
inventory:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment