diff --git a/.github/workflows/pulp_images.yml b/.github/workflows/pulp_images.yml index b7da28a2..54a23bab 100644 --- a/.github/workflows/pulp_images.yml +++ b/.github/workflows/pulp_images.yml @@ -203,7 +203,10 @@ jobs: echo "Working around https://bugs.launchpad.net/ubuntu/+source/libpod/+bug/2024394" curl -O http://archive.ubuntu.com/ubuntu/pool/universe/g/golang-github-containernetworking-plugins/containernetworking-plugins_1.1.1+ds1-3_amd64.deb sudo dpkg -i containernetworking-plugins_1.1.1+ds1-3_amd64.deb - pip install httpie podman-compose + # Ubuntu 22.04 has old podman 3.4.4, we need podman-compose==1.0.3 to avoid an + # error with dependency contianers not being detected as running. + # "error generating dependency graph for container" + pip install httpie podman-compose==1.0.3 shell: bash - name: Build images diff --git a/images/compose/compose.folders.yml b/images/compose/compose.folders.yml index 99eff624..b2a8a9e2 100644 --- a/images/compose/compose.folders.yml +++ b/images/compose/compose.folders.yml @@ -15,7 +15,7 @@ services: - "./assets/postgres/passwd:/etc/passwd:Z" restart: always healthcheck: - test: [ "CMD-SHELL", "pg_isready -U pulp" ] + test: pg_isready -U pulp interval: 10s timeout: 5s retries: 5 @@ -26,7 +26,7 @@ services: - "redis_data:/data" restart: always healthcheck: - test: [ "CMD-SHELL", "redis-cli ping" ] + test: redis-cli ping interval: 10s timeout: 5s retries: 5 @@ -107,7 +107,7 @@ services: - "../../pulp_storage:/var/lib/pulp:z" restart: always healthcheck: - test: [ "CMD-SHELL", "readyz.py /pulp/api/v3/status/" ] + test: readyz.py /pulp/api/v3/status/ interval: 10s timeout: 5s retries: 5 @@ -132,7 +132,7 @@ services: - "../../pulp_storage:/var/lib/pulp:z" restart: always healthcheck: - test: [ "CMD-SHELL", "readyz.py /pulp/content/" ] + test: readyz.py /pulp/content interval: 10s timeout: 5s retries: 5 diff --git a/images/compose/compose.yml b/images/compose/compose.yml index e802e8bc..6a57a298 100644 --- a/images/compose/compose.yml +++ b/images/compose/compose.yml @@ -15,7 +15,7 @@ services: - "./assets/postgres/passwd:/etc/passwd:Z" restart: always healthcheck: - test: [ "CMD-SHELL", "pg_isready -U pulp" ] + test: pg_isready -U pulp interval: 10s timeout: 5s retries: 5 @@ -26,7 +26,7 @@ services: - "redis_data:/data" restart: always healthcheck: - test: [ "CMD-SHELL", "redis-cli ping" ] + test: redis-cli ping interval: 10s timeout: 5s retries: 5 @@ -109,7 +109,7 @@ services: - "pulp:/var/lib/pulp" restart: always healthcheck: - test: [ "CMD-SHELL", "readyz.py /pulp/api/v3/status/" ] + test: readyz.py /pulp/api/v3/status/ interval: 10s timeout: 5s retries: 5 @@ -134,7 +134,7 @@ services: - "pulp:/var/lib/pulp" restart: always healthcheck: - test: [ "CMD-SHELL", "readyz.py /pulp/content/" ] + test: readyz.py /pulp/content/ interval: 10s timeout: 5s retries: 5