From 54f9dd4f6346acae54bdaea738256966c7e846de Mon Sep 17 00:00:00 2001 From: kdaud Date: Tue, 3 Sep 2024 04:23:52 +0300 Subject: [PATCH] OZ-699: Publish Ozone Flink Jobs artifacts on Nexus repositories --- .github/workflows/ci.yml | 8 ++++++++ pom.xml | 13 +++++++++++++ 2 files changed, 21 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c43be2e..88640f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,14 @@ jobs: java-version: 11 maven-args: -Pspotless -DskipTests + release: + if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'release' }} + needs: spotless + uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-publish.yml@main + secrets: + NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} + NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} + docker-ozone-flink-parquet-export: if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'release' }} needs: spotless diff --git a/pom.xml b/pom.xml index bae5e5a..8f2c0f1 100644 --- a/pom.xml +++ b/pom.xml @@ -19,6 +19,19 @@ + + + mks-nexus-public-releases + Mekom Solutions Nexus repo for releases + https://nexus.mekomsolutions.net/repository/maven-releases + + + mks-nexus-public-snapshots + Mekom Solutions Nexus repo for snapshots + https://nexus.mekomsolutions.net/repository/maven-snapshots + + + UTF-8 2.8.5