Коммит

This commit is contained in:
Struchkov Mark 2022-12-18 04:34:17 +03:00
parent b3f63e6b3c
commit f71ed56e1b
17 changed files with 62 additions and 16 deletions

32
.drone.yml Normal file
View File

@ -0,0 +1,32 @@
kind: pipeline
type: docker
name: haiti-framework
steps:
- name: publish maven central
image: maven:3.8.6-openjdk-11
volumes:
- name: m2
path: /root/.m2/repository
environment:
GPG_PRIVATE_KEY:
from_secret: GPG_PRIVATE_KEY
MAVEN_SETTINGS:
from_secret: MAVEN_SETTINGS
GPG_PASSPHRASE:
from_secret: GPG_PASSPHRASE
commands:
- echo "$GPG_PRIVATE_KEY" >> gpg.key
- echo "$MAVEN_SETTINGS" >> maven-settings.xml
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
- mvn --settings maven-settings.xml -U -P ossrh,release clean deploy
trigger:
ref:
- refs/tags/v.*.*.*
volumes:
- name: m2
host:
path: /drone/volume/m2

View File

@ -6,7 +6,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>bot-context</artifactId>
<version>0.0.32</version>
<version>0.0.33-SNAPSHOT</version>
</parent>
<artifactId>bot-context-main</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>bot-context</artifactId>
<version>0.0.32</version>
<version>0.0.33-SNAPSHOT</version>
</parent>
<artifactId>bot-context-quarkus</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>bot-context</artifactId>
<version>0.0.32</version>
<version>0.0.33-SNAPSHOT</version>
</parent>
<artifactId>bot-context-simple</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>godfather-bot</artifactId>
<version>0.0.32</version>
<version>0.0.33-SNAPSHOT</version>
</parent>
<artifactId>bot-context</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>bot-core</artifactId>
<version>0.0.32</version>
<version>0.0.33-SNAPSHOT</version>
</parent>
<artifactId>bot-core-main</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>bot-core</artifactId>
<version>0.0.32</version>
<version>0.0.33-SNAPSHOT</version>
</parent>
<artifactId>bot-core-quarkus</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<artifactId>bot-core</artifactId>
<groupId>dev.struchkov.godfather</groupId>
<version>0.0.32</version>
<version>0.0.33-SNAPSHOT</version>
</parent>
<artifactId>bot-core-simple</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>godfather-bot</artifactId>
<version>0.0.32</version>
<version>0.0.33-SNAPSHOT</version>
</parent>
<artifactId>bot-core</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<artifactId>bot-data</artifactId>
<groupId>dev.struchkov.godfather</groupId>
<version>0.0.32</version>
<version>0.0.33-SNAPSHOT</version>
</parent>
<artifactId>bot-data-main</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>bot-data</artifactId>
<version>0.0.32</version>
<version>0.0.33-SNAPSHOT</version>
</parent>
<artifactId>bot-data-quarkus</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>bot-data</artifactId>
<version>0.0.32</version>
<version>0.0.33-SNAPSHOT</version>
</parent>
<artifactId>bot-data-simple</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>godfather-bot</artifactId>
<version>0.0.32</version>
<version>0.0.33-SNAPSHOT</version>
</parent>
<artifactId>bot-data</artifactId>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>bot-domain</artifactId>
<groupId>dev.struchkov.godfather</groupId>
<version>0.0.32</version>
<version>0.0.33-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>godfather-bot</artifactId>
<groupId>dev.struchkov.godfather</groupId>
<version>0.0.32</version>
<version>0.0.33-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>godfather-bot</artifactId>
<version>0.0.32</version>
<version>0.0.33-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

16
pom.xml
View File

@ -6,7 +6,7 @@
<groupId>dev.struchkov.godfather</groupId>
<artifactId>godfather-bot</artifactId>
<version>0.0.32</version>
<version>0.0.33-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
@ -219,6 +219,16 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.0-M7</version>
<configuration>
<goals>deploy</goals>
<autoversionsubmodules>true</autoversionsubmodules>
<releaseProfiles>releases</releaseProfiles>
</configuration>
</plugin>
</plugins>
</pluginManagement>
@ -243,6 +253,10 @@
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>