Skip to content

Commit

Permalink
OZ-699: Publish Ozone Flink Jobs artifacts on Nexus repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
kdaud committed Sep 3, 2024
1 parent af31eae commit ab99fc0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -259,18 +259,18 @@
</dependency>
</dependencies>

<repositories>
<distributionManagement>
<repository>
<id>mks-nexus-public-releases</id>
<name>Mekom Solutions Nexus repo for releases</name>
<url>https://nexus.mekomsolutions.net/repository/maven-releases</url>
</repository>
<repository>
<snapshotRepository>
<id>mks-nexus-public-snapshots</id>
<name>Mekom Solutions Nexus repo for snapshots</name>
<url>https://nexus.mekomsolutions.net/repository/maven-snapshots</url>
</repository>
</repositories>
</snapshotRepository>
</distributionManagement>
<pluginRepositories>
<pluginRepository>
<id>openmrs-repo</id>
Expand Down

0 comments on commit ab99fc0

Please sign in to comment.