Skip to content

Commit

Permalink
only build latest maintainance and production (#545)
Browse files Browse the repository at this point in the history
* only build latest maintainance and production

* update plugins txt files

* fix env name
  • Loading branch information
NyakudyaA authored Jul 8, 2023
1 parent ffecc3c commit 8df28f0
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 27 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/build-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,7 @@ jobs:
javaHome: /opt/java/openjdk
geoserverMinorVersion:
- minor: 22
patch: 0
- minor: 22
patch: 1
- minor: 22
patch: 2
- minor: 22
patch: 3
- minor: 23
patch: 0
patch: 4
- minor: 23
patch: 1
downloadAllStableExtensions:
Expand Down Expand Up @@ -105,11 +97,9 @@ jobs:
javaHome: /opt/java/openjdk
geoserverMinorVersion:
- minor: 22
patch: 0
- minor: 22
patch: 1
patch: 4
- minor: 23
patch: 0
patch: 1
downloadAllStableExtensions:
- 1
downloadAllCommunityExtensions:
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/deploy-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,7 @@ jobs:
javaHome: /opt/java/openjdk
geoserverMinorVersion:
- minor: 22
patch: 0
- minor: 22
patch: 1
- minor: 22
patch: 2
- minor: 22
patch: 3
- minor: 23
patch: 0
patch: 4
- minor: 23
patch: 1
downloadAllStableExtensions:
Expand Down
6 changes: 5 additions & 1 deletion build_data/community_plugins.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ ogr-datastore-plugin
opensearch-eo-plugin
ows-simulate-plugin
pgraster-plugin
s3-geotiff-plugin
saml-plugin
sec-keycloak-plugin
sec-oauth2-geonode-plugin
Expand All @@ -44,11 +45,14 @@ sec-oauth2-google-plugin
sec-oauth2-openid-connect-plugin
smart-data-loader-plugin
solr-plugin
spatialjson-plugin
stac-datastore-plugin
taskmanager-core-plugin
taskmanager-s3-plugin
teradata-plugin
vector-mosaic-plugin
vsi-plugin
webp-plugin
wms-eo-plugin
wmts-styles-plugin
wps-remote-plugin
stac-datastore-plugin
13 changes: 12 additions & 1 deletion build_data/stable_plugins.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,51 @@ app-schema-plugin
authkey-plugin
cas-plugin
charts-plugin
control-flow-plugin
css-plugin
csw-iso-plugin
csw-plugin
db2-plugin
dxf-plugin
excel-plugin
feature-pregeneralized-plugin
gdal-plugin
geofence-plugin
geofence-server-plugin
geofence-wps-plugin
geopkg-output-plugin
grib-plugin
gwc-s3-plugin
h2-plugin
imagemap-plugin
importer-plugin
inspire-plugin
jp2k-plugin
libjpeg-turbo-plugin
mapml-plugin
mbstyle-plugin
metadata-plugin
mongodb-plugin
monitor-plugin
mysql-plugin
netcdf-out-plugin
netcdf-plugin
ogr-wfs-plugin
ogr-wps-plugin
oracle-plugin
params-extractor-plugin
printing-plugin
pyramid-plugin
querylayer-plugin
sldservice-plugin
sqlserver-plugin
vectortiles-plugin
wcs2_0-eo-plugin
web-resource-plugin
wmts-multi-dimensional-plugin
wps-cluster-hazelcast-plugin
wps-download-plugin
wps-jdbc-plugin
wps-plugin
xslt-plugin
ysld-plugin
ysld-plugin
5 changes: 5 additions & 0 deletions scripts/env-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -378,3 +378,8 @@ if [ -z "${GEOSERVER_CONTEXT_ROOT}" ]; then
# For runtime only, do not change at build-time.
GEOSERVER_CONTEXT_ROOT=geoserver
fi

if [ -z "${SHOW_PASSWORD}" ]; then
# For runtime only, do not change at build-time.
SHOW_PASSWORD=true
fi
5 changes: 4 additions & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,10 @@ if [[ "${TOMCAT_EXTRAS}" =~ [Tt][Rr][Uu][Ee] ]]; then
if [[ -z ${TOMCAT_PASSWORD} ]]; then
generate_random_string 18
export TOMCAT_PASSWORD=${RAND}
echo -e "[Entrypoint] GENERATED tomcat PASSWORD: \e[1;31m $TOMCAT_PASSWORD \033[0m"
echo $TOMCAT_PASSWORD >${GEOSERVER_DATA_DIR}/security/tomcat_pass.txt
if [[ ${SHOW_PASSWORD} =~ [Tt][Rr][Uu][Ee] ]];then
echo -e "[Entrypoint] GENERATED tomcat PASSWORD: \e[1;31m $TOMCAT_PASSWORD \033[0m"
fi
else
export TOMCAT_PASSWORD=${TOMCAT_PASSWORD}
fi
Expand Down
6 changes: 4 additions & 2 deletions scripts/update_passwords.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ if [[ "${USE_DEFAULT_CREDENTIALS}" =~ [Ff][Aa][Ll][Ss][Ee] ]]; then
generate_random_string 15
GEOSERVER_ADMIN_PASSWORD=${RAND}
echo $GEOSERVER_ADMIN_PASSWORD >${GEOSERVER_DATA_DIR}/security/pass.txt
echo -e "\e[32m -------------------------------------------------------------------------------- \033[0m"
echo -e "[Entrypoint] GENERATED GeoServer Random PASSWORD is: \e[1;31m $GEOSERVER_ADMIN_PASSWORD \033[0m"
if [[ ${SHOW_PASSWORD} =~ [Tt][Rr][Uu][Ee] ]];then
echo -e "\e[32m -------------------------------------------------------------------------------- \033[0m"
echo -e "[Entrypoint] GENERATED GeoServer Random PASSWORD is: \e[1;31m $GEOSERVER_ADMIN_PASSWORD \033[0m"
fi
fi

USERS_XML=${USERS_XML:-${GEOSERVER_DATA_DIR}/security/usergroup/default/users.xml}
Expand Down

0 comments on commit 8df28f0

Please sign in to comment.