Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 6b127c0

Browse files
committed
Print the mounted volumes and ports of the codegate container
Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>
1 parent 6e940e1 commit 6b127c0

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/integration-tests.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,25 @@ jobs:
3737
# Get the image name
3838
IMAGE_NAME=$(docker images --format "{{.Repository}}:{{.Tag}}" | head -n 1)
3939
echo "Running container from image: $IMAGE_ID"
40-
40+
4141
# Run the container
4242
docker run --name codegate -d -p 8989:8989 -p 9090:9090 \
4343
-p 8990:8990 \
4444
-v "$(pwd)"/codegate_volume:/app/codegate_volume \
4545
--restart unless-stopped $IMAGE_NAME
46-
46+
4747
# Confirm the container started
4848
echo "Container started:"
4949
docker ps
5050
51+
# Verify container is running with correct ports
52+
docker ps -f name=codegate
53+
54+
# Check mount configuration
55+
docker inspect codegate -f '{{ json .Mounts }}' | jq
56+
57+
# Verify volume contents are accessible
58+
docker exec codegate ls -la /app/codegate_volume
5159
- name: Checkout
5260
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
5361
with:

0 commit comments

Comments
 (0)