Skip to content

Commit

Permalink
Attempt to fix container search bats issue with a delay
Browse files Browse the repository at this point in the history
  • Loading branch information
ianballou committed Oct 4, 2024
1 parent a7c2ac3 commit 75427f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bats/fb-katello-container.bats
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ load fixtures/content
CONTAINER_PULL_LABEL=$(echo "${ORGANIZATION_LABEL}-${PRODUCT_LABEL}-${CONTAINER_REPOSITORY_LABEL}"| tr '[:upper:]' '[:lower:]')
CONTAINER_PUSH_LABEL=$(echo "${ORGANIZATION_LABEL}/${PRODUCT_LABEL}/${CONTAINER_REPOSITORY_LABEL}-bats-$(date -u '+%s')"| tr '[:upper:]' '[:lower:]')
podman push "${HOSTNAME}/${CONTAINER_PULL_LABEL}" "${HOSTNAME}/${CONTAINER_PUSH_LABEL}"
sleep 5
podman search "${HOSTNAME}/" | grep -q "${CONTAINER_PUSH_LABEL}"
}

0 comments on commit 75427f6

Please sign in to comment.