Cleanup and gradle update.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a0ad98bf52
commit
3e7ba2f46e
|
@ -11,8 +11,8 @@ steps:
|
||||||
- name: publish
|
- name: publish
|
||||||
image: eclipse-temurin:8-jdk
|
image: eclipse-temurin:8-jdk
|
||||||
environment:
|
environment:
|
||||||
AUTH_TOKEN:
|
AUTH_TOKEN: # Gitea authentication: username:token
|
||||||
from_secret: auth # gitea_username:gitea_token
|
from_secret: auth # Name of DroneCI secret exposing above
|
||||||
commands:
|
commands:
|
||||||
- ./gradlew packages
|
- ./gradlew packages
|
||||||
- for file in build/libs/*-all.jar ; do curl --user "$${AUTH_TOKEN}" --upload-file "$${file}" "https://git.data.coop/api/packages/${DRONE_REPO_OWNER}/generic/${DRONE_REPO_NAME}/${DRONE_TAG}/$(basename $file)" ; done
|
- for file in build/libs/*-all.jar ; do curl --user "$${AUTH_TOKEN}" --upload-file "$${file}" "https://git.data.coop/api/packages/${DRONE_REPO_OWNER}/generic/${DRONE_REPO_NAME}/${DRONE_TAG}/$(basename $file)" ; done
|
||||||
|
|
|
@ -3,9 +3,9 @@ plugins {
|
||||||
id 'groovy'
|
id 'groovy'
|
||||||
id 'application'
|
id 'application'
|
||||||
id 'jacoco'
|
id 'jacoco'
|
||||||
id "com.github.johnrengelman.shadow" version "7.1.2"
|
|
||||||
id "net.nemerosa.versioning" version "2.15.1"
|
id "net.nemerosa.versioning" version "2.15.1"
|
||||||
id "nebula.ospackage" version "9.1.1"
|
id "com.netflix.nebula.ospackage" version "10.0.0"
|
||||||
|
id "com.github.johnrengelman.shadow" version "7.1.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -71,8 +71,6 @@ jacocoTestCoverageVerification {
|
||||||
}
|
}
|
||||||
check.dependsOn jacocoTestCoverageVerification
|
check.dependsOn jacocoTestCoverageVerification
|
||||||
|
|
||||||
|
|
||||||
apply plugin: 'nebula.ospackage'
|
|
||||||
ospackage {
|
ospackage {
|
||||||
packageName = 'syslogd'
|
packageName = 'syslogd'
|
||||||
release = '1'
|
release = '1'
|
||||||
|
|
|
@ -8,7 +8,7 @@ More information about the AIX errlogger is available on the IBM [knowledge cent
|
||||||
|
|
||||||
### Prepare the local syslog service
|
### Prepare the local syslog service
|
||||||
|
|
||||||
Configure the local syslog service to forward messages to our remote [syslogd](https://bitbucket.org/mnellemann/syslogd/) service.
|
Configure the local syslog service to forward messages to our remote [syslogd](https://git.data.coop/nellemann/syslogd/) service.
|
||||||
|
|
||||||
Create an empty local log file:
|
Create an empty local log file:
|
||||||
|
|
||||||
|
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -1,5 +1,5 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
|
@ -21,7 +21,6 @@ import biz.nellemann.syslogd.LogReceiveListener;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.net.DatagramPacket;
|
import java.net.DatagramPacket;
|
||||||
import java.net.DatagramSocket;
|
import java.net.DatagramSocket;
|
||||||
import java.nio.charset.StandardCharsets;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,6 @@ import biz.nellemann.syslogd.msg.SyslogMessage;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
import java.io.UnsupportedEncodingException;
|
|
||||||
import java.nio.charset.StandardCharsets;
|
import java.nio.charset.StandardCharsets;
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
||||||
import java.util.zip.DataFormatException;
|
import java.util.zip.DataFormatException;
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package biz.nellemann.syslogd.parser;
|
package biz.nellemann.syslogd.parser;
|
||||||
|
|
||||||
import biz.nellemann.syslogd.LogReceiveEvent;
|
|
||||||
import biz.nellemann.syslogd.msg.Facility;
|
import biz.nellemann.syslogd.msg.Facility;
|
||||||
import biz.nellemann.syslogd.msg.Severity;
|
import biz.nellemann.syslogd.msg.Severity;
|
||||||
import biz.nellemann.syslogd.msg.SyslogMessage;
|
import biz.nellemann.syslogd.msg.SyslogMessage;
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package biz.nellemann.syslogd.parser;
|
package biz.nellemann.syslogd.parser;
|
||||||
|
|
||||||
import biz.nellemann.syslogd.LogReceiveEvent;
|
|
||||||
import biz.nellemann.syslogd.msg.Severity;
|
import biz.nellemann.syslogd.msg.Severity;
|
||||||
import biz.nellemann.syslogd.msg.Facility;
|
import biz.nellemann.syslogd.msg.Facility;
|
||||||
import biz.nellemann.syslogd.msg.SyslogMessage;
|
import biz.nellemann.syslogd.msg.SyslogMessage;
|
||||||
|
|
Loading…
Reference in a new issue