Skip to content

Commit

Permalink
update to build 2.23.6 (#684)
Browse files Browse the repository at this point in the history
  • Loading branch information
NyakudyaA authored Jul 26, 2024
1 parent 379fd7b commit 0389746
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ jobs:
- image: 9.0.91-jdk11-temurin-focal
javaHome: /opt/java/openjdk
geoserverMinorVersion:
- minor: 25
patch: 2
- minor: 23
patch: 6
stablePluginBaseURL:
- https://sourceforge.net/projects/geoserver/files/GeoServer
steps:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/deploy-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
- image: 9.0.91-jdk11-temurin-focal
javaHome: /opt/java/openjdk
geoserverMinorVersion:
- minor: 25
patch: 2
- minor: 23
patch: 6
stablePluginBaseURL:
# empty because it often changes, so it's better
# to use the default one described in the Dockerfile
Expand Down Expand Up @@ -63,9 +63,8 @@ jobs:
file: Dockerfile
push: true
tags: |
${{ secrets.DOCKERHUB_REPO }}/geoserver
# ${{ secrets.DOCKERHUB_REPO }}/geoserver:${{ matrix.geoserverMajorVersion }}.${{ matrix.geoserverMinorVersion.minor }}.${{ matrix.geoserverMinorVersion.patch }}
# ${{ secrets.DOCKERHUB_REPO }}/geoserver:${{ matrix.geoserverMajorVersion }}.${{ matrix.geoserverMinorVersion.minor }}.${{ matrix.geoserverMinorVersion.patch }}--v${{ steps.current_date.outputs.formatted }}
${{ secrets.DOCKERHUB_REPO }}/geoserver:${{ matrix.geoserverMajorVersion }}.${{ matrix.geoserverMinorVersion.minor }}.${{ matrix.geoserverMinorVersion.patch }}
${{ secrets.DOCKERHUB_REPO }}/geoserver:${{ matrix.geoserverMajorVersion }}.${{ matrix.geoserverMinorVersion.minor }}.${{ matrix.geoserverMinorVersion.patch }}--v${{ steps.current_date.outputs.formatted }}
build-args: |
IMAGE_VERSION=${{ matrix.imageVersion.image }}
JAVA_HOME=${{ matrix.imageVersion.javaHome }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ scenario_tests/disk-quota/tests/__pycache__*
scenario_tests/gwc/tests/__pycache__*
scenario_tests/login/tests/__pycache__*
scenario_tests/stores/tests/__pycache__*
scenario_tests/libjpeg/tests/__pycache__*
.DS_Store
1 change: 0 additions & 1 deletion scenario_tests/libjpeg/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.9'

volumes:
geoserver-data-dir:
Expand Down
8 changes: 8 additions & 0 deletions scripts/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,17 +153,24 @@ fi

# A little logic that will fetch the geoserver war zip file if it is not available locally in the resources dir
function package_geoserver() {
# Check if resource file exists otherwise use the default downloaded
if [[ -f /tmp/resources/geoserver-${GS_VERSION}.zip ]];then
unzip /tmp/resources/geoserver-"${GS_VERSION}".zip -d /tmp/geoserver && \
unzip_geoserver
elif [[ -f /tmp/resources/geoserver-${GS_VERSION}-bin.zip ]];then
unzip /tmp/resources/geoserver-"${GS_VERSION}".zip -d /tmp/geoserver && \
unzip_geoserver
elif [[ -f /tmp/resources/geoserver.war ]];then
mkdir -p /tmp/geoserver
cp /tmp/resources/geoserver.war /tmp/geoserver/geoserver.war
unzip_geoserver
else
if [[ -f ${REQUIRED_PLUGINS_DIR}/geoserver.zip ]]; then
unzip ${REQUIRED_PLUGINS_DIR}/geoserver.zip -d /tmp/geoserver && \
unzip_geoserver
elif [[ -f ${REQUIRED_PLUGINS_DIR}/geoserver.war ]]; then
mkdir /tmp/geoserver
cp ${REQUIRED_PLUGINS_DIR}/geoserver.war /tmp/geoserver
unzip_geoserver
else
echo "GeoServer bin/war file missing, exiting installation"
Expand All @@ -172,6 +179,7 @@ function package_geoserver() {
fi
}


# Helper function to setup cluster config for the clustering plugin
# https://docs.geoserver.org/stable/en/user/community/jms-cluster/index.html
function cluster_config() {
Expand Down

0 comments on commit 0389746

Please sign in to comment.