Compare commits
16 Commits
v4.2.0
...
82a139a6a1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
82a139a6a1 | ||
|
|
a980a69908 | ||
|
|
0c0cb791ce | ||
|
|
780c672e56 | ||
|
|
03665f5556 | ||
|
|
e805f12a9d | ||
|
|
dd7dfaedaf | ||
|
|
3c0103c4ed | ||
|
|
6c222009b2 | ||
|
|
e077d18760 | ||
|
|
2afc52e858 | ||
| 17a094b727 | |||
|
|
0514110fa0 | ||
|
|
4e49b098da | ||
| c89e740e02 | |||
| 9b82cb2823 |
@@ -20,10 +20,10 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Getting version
|
- name: Getting version
|
||||||
uses: https://gitea.skydust.fr/actions/get-version@main
|
uses: https://gitea.skydust.fr/actions/get-version@main
|
||||||
- name: Update rust package version
|
- name: Update java package version
|
||||||
run: |
|
run: |
|
||||||
log_info "Updating gradle.properties version to $(yellow)$NEW_VERSION"
|
log_info "Updating gradle.properties version to $(yellow)$NEW_VERSION"
|
||||||
sed -Ei "s|^(version=).*$|\1${NEW_VERSION}|" gradle.properties
|
sed -Ei "s|^(version=).*|\1${NEW_VERSION}|" gradle.properties
|
||||||
cat gradle.properties
|
cat gradle.properties
|
||||||
- name: Docker login
|
- name: Docker login
|
||||||
uses: https://gitea.skydust.fr/actions/docker-login-skydust@main
|
uses: https://gitea.skydust.fr/actions/docker-login-skydust@main
|
||||||
|
|||||||
@@ -20,4 +20,4 @@ jobs:
|
|||||||
uses: https://gitea.skydust.fr/actions/create-release@main
|
uses: https://gitea.skydust.fr/actions/create-release@main
|
||||||
with:
|
with:
|
||||||
semver: ${{ inputs.semver }}
|
semver: ${{ inputs.semver }}
|
||||||
token: ${{ secrets.CI_GIT_WRITE_TOKEN }}
|
token: ${{ secrets.CI_TOKEN }}
|
||||||
|
|||||||
@@ -1,15 +1,17 @@
|
|||||||
FROM public.ecr.aws/docker/library/eclipse-temurin:20.0.2_9-jdk AS builder
|
FROM public.ecr.aws/docker/library/eclipse-temurin:23.0.1_11-jdk AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . /app
|
COPY . /app
|
||||||
RUN ./gradlew shadowJar
|
RUN ./gradlew shadowJar
|
||||||
|
|
||||||
FROM public.ecr.aws/docker/library/eclipse-temurin:20.0.2_9-jre AS runner
|
FROM public.ecr.aws/docker/library/eclipse-temurin:23.0.1_11-jre AS runner
|
||||||
LABEL authors="skydust"
|
LABEL authors="skydust"
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN wget https://repo.zabbix.com/zabbix/7.2/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.2+ubuntu24.04_all.deb
|
||||||
|
RUN dpkg -i zabbix-release_latest_7.2+ubuntu24.04_all.deb && rm zabbix-release_latest_7.2+ubuntu24.04_all.deb
|
||||||
RUN apt update && apt install -y zabbix-sender && rm -rf /var/lib/apt/lists/*
|
RUN apt update && apt install -y zabbix-sender && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY --from=builder /app/build/libs/JdrBot.jar /app/JdrBot.jar
|
COPY --from=builder /app/build/libs/JdrBot.jar /app/JdrBot.jar
|
||||||
COPY start.sh /app
|
COPY start.sh /app
|
||||||
|
|
||||||
CMD ["/bin/bash","./start.sh"]
|
CMD ["/bin/bash","./start.sh"]
|
||||||
|
|||||||
10
build.gradle
10
build.gradle
@@ -29,13 +29,13 @@ dependencies {
|
|||||||
implementation 'net.lingala.zip4j:zip4j:2.11.5'
|
implementation 'net.lingala.zip4j:zip4j:2.11.5'
|
||||||
implementation 'club.minnced:opus-java:1.1.1'
|
implementation 'club.minnced:opus-java:1.1.1'
|
||||||
implementation 'ws.schild:jave-all-deps:3.5.0'
|
implementation 'ws.schild:jave-all-deps:3.5.0'
|
||||||
implementation 'com.google.guava:guava:31.1-jre'
|
implementation 'com.google.guava:guava:33.4.8-jre'
|
||||||
implementation 'com.github.oshi:oshi-core:6.6.5'
|
implementation 'com.github.oshi:oshi-core:6.8.1'
|
||||||
implementation 'com.github.oshi:oshi-json:3.13.6'
|
implementation 'com.github.oshi:oshi-json:3.13.6'
|
||||||
implementation 'org.slf4j:slf4j-simple:2.0.16'
|
implementation 'org.slf4j:slf4j-simple:2.0.17'
|
||||||
implementation 'org.apache.commons:commons-lang3:3.17.0'
|
implementation 'org.apache.commons:commons-lang3:3.17.0'
|
||||||
implementation 'dev.arbjerg:lavaplayer:2.2.2'
|
implementation 'dev.arbjerg:lavaplayer:2.2.3'
|
||||||
implementation 'net.dv8tion:JDA:5.2.1'
|
implementation 'net.dv8tion:JDA:5.3.2'
|
||||||
implementation 'org.reflections:reflections:0.10.2'
|
implementation 'org.reflections:reflections:0.10.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|||||||
2
gradlew
vendored
2
gradlew
vendored
@@ -205,7 +205,7 @@ fi
|
|||||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||||
|
|
||||||
# Collect all arguments for the java command:
|
# Collect all arguments for the java command:
|
||||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
||||||
# and any embedded shellness will be escaped.
|
# and any embedded shellness will be escaped.
|
||||||
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
||||||
# treated as '${Hostname}' itself on the command line.
|
# treated as '${Hostname}' itself on the command line.
|
||||||
|
|||||||
Reference in New Issue
Block a user