From d2fcbaddd9bcf638f4a788ca292c9c3c6f9383ff Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sun, 19 Feb 2023 18:31:39 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B4=D0=B0=D1=87?= =?UTF-8?q?=D0=B0=20=D1=81=D0=B3=D0=B5=D0=BD=D0=B5=D1=80=D0=B8=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=BD=D0=BE=D0=B3=D0=BE=20=D1=81=D0=B0=D0=B9?= =?UTF-8?q?=D1=82=D0=B0=20=D0=BD=D0=B0=20=D1=81=D0=B5=D1=80=D0=B2=D0=B5?= =?UTF-8?q?=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 61 +++++++++++++++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 31 deletions(-) diff --git a/.drone.yml b/.drone.yml index 160d719..10697c8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,34 +1,33 @@ --- -#--- -#kind: pipeline -#type: docker -#name: snapshot-publish -# -#trigger: -# branch: -# - develop -# -#volumes: -# - name: m2 -# host: -# path: /drone/volume/m2 -# -#steps: -# -# - name: publish -# image: maven:3.8.5-openjdk-17 -# privileged: true -# volumes: -# - name: m2 -# path: /root/.m2/repository -# environment: -# MAVEN_SETTINGS: -# from_secret: MAVEN_SETTINGS -# commands: -# - echo "$MAVEN_SETTINGS" >> maven-settings.xml -# - mvn --settings maven-settings.xml -U -P snapshot clean deploy -# -#--- +kind: pipeline +type: docker +name: snapshot-publish + +trigger: + branch: + - develop + +volumes: + - name: m2 + host: + path: /drone/volume/m2 + +steps: + + - name: publish + image: maven:3.8.5-openjdk-17 + privileged: true + volumes: + - name: m2 + path: /root/.m2/repository + environment: + MAVEN_SETTINGS: + from_secret: MAVEN_SETTINGS + commands: + - echo "$MAVEN_SETTINGS" >> maven-settings.xml + - mvn --settings maven-settings.xml -U -P snapshot clean deploy + +--- kind: pipeline type: docker name: release-maven-central @@ -135,6 +134,6 @@ steps: --- kind: signature -hmac: 5ccd08faa991103f2e92eb005fb7b41f5be0b0d575b2573947efca4dcfadb28a +hmac: 3e85763cdcfa2ee020e2809d193132e3dc9521050464f3279731ff9d27f78600 ...