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
|
||||
-Dsonar.host.url=$SONAR_URL
|
||||
-Dsonar.token=$SONAR_TOKEN
|
||||
-Dsonar.projectKey=EasyDrop
|
||||
-Dhttps.protocols=TLSv1.2
|
||||
-Dorg.slf4j.simpleLogger.showDateTime=true
|
||||
-Djava.awt.headless=true
|
||||
@@ -24,6 +25,7 @@ stages:
|
||||
- build
|
||||
- test
|
||||
- analyze
|
||||
- document
|
||||
|
||||
build:
|
||||
stage: build
|
||||
@@ -42,3 +44,16 @@ analyze:
|
||||
script:
|
||||
- echo "Starting Code Analysis..."
|
||||
- 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
|
||||
|
||||
# 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.
|
||||
ENTRYPOINT ["java", "-jar", "/easydrop.jar"]
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 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)
|
||||
|
||||
## Description
|
||||
@@ -44,4 +44,4 @@ To run it on a fixed schedule, install a cron job, e.g.
|
||||
|
||||
## 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:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: easydrop:1.0.2
|
||||
image: easydrop:1.1.0
|
||||
volumes:
|
||||
- ./config:/config
|
||||
- type: bind
|
||||
|
||||
Reference in New Issue
Block a user