Skip to content

Commit

Permalink
Print postgres versions
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
lubosmj committed Aug 21, 2024
1 parent 3bcaf16 commit ef47596
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: pulp-oci-images CI

on:
pull_request:
on: [push]
env:
COLORTERM: 'yes'
TERM: 'xterm-256color'
Expand Down Expand Up @@ -106,6 +105,9 @@ jobs:
app_branch: ${{ steps.build_image.outputs.app_branch }}
app_arch_tag: ${{ steps.build_image.outputs.app_arch_tag }}

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: always()
- name: Logs
if: always()
run: |
Expand Down
7 changes: 7 additions & 0 deletions images/s6_assets/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ trap cleanup EXIT
# buildah & skopeo (pulp_container does)

start_container_and_wait() {

podman run --detach \
--publish 8080:$port \
--name pulp \
Expand All @@ -27,6 +28,12 @@ start_container_and_wait() {
-e PULP_DEFAULT_ADMIN_PASSWORD=password \
-e PULP_HTTPS=${pulp_https} \
"$1"

#echo ::group::VERSIONSPSQL
#podman exec -it pulp bash 'pg_config --version'
#podman exec -it pulp bash -c 'psql --version'
#echo ::endgroup::

sleep 10
for _ in $(seq 30)
do
Expand Down

0 comments on commit ef47596

Please sign in to comment.