Skip to content

Commit 1b86491

Browse files
authored
Merge branch 'master' into unsup
2 parents e0016f1 + f3ed098 commit 1b86491

34 files changed

+512
-285
lines changed

.github/workflows/auto-release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Auto release
2+
on:
3+
schedule:
4+
- cron: "0 14 * * *"
5+
workflow_dispatch:
6+
jobs:
7+
auto-release:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: zenengeo/github-auto-release-action@main
11+
with:
12+
stable-duration: 3d
13+
force-duration: 14d
14+
token: '${{ secrets.GH_TOKEN }}'
15+
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,27 +92,27 @@ jobs:
9292
platforms: linux/amd64,linux/arm/v7,linux/arm64
9393
mcVersion: 1.12.2
9494
# Pin version for Java 8
95-
# mcHelperVersion: 1.46.0
95+
mcHelperVersion: 1.51.1
9696
- variant: java8-graalvm-ce
9797
baseImage: ghcr.io/graalvm/graalvm-ce:java8
9898
platforms: linux/amd64
9999
mcVersion: 1.12.2
100100
# Pin version for Java 8
101-
# mcHelperVersion: 1.46.0
101+
mcHelperVersion: 1.51.1
102102
- variant: java8-jdk
103103
baseImage: eclipse-temurin:8u312-b07-jdk-focal
104104
platforms: linux/amd64,linux/arm64
105105
mcVersion: 1.12.2
106106
# Pin version for Java 8
107-
# mcHelperVersion: 1.46.0
107+
mcHelperVersion: 1.51.1
108108
env:
109109
IMAGE_TO_TEST: "${{ github.repository_owner }}/minecraft-server:test-${{ matrix.variant }}-${{ github.run_id }}"
110110
HAS_IMAGE_REPO_ACCESS: ${{ secrets.DOCKER_USER != '' && secrets.DOCKER_PASSWORD != '' }}
111-
MAIN_VARIANT: java21
111+
MAIN_VARIANT: java25
112112
runs-on: ubuntu-22.04
113113
steps:
114114
- name: Checkout
115-
uses: actions/[email protected].0
115+
uses: actions/[email protected].1
116116
with:
117117
# for build-files step
118118
fetch-depth: 0
@@ -149,7 +149,7 @@ jobs:
149149
org.opencontainers.image.authors=Geoff Bourne <[email protected]>
150150
151151
- name: Setup Docker Buildx
152-
uses: docker/setup-buildx-action@v3.11.1
152+
uses: docker/setup-buildx-action@v3.12.0
153153

154154
- name: Set up QEMU
155155
uses: docker/[email protected]
@@ -175,6 +175,7 @@ jobs:
175175
MINECRAFT_VERSION: ${{ matrix.mcVersion }}
176176
VARIANT: ${{ matrix.variant }}
177177
CF_API_KEY: ${{ secrets.CF_API_KEY }}
178+
GH_TOKEN: ${{ github.token }}
178179
run: |
179180
tests/test.sh
180181

.github/workflows/verify-pr.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Verify PR
22
on:
33
pull_request:
4-
branches: [ master ]
5-
types: [assigned, opened, synchronize, labeled]
4+
branches:
5+
- master
66
paths-ignore:
77
- "*.md"
88
- "docs/**"
@@ -19,14 +19,14 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
variant:
22-
- java21
22+
- java25
2323
- java21-alpine
2424
- java17
2525
- java8
2626
include:
27-
# JAVA 21:
28-
- variant: java21
29-
baseImage: eclipse-temurin:21-jre
27+
# JAVA 21/25:
28+
- variant: java25
29+
baseImage: eclipse-temurin:25-jre
3030
platforms: linux/amd64,linux/arm64
3131
mcVersion: latest
3232
- variant: java21-alpine
@@ -44,19 +44,19 @@ jobs:
4444
platforms: linux/amd64
4545
mcVersion: 1.12.2
4646
# Pin version for Java 8
47-
# mcHelperVersion: 1.42.1
47+
mcHelperVersion: 1.51.1
4848
env:
4949
IMAGE_TO_TEST: ${{ github.repository_owner }}/minecraft-server:test-${{ matrix.variant }}-${{ github.run_id }}
5050
runs-on: ubuntu-22.04
5151
steps:
5252
- name: Checkout
53-
uses: actions/[email protected].0
53+
uses: actions/[email protected].1
5454
with:
5555
# for build-files step
5656
fetch-depth: 0
5757

5858
- name: Setup Docker Buildx
59-
uses: docker/setup-buildx-action@v3.11.1
59+
uses: docker/setup-buildx-action@v3.12.0
6060

6161
- name: Confirm multi-arch build
6262
uses: docker/[email protected]
@@ -92,5 +92,6 @@ jobs:
9292
VARIANT: ${{ matrix.variant }}
9393
CF_API_KEY: ${{ secrets.CF_API_KEY }}
9494
DEBUG: ${{ runner.debug }}
95+
GH_TOKEN: ${{ github.token }}
9596
run: |
9697
tests/test.sh

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
*.iml
55
/gh-md-toc
66
personal-build-and-develop.*
7+
site/

.readthedocs.yaml

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
1-
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
2-
version: 2
3-
4-
build:
5-
os: ubuntu-22.04
6-
tools:
7-
python: "3.11"
8-
9-
mkdocs:
10-
configuration: mkdocs.yml
11-
12-
python:
13-
install:
14-
- requirements: docs/requirements.txt
1+
version: 2
2+
3+
python:
4+
install:
5+
- requirements: docs/requirements.txt
6+
7+
build:
8+
os: ubuntu-24.04
9+
tools:
10+
python: latest
11+
jobs:
12+
# We recommend using a requirements file for reproducible builds.
13+
# This is just a quick example to get started.
14+
# https://docs.readthedocs.io/page/guides/reproducible-builds.html
15+
install:
16+
- pip install zensical
17+
build:
18+
html:
19+
- zensical build
20+
post_build:
21+
- mkdir -p $READTHEDOCS_OUTPUT/html/
22+
- cp --recursive site/* $READTHEDOCS_OUTPUT/html/

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BASE_IMAGE=eclipse-temurin:21-jre
1+
ARG BASE_IMAGE=eclipse-temurin:25-jre
22
FROM ${BASE_IMAGE}
33

44
# hook into docker BuildKit --platform support
@@ -44,12 +44,12 @@ RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \
4444
--var version=${MC_MONITOR_VERSION} --var app=mc-monitor --file {{.app}} \
4545
--from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
4646

47-
ARG MC_SERVER_RUNNER_VERSION=1.14.0
47+
ARG MC_SERVER_RUNNER_VERSION=1.14.1
4848
RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \
4949
--var version=${MC_SERVER_RUNNER_VERSION} --var app=mc-server-runner --file {{.app}} \
5050
--from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
5151

52-
ARG MC_HELPER_VERSION=1.51.1
52+
ARG MC_HELPER_VERSION=1.52.1
5353
ARG MC_HELPER_BASE_URL=${GITHUB_BASEURL}/itzg/mc-image-helper/releases/download/${MC_HELPER_VERSION}
5454
# used for cache busting local copy of mc-image-helper
5555
ARG MC_HELPER_REV=1

build/ol/install-packages.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ dnf clean all
6868
curl -fsSL -o /tmp/knock.tar.gz https://github.com/Metalcape/knock/releases/download/0.8.1/knock-0.8.1-$TARGET.tar.gz
6969
tar -xf /tmp/knock.tar.gz -C /usr/local/ && rm /tmp/knock.tar.gz
7070
ln -s /usr/local/sbin/knockd /usr/sbin/knockd
71+
ls -l /usr/local/sbin/knockd
7172
setcap cap_net_raw=ep /usr/local/sbin/knockd
7273

7374
# Set git credentials globally

compose-docs.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# This composition can be used to serve up the rendered mkdocs for local authoring.
2+
#
3+
# docker compose -f compose-docs.yml -p zensical up
4+
#
5+
# and then access http://localhost:8000
6+
7+
services:
8+
zensical:
9+
build:
10+
context: .
11+
dockerfile: docs/Dockerfile
12+
volumes:
13+
- ./zensical.toml:/docs/zensical.toml
14+
- ./docs:/docs/docs
15+
ports:
16+
- "8000:8000"

docker-compose-mkdocs.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

docs/Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
FROM python:3.11
2-
3-
RUN pip install --upgrade pip
4-
5-
WORKDIR /mkdocs
1+
FROM zensical/zensical
62

73
RUN --mount=target=/build/requirements.txt,source=docs/requirements.txt \
84
pip install -r /build/requirements.txt
9-
10-
ENTRYPOINT ["mkdocs"]

0 commit comments

Comments
 (0)