mirror of
https://github.com/russ-p/external-sql.git
synced 2025-12-14 01:14:24 +00:00
Compare commits
2 Commits
7d4280c607
...
f103804bd9
| Author | SHA1 | Date | |
|---|---|---|---|
| f103804bd9 | |||
| 845b4f4f8c |
24
.drone.yml
Normal file
24
.drone.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: install
|
||||||
|
image: maven:3.6.1-jdk-8-slim
|
||||||
|
volumes:
|
||||||
|
- name: mvnrepo
|
||||||
|
path: /root/.m2
|
||||||
|
commands:
|
||||||
|
- mvn install deploy -Ddeployment.releases.id=$DEPREPO -Ddeployment.releases.url=$DEPREPOURL -Ddeployment.snapshots.id=$DEPREPO -Ddeployment.snapshots.url=$DEPREPOSNAPURL
|
||||||
|
environment:
|
||||||
|
DEPREPO:
|
||||||
|
from_secret: deprepo
|
||||||
|
DEPREPOURL:
|
||||||
|
from_secret: deprepourl
|
||||||
|
DEPREPOSNAPURL:
|
||||||
|
from_secret: depreposnapurl
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: mvnrepo
|
||||||
|
host:
|
||||||
|
path: /media/data/storage/.m2
|
||||||
14
pom.xml
14
pom.xml
@@ -49,4 +49,18 @@
|
|||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<repository>
|
||||||
|
<id>${deployment.releases.id}</id>
|
||||||
|
<name>Releases</name>
|
||||||
|
<url>${deployment.releases.url}</url>
|
||||||
|
</repository>
|
||||||
|
<snapshotRepository>
|
||||||
|
<id>${deployment.snapshots.id}</id>
|
||||||
|
<name>Snapshots</name>
|
||||||
|
<url>${deployment.snapshots.url}</url>
|
||||||
|
</snapshotRepository>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
Reference in New Issue
Block a user