Merge branch 'release/1.1.0'
This commit is contained in:
29
.bumpversion.cfg
Normal file
29
.bumpversion.cfg
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
[bumpversion]
|
||||||
|
current_version = 1.1.0
|
||||||
|
commit = True
|
||||||
|
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<release>[a-z]+))?
|
||||||
|
serialize =
|
||||||
|
{major}.{minor}.{patch}-{release}
|
||||||
|
{major}.{minor}.{patch}
|
||||||
|
|
||||||
|
[bumpversion:part:release]
|
||||||
|
optional_value = gamma
|
||||||
|
values =
|
||||||
|
beta
|
||||||
|
gamma
|
||||||
|
|
||||||
|
[bumpversion:file:pom.xml]
|
||||||
|
search = <version>{current_version}</version>
|
||||||
|
replace = <version>{new_version}</version>
|
||||||
|
|
||||||
|
[bumpversion:file:docker-compose.yml]
|
||||||
|
search = image: easydrop:{current_version}
|
||||||
|
replace = image: easydrop:{new_version}
|
||||||
|
|
||||||
|
[bumpversion:file:Dockerfile]
|
||||||
|
search = /app/target/easydrop-{current_version}.jar
|
||||||
|
replace = /app/target/easydrop-{new_version}.jar
|
||||||
|
|
||||||
|
[bumpversion:file:README.md]
|
||||||
|
search = version-{current_version}-orange
|
||||||
|
replace = version-{new_version}-orange
|
||||||
@@ -9,6 +9,7 @@ variables:
|
|||||||
-DdeployAtEnd=true
|
-DdeployAtEnd=true
|
||||||
-Dsonar.host.url=$SONAR_URL
|
-Dsonar.host.url=$SONAR_URL
|
||||||
-Dsonar.token=$SONAR_TOKEN
|
-Dsonar.token=$SONAR_TOKEN
|
||||||
|
-Dsonar.projectKey=EasyDrop
|
||||||
-Dhttps.protocols=TLSv1.2
|
-Dhttps.protocols=TLSv1.2
|
||||||
-Dorg.slf4j.simpleLogger.showDateTime=true
|
-Dorg.slf4j.simpleLogger.showDateTime=true
|
||||||
-Djava.awt.headless=true
|
-Djava.awt.headless=true
|
||||||
@@ -24,6 +25,7 @@ stages:
|
|||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
- analyze
|
- analyze
|
||||||
|
- document
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
@@ -42,3 +44,16 @@ analyze:
|
|||||||
script:
|
script:
|
||||||
- echo "Starting Code Analysis..."
|
- echo "Starting Code Analysis..."
|
||||||
- mvn $MVN_OPTS verify sonar:sonar -Pcoverage
|
- mvn $MVN_OPTS verify sonar:sonar -Pcoverage
|
||||||
|
|
||||||
|
document:
|
||||||
|
stage: document
|
||||||
|
script:
|
||||||
|
- echo "Starting Doc Generation..."
|
||||||
|
- apt-get update && apt-get install -y graphviz
|
||||||
|
- mvn clean compile
|
||||||
|
- mvn $MVN_OPTS generate-resources -Pgenerate-docs
|
||||||
|
- cp target/generated-docs/easydrop.png uml.png
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- uml.png
|
||||||
|
name: UML
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ RUN mvn -B package -DskipTests
|
|||||||
FROM openjdk:17-jdk-slim
|
FROM openjdk:17-jdk-slim
|
||||||
|
|
||||||
# Copy the jar file from the build stage
|
# Copy the jar file from the build stage
|
||||||
COPY --from=build /app/target/easydrop-1.0.2.jar /easydrop.jar
|
COPY --from=build /app/target/easydrop-1.1.0.jar /easydrop.jar
|
||||||
|
|
||||||
# Execute the application when the docker container starts.
|
# Execute the application when the docker container starts.
|
||||||
ENTRYPOINT ["java", "-jar", "/easydrop.jar"]
|
ENTRYPOINT ["java", "-jar", "/easydrop.jar"]
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
# EasyDrop
|
# EasyDrop
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||
[](https://sonar.fbe-adswen.rwu.de/dashboard?id=de.rwu%3Aeasydrop)
|
[](https://sonar.ms-ds.org/dashboard?id=EasyDrop)
|
||||||
[](https://www.youtube.com/watch?v=rmV2Ztoh6LY)
|
[](https://www.youtube.com/watch?v=rmV2Ztoh6LY)
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
@@ -44,4 +44,4 @@ To run it on a fixed schedule, install a cron job, e.g.
|
|||||||
|
|
||||||
## Contributing 👷♂️👷♀️
|
## Contributing 👷♂️👷♀️
|
||||||
|
|
||||||
Contribution guidelines are available in the [project wiki](https://gitlab.fbe-adswen.rwu.de/team1/sandbox2/-/wikis/Richtlinien/Development)
|
Contribution guidelines are available in the [project wiki](https://gitlab.ms-ds.org/marvinscham/EasyDrop/-/wikis/Richtlinien/Development)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: easydrop:1.0.2
|
image: easydrop:1.1.0
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/config
|
- ./config:/config
|
||||||
- type: bind
|
- type: bind
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -5,7 +5,7 @@
|
|||||||
<groupId>de.rwu</groupId>
|
<groupId>de.rwu</groupId>
|
||||||
<artifactId>easydrop</artifactId>
|
<artifactId>easydrop</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>1.0.2</version>
|
<version>1.1.0</version>
|
||||||
<name>EasyDrop</name>
|
<name>EasyDrop</name>
|
||||||
<url>http://maven.apache.org</url>
|
<url>http://maven.apache.org</url>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user