From be959a1340baddae79000976f5396c1182ffcea8 Mon Sep 17 00:00:00 2001 From: Manishch22 <126442522+Manishch22@users.noreply.github.com> Date: Fri, 20 Oct 2023 13:35:12 +0530 Subject: [PATCH] Update push-trigger.yml --- .github/workflows/push-trigger.yml | 51 ++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-trigger.yml b/.github/workflows/push-trigger.yml index ac28a121b..15c41b0f2 100644 --- a/.github/workflows/push-trigger.yml +++ b/.github/workflows/push-trigger.yml @@ -1,5 +1,4 @@ name: Maven Package upon a push - on: release: types: [published] @@ -21,7 +20,6 @@ on: - MOSIP* - release* - local* - jobs: build-maven-esignet: uses: mosip/kattu/.github/workflows/maven-build.yml@master @@ -33,9 +31,21 @@ jobs: OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }} OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} GPG_SECRET: ${{ secrets.GPG_SECRET }} + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} publish_to_nexus: if: "${{ !contains(github.ref, 'master') && github.event_name != 'pull_request' }}" + + + + + + + + Expand All + + @@ -47,7 +47,7 @@ jobs: + needs: build-maven-esignet uses: mosip/kattu/.github/workflows/maven-publish-to-nexus.yml@master with: @@ -46,9 +56,21 @@ jobs: OSSRH_URL: ${{ secrets.OSSRH_SNAPSHOT_URL }} OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} GPG_SECRET: ${{ secrets.GPG_SECRET }} + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} sonar_analysis: + + + + + + + + Expand All + + @@ -63,7 +63,7 @@ jobs: + needs: build-maven-esignet if: "${{ github.event_name != 'pull_request' }}" uses: mosip/kattu/.github/workflows/maven-sonar-analysis.yml@master @@ -61,9 +83,21 @@ jobs: OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }} OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} GPG_SECRET: ${{ secrets.GPG_SECRET }} + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} build-dockers: needs: build-maven-esignet + + + + + + + + Expand All + + @@ -84,7 +84,7 @@ jobs: + strategy: matrix: include: @@ -81,9 +115,21 @@ jobs: DEV_NAMESPACE_DOCKER_HUB: ${{ secrets.DEV_NAMESPACE_DOCKER_HUB }} ACTOR_DOCKER_HUB: ${{ secrets.ACTOR_DOCKER_HUB }} RELEASE_DOCKER_HUB: ${{ secrets.RELEASE_DOCKER_HUB }} + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} build-dockers-oidc-ui: strategy: + + + + + + + + Expand All + + @@ -102,4 +102,4 @@ jobs: + matrix: include: - SERVICE_LOCATION: 'oidc-ui' @@ -98,3 +144,4 @@ jobs: DEV_NAMESPACE_DOCKER_HUB: ${{ secrets.DEV_NAMESPACE_DOCKER_HUB }} ACTOR_DOCKER_HUB: ${{ secrets.ACTOR_DOCKER_HUB }} RELEASE_DOCKER_HUB: ${{ secrets.RELEASE_DOCKER_HUB }} + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}