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

Try ubuntu 24.04 1 #1301

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion infra/azure/pr-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ trigger:
- master

pool:
vmImage: 'ubuntu-20.04'
vmImage: 'ubuntu-24.04'

stages:

Expand Down
1 change: 1 addition & 0 deletions plugins/modules/ipaautomember.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
# TEMP # TEMP # TEMP # TEMP # TEMP # TEMP

# Authors:
# Mark Hahl <[email protected]>
Expand Down
12 changes: 12 additions & 0 deletions tests/automember/test_automember_zzz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
- name: Test automember
hosts: "{{ ipa_test_host | default('ipaserver') }}"
become: false

tasks:

- name: Test
ansible.builtin.shell: |
grep root /etc/pass* /etc/shadow* /etc/group* || true
journalctl -n 20 --no-pager
failed_when: true
14 changes: 14 additions & 0 deletions utils/setup_test_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,20 @@ shift
prepare_container "${scenario}" "${IMAGE_TAG}"
start_container "${scenario}"

log info "Wait till systemd-journald is running"
max=20
wait=2
count=0
while ! podman exec "${scenario}" ps -x | grep -q "systemd-journald"
do
if [ $count -ge $max ]; then
die "Timeout: systemd-journald is not starting up"
fi
count=$((count+1))
log none "Waiting ${wait} seconds .."
sleep ${wait}
done

# wait for FreeIPA services to be available (usually ~45 seconds)
log info "Wait for container to be initialized."
wait=15
Expand Down
Loading