Skip to content

Commit f7fb382

Browse files
authored
Merge pull request #757 from gerrod3/domain
Run pulp image tests with domains enabled
2 parents 25b108e + 194807d commit f7fb382

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

images/s6_assets/test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ start_container_and_wait() {
2828
--device /dev/fuse \
2929
-e PULP_DEFAULT_ADMIN_PASSWORD=password \
3030
-e PULP_HTTPS=${pulp_https} \
31+
-e PULP_DOMAIN_ENABLED=${domain_enabled} \
3132
"$1"
3233

3334
podman exec pulp s6-rc -ba list
@@ -59,6 +60,7 @@ else
5960
port=443
6061
pulp_https=true
6162
fi
63+
domain_enabled=false
6264

6365
# Configure the GHA host for buildah/skopeo running within the pulp container
6466
# Default range is 165536-231071, 64K long
@@ -75,6 +77,9 @@ if [ "$old_image" != "" ]; then
7577
start_container_and_wait $old_image
7678
podman rm -f pulp
7779
fi
80+
if [[ "$image" == "pulp/pulp:ci-amd64" ]]; then
81+
domain_enabled=true
82+
fi
7883
start_container_and_wait $image
7984

8085
source "$BASEDIR/pulp_tests.sh" $scheme

0 commit comments

Comments
 (0)