Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DNM] Test cgroupfs podman #488

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 4 additions & 25 deletions .github/workflows/molecule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,7 @@ jobs:
fail-fast: true
matrix:
tested_role:
- edpm_bootstrap
- edpm_ceph_client_files
- edpm_ceph_hci_pre
- edpm_container_manage
- edpm_container_rm
- edpm_container_standalone
- edpm_ddp_package
- edpm_download_cache
- edpm_growvols
- edpm_logrotate_crond
- edpm_multipathd
- edpm_network_config
- edpm_neutron_dhcp
- edpm_neutron_metadata
- edpm_neutron_ovn
- edpm_neutron_sriov
- edpm_nftables
- edpm_nodes_validation
- edpm_ovn
- edpm_sshd
- edpm_ssh_known_hosts
- edpm_timezone
- edpm_tuned
- edpm_telemetry
- edpm_users
- env_data

runs-on: ubuntu-22.04
steps:
Expand All @@ -58,6 +33,10 @@ jobs:
run: ansible-galaxy collection install -r requirements.yml
- name: Install molecule deps
run: pip install -r molecule-requirements.txt
- name: Start systemd user service
run: |
loginctl enable-linger runner
sleep 1
- name: Run molecule test
run: ansible-playbook .github/playbooks/molecule-run.yml -vvvv --connection=local -i localhost
env:
Expand Down
7 changes: 7 additions & 0 deletions roles/edpm_container_manage/tasks/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
# License for the specific language governing permissions and limitations
# under the License.

- name: "podman info"
ansible.builtin.shell: "podman info"
register: podman_out

- name: Debug podman
ansible.builtin.debug: var=podman_out

- name: "Create containers managed by Podman for {{ edpm_container_manage_config }}"
edpm_container_manage:
config_id: "{{ edpm_container_manage_config_id }}"
Expand Down
12 changes: 1 addition & 11 deletions zuul.d/projects.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
---
- project:
name: openstack-k8s-operators/edpm-ansible
templates:
- podified-multinode-edpm-baremetal-pipeline
github-check:
jobs:
- edpm-ansible-molecule-edpm_podman
- edpm-ansible-molecule-edpm_module_load
- edpm-ansible-molecule-edpm_kernel
- edpm-ansible-molecule-edpm_libvirt
- edpm-ansible-molecule-edpm_nova
- edpm-ansible-molecule-edpm_frr
- edpm-ansible-molecule-edpm_iscsid
- edpm-ansible-molecule-edpm_ovn_bgp_agent
jobs: []
Loading