1 Commits

Author SHA1 Message Date
Renovate Bot
ccd4a6c874 Update dependency net.dv8tion:JDA to v5.2.1 2024-12-26 22:41:49 +00:00
4 changed files with 9 additions and 41 deletions

View File

@@ -3,8 +3,8 @@ name: Production deployment
on:
push:
tags:
- 'v*'
branches:
- master
env:
IMAGE_NAME: "jdrbot"
@@ -17,14 +17,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Check out repo's default branch
uses: actions/checkout@v4
- name: Getting version
uses: https://gitea.skydust.fr/actions/get-version@main
- name: Update java package version
run: |
log_info "Updating gradle.properties version to $(yellow)$NEW_VERSION"
sed -Ei "s|^(version=).*|\1${NEW_VERSION}|" gradle.properties
cat gradle.properties
uses: actions/checkout@v3
- name: Docker login
uses: https://gitea.skydust.fr/actions/docker-login-skydust@main
with:

View File

@@ -1,23 +0,0 @@
name: Release
on:
workflow_dispatch:
inputs:
semver:
type: choice
description: Choose the semver
options:
- "Major - Incompatible API changes"
- "Minor - Adding functionality in a backward compatible manner"
- "Patch - Backward compatible bug fixes"
jobs:
release:
name: Release
runs-on: skydust-runner
steps:
- name: Release
uses: https://gitea.skydust.fr/actions/create-release@main
with:
semver: ${{ inputs.semver }}
token: ${{ secrets.CI_GIT_WRITE_TOKEN }}

View File

@@ -1,14 +1,12 @@
FROM public.ecr.aws/docker/library/eclipse-temurin:23.0.1_11-jdk AS builder
FROM public.ecr.aws/docker/library/eclipse-temurin:20.0.2_9-jdk AS builder
WORKDIR /app
COPY . /app
RUN ./gradlew shadowJar
FROM public.ecr.aws/docker/library/eclipse-temurin:23.0.1_11-jre AS runner
FROM public.ecr.aws/docker/library/eclipse-temurin:20.0.2_9-jre AS runner
LABEL authors="skydust"
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/*
COPY --from=builder /app/build/libs/JdrBot.jar /app/JdrBot.jar

View File

@@ -26,14 +26,14 @@ repositories {
}
dependencies {
implementation 'net.lingala.zip4j:zip4j:2.11.5'
implementation 'net.lingala.zip4j:zip4j:2.10.0'
implementation 'club.minnced:opus-java:1.1.1'
implementation 'ws.schild:jave-all-deps:3.5.0'
implementation 'ws.schild:jave-all-deps:3.3.1'
implementation 'com.google.guava:guava:31.1-jre'
implementation 'com.github.oshi:oshi-core:6.6.5'
implementation 'com.github.oshi:oshi-json:3.13.6'
implementation 'org.slf4j:slf4j-simple:2.0.16'
implementation 'org.apache.commons:commons-lang3:3.17.0'
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'dev.arbjerg:lavaplayer:2.2.2'
implementation 'net.dv8tion:JDA:5.2.1'
implementation 'org.reflections:reflections:0.10.2'