ci: use a prebuilt image with every pipeline dependency
Add ci/Dockerfile (JDK 21, Gradle 8.14.3, ffmpeg, sqlite3, node, docker CLI and Helm) and build it as taptap/audiomanager-ci. Workflows now start from that image instead of downloading a JDK and installing packages on every run. The registry namespace is the lowercased package owner `taptap`, not `tap-tap`; update the chart, workflow and documentation accordingly. The image build uses plain docker build/push, since the job container starts with no buildx plugin.
This commit is contained in:
1 parent
d812e7644f
commit
4c6f1c8fe8
6 files changed
+103
-38
No files matched your search
+2
-1
@@ -9,6 +9,7 @@
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
GRADLE="${GRADLE:-./gradlew}"
|
||||
WORK="${1:-$(mktemp -d "${TMPDIR:-/tmp}/musicmanager-smoke.XXXXXX")}"
|
||||
PORT="${SMOKE_PORT:-18099}"
|
||||
USER="smoke"
|
||||
@@ -65,7 +66,7 @@ users:
|
||||
EOF
|
||||
|
||||
log "Building fat JAR..."
|
||||
(cd "$ROOT" && ./gradlew -q shadowJar)
|
||||
(cd "$ROOT" && "$GRADLE" -q shadowJar)
|
||||
|
||||
JAR="$(find "$ROOT/build/libs" -name 'musicmanager-*-all.jar' | head -1)"
|
||||
if [[ -z "$JAR" ]]; then
|
||||
|
||||
Reference in new issue
Block a user