Merge remote-tracking branch 'origin/master' into build/fulltests-change-depends-condition

This commit is contained in:
Geoff Bourne
2025-11-23 11:41:10 -06:00
11 changed files with 69 additions and 17 deletions

View File

@@ -43,12 +43,12 @@ jobs:
platforms: linux/amd64,linux/arm64
mcVersion: latest
- variant: java25-graalvm
baseImage: container-registry.oracle.com/graalvm/jdk:25-ol8
baseImage: container-registry.oracle.com/graalvm/jdk:25-ol10
platforms: linux/amd64,linux/arm64
mcVersion: latest
# JAVA 21:
- variant: java21-graalvm
baseImage: container-registry.oracle.com/graalvm/jdk:21-ol8
baseImage: container-registry.oracle.com/graalvm/jdk:21-ol10
platforms: linux/amd64,linux/arm64
mcVersion: latest
- variant: java21
@@ -70,7 +70,7 @@ jobs:
platforms: linux/amd64,linux/arm/v7,linux/arm64
mcVersion: 1.20.4
- variant: java17-graalvm
baseImage: container-registry.oracle.com/graalvm/jdk:17-ol8
baseImage: container-registry.oracle.com/graalvm/jdk:17-ol10
platforms: linux/amd64,linux/arm64
mcVersion: 1.20.4
- variant: java17-alpine

View File

@@ -49,7 +49,7 @@ RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \
--var version=${MC_SERVER_RUNNER_VERSION} --var app=mc-server-runner --file {{.app}} \
--from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
ARG MC_HELPER_VERSION=1.50.5
ARG MC_HELPER_VERSION=1.50.6
ARG MC_HELPER_BASE_URL=${GITHUB_BASEURL}/itzg/mc-image-helper/releases/download/${MC_HELPER_VERSION}
# used for cache busting local copy of mc-image-helper
ARG MC_HELPER_REV=1

View File

@@ -15,7 +15,7 @@ dnf config-manager --set-enabled ol${os_major_version}_codeready_builder
tee /etc/yum.repos.d/ol${os_major_version}-epel.repo <<EOF
[ol${os_major_version}_developer_EPEL]
name=Oracle Linux \$releasever EPEL (\$basearch)
baseurl=https://yum.oracle.com/repo/OracleLinux/OL${os_major_version}/developer/EPEL/\$basearch/
baseurl=https://yum.oracle.com/repo/OracleLinux/OL${os_major_version}$([ "$os_major_version" -ge 10 ] && echo '/0' || echo '')/developer/EPEL/\$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
@@ -26,6 +26,7 @@ dnf update -y
# Install necessary packages
# shellcheck disable=SC2086
# shellcheck disable=SC2046
dnf install -y \
ImageMagick \
file \
@@ -36,25 +37,29 @@ dnf install -y \
git \
jq \
dos2unix \
mysql \
$([ "$os_major_version" -ge 10 ] && echo 'mysql8.4' || echo 'mysql') \
procps-ng \
tzdata \
rsync \
nano \
unzip \
zstd \
lbzip2 \
$([ "$os_major_version" -ge 10 ] && echo 'bzip2' || echo 'lbzip2') \
libpcap \
libwebp \
findutils \
which \
glibc-langpack-en \
$([ "$os_major_version" -ge 10 ] && echo 'git-lfs' || echo '') \
$([ "$os_major_version" -ge 10 ] && echo 'openssl' || echo '') \
${EXTRA_DNF_PACKAGES}
# Install Git LFS
# Install Git LFS through third party repository for older OL releases
if [ "$os_major_version" -lt 10 ]; then
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | sudo bash
dnf update -y
dnf install -y git-lfs
fi
# Clean up DNF when done
dnf clean all

View File

@@ -31,7 +31,7 @@ Notes
1. Why no arm64 for Java 17 Alpine? That is because the base images, such as [elipse-temurin](https://hub.docker.com/_/eclipse-temurin/tags?page=&page_size=&ordering=&name=17-jre-alpine) do not provide support for that. Use the Ubuntu based images instead.
2. Short-term variant, subject to deprecation upon next version introduction
3. Based on the [Oracle GraalMV images](https://blogs.oracle.com/java/post/new-oracle-graalvm-container-images), which as of JDK 17, are now under the [GraalVM Free License](https://blogs.oracle.com/java/post/graalvm-free-license) incorporating what used to be known as the GraalVM Enterprise.
3. Based on the [Oracle GraalVM images](https://blogs.oracle.com/java/post/new-oracle-graalvm-container-images), which as of JDK 17, are now under the [GraalVM Free License](https://blogs.oracle.com/java/post/graalvm-free-license) incorporating what used to be known as the GraalVM Enterprise.
4. This version of Java is [recommended for PaperMC 1.16.5](https://docs.papermc.io/paper/getting-started/#requirements)
!!! example "Example using java8"

View File

@@ -35,6 +35,7 @@
"controllable",
"controlling",
"craftpresence",
"cull-less-leaves",
"ctm",
"custom-main-menu",
"dark-mode-everywhere",
@@ -101,6 +102,7 @@
"make-bubbles-pop",
"menumobs",
"minecraft-rich-presence",
"mining-speed-tooltips",
"model-gap-fix",
"more-overlays",
"mouse-tweaks",

View File

@@ -32,6 +32,7 @@
"continuity",
"controlling",
"craftpresence",
"Cull Less Leaves",
"cwb",
"DisableCustomWorldsAdvice",
"distraction_free_recipes",
@@ -71,6 +72,7 @@
"loadmyresources",
"lootbeams",
"MindfulDarkness",
"miningspeedtooltips",
"MouseTweaks",
"nicer-skies",
"notenoughanimations",

View File

@@ -3,9 +3,15 @@ services:
image: nginx
volumes:
- ./web:/usr/share/nginx/html
healthcheck:
test: ["CMD", "curl", "--fail", "http://localhost/configs.zip"]
interval: 3s
timeout: 5s
retries: 3
mc:
depends_on:
- web
web:
condition: service_healthy
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
environment:
EULA: "true"

View File

@@ -3,9 +3,16 @@ services:
image: nginx
volumes:
- ./web:/usr/share/nginx/html
healthcheck:
test:
["CMD", "curl", "--fail", "http://localhost/motion-tween-example.gif"]
interval: 3s
timeout: 5s
retries: 3
mc:
depends_on:
- web
web:
condition: service_healthy
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
environment:
EULA: "true"

View File

@@ -3,9 +3,21 @@ services:
image: nginx
volumes:
- ./web:/usr/share/nginx/html
healthcheck:
test:
[
"CMD",
"curl",
"--fail",
"http://localhost/4737386_minecraft_squircle_icon.png",
]
interval: 3s
timeout: 5s
retries: 3
mc:
depends_on:
- web
web:
condition: service_healthy
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
environment:
EULA: "true"

View File

@@ -3,9 +3,21 @@ services:
image: nginx
volumes:
- ./web:/usr/share/nginx/html
healthcheck:
test:
[
"CMD",
"curl",
"--fail",
"http://localhost/4737386_minecraft_squircle_icon.png",
]
interval: 3s
timeout: 5s
retries: 3
mc:
depends_on:
- web
web:
condition: service_healthy
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
environment:
EULA: "true"

View File

@@ -3,9 +3,15 @@ services:
image: nginx
volumes:
- ./web:/usr/share/nginx/html
healthcheck:
test: ["CMD", "curl", "--fail", "http://localhost/pack.toml"]
interval: 3s
timeout: 5s
retries: 3
mc:
depends_on:
- web
web:
condition: service_healthy
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
environment:
EULA: "true"