Skip to content

Commit

Permalink
Minor dependency updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
HankHerr-NOAA committed Dec 9, 2024
1 parent b735d54 commit 33eacdb
Show file tree
Hide file tree
Showing 9 changed files with 133 additions and 171 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/ubi:8.10-1088
FROM registry.access.redhat.com/ubi8/ubi:8.10-1132

RUN dnf install -y \
java-17-openjdk-headless-1:17.0.13.0.11-3.el8.x86_64 \
Expand Down
165 changes: 86 additions & 79 deletions build.gradle

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions compose-entry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ services:
networks:
wres_net:
persister:
image: "${DOCKER_REGISTRY}/wres/wres-redis:20241018-74b8415"
image: "${DOCKER_REGISTRY}/wres/wres-redis:20241126-b735d54-dev"
restart: always
volumes:
# For the job data
Expand All @@ -66,7 +66,7 @@ services:
tasker:
ports:
- "443:8443"
image: "${DOCKER_REGISTRY}/wres/wres-tasker:20241018-74b8415"
image: "${DOCKER_REGISTRY}/wres/wres-tasker:20241113-6f1b17d-dev"
restart: always
depends_on:
broker:
Expand Down Expand Up @@ -102,7 +102,7 @@ services:
- "5671:5671"
- "15671:15671"
- "15691:15691"
image: "${DOCKER_REGISTRY}/wres/wres-broker:20241018-74b8415"
image: "${DOCKER_REGISTRY}/wres/wres-broker:20241126-b735d54-dev"
restart: always
volumes:
# For certificates and keys that correspond to them:
Expand Down Expand Up @@ -130,7 +130,7 @@ services:
healthcheck:
start_period: 5m
worker:
image: "${DOCKER_REGISTRY}/wres/wres-worker:20241018-74b8415"
image: "${DOCKER_REGISTRY}/wres/wres-worker:20241126-b735d54-dev"
restart: always
depends_on:
broker:
Expand Down Expand Up @@ -180,7 +180,7 @@ services:
- 5673
ports:
- 15673:15673
image: "${DOCKER_REGISTRY}/wres/wres-eventsbroker:20241018-74b8415"
image: "${DOCKER_REGISTRY}/wres/wres-eventsbroker:20241126-b735d54-dev"
restart: always
volumes:
# For heap-dump files
Expand All @@ -206,7 +206,7 @@ services:
depends_on:
eventsbroker:
condition: service_started
image: "${DOCKER_REGISTRY}/wres/wres-graphics:20241018-74b8415"
image: "${DOCKER_REGISTRY}/wres/wres-graphics:20241126-2da40a3-dev"
restart: always
volumes:
# To write graphics outputs
Expand All @@ -228,7 +228,7 @@ services:
depends_on:
eventsbroker:
condition: service_started
image: "${DOCKER_REGISTRY}/wres/wres-writing:20241018-74b8415"
image: "${DOCKER_REGISTRY}/wres/wres-writing:20241126-2da40a3-dev"
restart: always
volumes:
# To write numeric outputs
Expand Down
8 changes: 4 additions & 4 deletions compose-workers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ services:
networks:
wres_net:
worker:
image: "${DOCKER_REGISTRY}/wres/wres-worker:20241018-74b8415"
image: "${DOCKER_REGISTRY}/wres/wres-worker:20241126-b735d54-dev"
restart: always
depends_on:
eventsbroker:
Expand Down Expand Up @@ -97,7 +97,7 @@ services:
- 5673
ports:
- 15673:15673
image: "${DOCKER_REGISTRY}/wres/wres-eventsbroker:20241018-74b8415"
image: "${DOCKER_REGISTRY}/wres/wres-eventsbroker:20241126-b735d54-dev"
restart: always
volumes:
# For heap-dump files
Expand All @@ -123,7 +123,7 @@ services:
depends_on:
eventsbroker:
condition: service_started
image: "${DOCKER_REGISTRY}/wres/wres-graphics:20241018-74b8415"
image: "${DOCKER_REGISTRY}/wres/wres-graphics:20241126-2da40a3-dev"
restart: always
volumes:
# To write graphics outputs
Expand All @@ -145,7 +145,7 @@ services:
depends_on:
eventsbroker:
condition: service_started
image: "${DOCKER_REGISTRY}/wres/wres-writing:20241018-74b8415"
image: "${DOCKER_REGISTRY}/wres/wres-writing:20241126-2da40a3-dev"
restart: always
volumes:
# To write numeric outputs
Expand Down
107 changes: 31 additions & 76 deletions scripts/dockerize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ wres_writing_version=$writing_version
if [[ "$1" != "" && "$1" != "auto" ]]
then
wres_core_version=$1
overall_version=$wres_core_version
fi

if [[ "$2" != "" && "$2" != "auto" ]]
Expand All @@ -76,6 +77,7 @@ fi
if [[ "$3" != "" && "$3" != "auto" ]]
then
wres_tasker_version=$3
tasker_version=$wres_tasker_version
fi

if [[ "$4" != "" && "$4" != "auto" ]]
Expand All @@ -96,11 +98,13 @@ fi
if [[ "$7" != "" && "$7" != "auto" ]]
then
wres_vis_version=$7
graphics_version=$wres_vis_version
fi

if [[ "$8" != "" && "$8" != "auto" ]]
then
wres_writing_version=$8
writing_version=$wres_writing_version
fi

echo ""
Expand Down Expand Up @@ -248,82 +252,33 @@ then
exit 2
fi

primary_image_dev_status=$( echo ${overall_version} | grep "dev" )

if [[ "$primary_image_dev_status" != "" ]]
then
echo "Refusing to tag and push primary docker image version ${overall_version} because its Dockerfile has not been committed to the repository yet."
else
echo "Tagging and pushing wres/wres-worker:$overall_version as $DOCKER_REGISTRY/wres/wres-worker/$overall_version..."
docker tag wres/wres-worker:$overall_version $DOCKER_REGISTRY/wres/wres-worker:$overall_version
docker push $DOCKER_REGISTRY/wres/wres-worker:$overall_version
fi

tasker_image_dev_status=$( echo ${tasker_version} | grep "dev" )

if [[ "$tasker_image_dev_status" != "" ]]
then
echo "Refusing to tag and push tasker docker image version ${tasker_version} because its Dockerfile has not been committed to the repository yet."
else
echo "Tagging and pushing wres/wres-tasker:$tasker_version as $DOCKER_REGISTRY/wres/wres-tasker/$tasker_version..."
docker tag wres/wres-tasker:$tasker_version $DOCKER_REGISTRY/wres/wres-tasker:$tasker_version
docker push $DOCKER_REGISTRY/wres/wres-tasker:$tasker_version
fi

broker_image_dev_status=$( echo ${broker_version} | grep "dev" )

if [[ "$broker_image_dev_status" != "" ]]
then
echo "Refusing to tag and push broker docker image version ${broker_version} because its Dockerfile has not been committed to the repository yet."
else
echo "Tagging and pushing wres/wres-broker:$broker_version as $DOCKER_REGISTRY/wres/wres-broker/$broker_version..."
docker tag wres/wres-broker:$broker_version $DOCKER_REGISTRY/wres/wres-broker:$broker_version
docker push $DOCKER_REGISTRY/wres/wres-broker:$broker_version
fi

redis_image_dev_status=$( echo ${redis_version} | grep "dev" )

if [[ "$redis_image_dev_status" != "" ]]
then
echo "Refusing to tag and push redis docker image version ${redis_version} because its Dockerfile has not been committed to the repository yet."
else
echo "Tagging and pushing wres/wres-redis:$redis_version as $DOCKER_REGISTRY/wres/wres-redis/$redis_version..."
docker tag wres/wres-redis:$redis_version $DOCKER_REGISTRY/wres/wres-redis:$redis_version
docker push $DOCKER_REGISTRY/wres/wres-redis:$redis_version
fi

eventsbroker_image_dev_status=$( echo ${eventsbroker_version} | grep "dev" )

if [[ "$eventsbroker_image_dev_status" != "" ]]
then
echo "Refusing to tag and push eventsbroker docker image version ${eventsbroker_version} because its Dockerfile has not been committed to the repository yet."
else
echo "Tagging and pushing wres/wres-eventsbroker:$eventsbroker_version as $DOCKER_REGISTRY/wres/wres-eventsbroker/$eventsbroker_version..."
docker tag wres/wres-eventsbroker:$eventsbroker_version $DOCKER_REGISTRY/wres/wres-eventsbroker:$eventsbroker_version
docker push $DOCKER_REGISTRY/wres/wres-eventsbroker:$eventsbroker_version
fi

graphics_image_dev_status=$( echo ${graphics_version} | grep "dev" )

if [[ "$graphics_image_dev_status" != "" ]]
then
echo "Refusing to tag and push graphics docker image version ${graphics_version} because its Dockerfile has not been committed to the repository yet."
else
echo "Tagging and pushing wres/wres-graphics:$graphics_version as $DOCKER_REGISTRY/wres/wres-graphics/$graphics_version..."
docker tag wres/wres-graphics:$graphics_version $DOCKER_REGISTRY/wres/wres-graphics:$graphics_version
docker push $DOCKER_REGISTRY/wres/wres-graphics:$graphics_version
fi

writing_image_dev_status=$( echo ${writing_version} | grep "dev" )

if [[ "$writing_image_dev_status" != "" ]]
then
echo "Refusing to tag and push writing docker image version ${writing_version} because its Dockerfile has not been committed to the repository yet."
else
echo "Tagging and pushing wres/wres-writing:$writing_version as $DOCKER_REGISTRY/wres/wres-writing/$writing_version..."
docker tag wres/wres-writing:$writing_version $DOCKER_REGISTRY/wres/wres-writing:$writing_version
docker push $DOCKER_REGISTRY/wres/wres-writing:$writing_version
fi
echo "Tagging and pushing wres/wres-worker:$overall_version as $DOCKER_REGISTRY/wres/wres-worker/$overall_version..."
docker tag wres/wres-worker:$overall_version $DOCKER_REGISTRY/wres/wres-worker:$overall_version
docker push $DOCKER_REGISTRY/wres/wres-worker:$overall_version

echo "Tagging and pushing wres/wres-tasker:$tasker_version as $DOCKER_REGISTRY/wres/wres-tasker/$tasker_version..."
docker tag wres/wres-tasker:$tasker_version $DOCKER_REGISTRY/wres/wres-tasker:$tasker_version
docker push $DOCKER_REGISTRY/wres/wres-tasker:$tasker_version

echo "Tagging and pushing wres/wres-broker:$broker_version as $DOCKER_REGISTRY/wres/wres-broker/$broker_version..."
docker tag wres/wres-broker:$broker_version $DOCKER_REGISTRY/wres/wres-broker:$broker_version
docker push $DOCKER_REGISTRY/wres/wres-broker:$broker_version

echo "Tagging and pushing wres/wres-redis:$redis_version as $DOCKER_REGISTRY/wres/wres-redis/$redis_version..."
docker tag wres/wres-redis:$redis_version $DOCKER_REGISTRY/wres/wres-redis:$redis_version
docker push $DOCKER_REGISTRY/wres/wres-redis:$redis_version

echo "Tagging and pushing wres/wres-eventsbroker:$eventsbroker_version as $DOCKER_REGISTRY/wres/wres-eventsbroker/$eventsbroker_version..."
docker tag wres/wres-eventsbroker:$eventsbroker_version $DOCKER_REGISTRY/wres/wres-eventsbroker:$eventsbroker_version
docker push $DOCKER_REGISTRY/wres/wres-eventsbroker:$eventsbroker_version

echo "Tagging and pushing wres/wres-graphics:$graphics_version as $DOCKER_REGISTRY/wres/wres-graphics/$graphics_version..."
docker tag wres/wres-graphics:$graphics_version $DOCKER_REGISTRY/wres/wres-graphics:$graphics_version
docker push $DOCKER_REGISTRY/wres/wres-graphics:$graphics_version

echo "Tagging and pushing wres/wres-writing:$writing_version as $DOCKER_REGISTRY/wres/wres-writing/$writing_version..."
docker tag wres/wres-writing:$writing_version $DOCKER_REGISTRY/wres/wres-writing:$writing_version
docker push $DOCKER_REGISTRY/wres/wres-writing:$writing_version

echo "Tagging and pushing wres/nginx as wres/nginx..."
docker tag wres/nginx $DOCKER_REGISTRY/wres/nginx
Expand Down
2 changes: 1 addition & 1 deletion wres-eventsbroker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN apk --no-cache add tar && \
# Final image
#############

FROM registry.access.redhat.com/ubi8/ubi:8.10-1088
FROM registry.access.redhat.com/ubi8/ubi:8.10-1132

RUN dnf install -y \
java-17-openjdk-headless-1:17.0.13.0.11-3.el8.x86_64 \
Expand Down
2 changes: 1 addition & 1 deletion wres-redis/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM redis:7.4-alpine3.20
FROM redis:7.4.1-alpine3.20

# See comments in main/worker/root wres Dockerfile
# Instead, very manually create user and group:
Expand Down
2 changes: 1 addition & 1 deletion wres-vis/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# From a base image, make updates
FROM registry.access.redhat.com/ubi8/ubi:8.10-1088
FROM registry.access.redhat.com/ubi8/ubi:8.10-1132

RUN dnf install -y \
java-17-openjdk-headless-1:17.0.13.0.11-3.el8.x86_64 \
Expand Down
2 changes: 1 addition & 1 deletion wres-writing/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# From a base image, make updates
FROM registry.access.redhat.com/ubi8/ubi:8.10-1088
FROM registry.access.redhat.com/ubi8/ubi:8.10-1132

RUN dnf install -y \
java-17-openjdk-headless-1:17.0.13.0.11-3.el8.x86_64 \
Expand Down

0 comments on commit 33eacdb

Please sign in to comment.