diff --git a/.github/workflows/beta-java-publish.yml b/.github/workflows/beta-java-publish.yml index 141feba204..7507d8944d 100644 --- a/.github/workflows/beta-java-publish.yml +++ b/.github/workflows/beta-java-publish.yml @@ -1,4 +1,4 @@ -name: Publish and deploy +name: Publish to juniper-eng-infra on: push: tags: @@ -16,7 +16,7 @@ jobs: get-version-tag: runs-on: ubuntu-latest outputs: - tag: ${{ steps.tag.outputs.tag }} + tag: 1.3.82 #${{ steps.tag.outputs.tag }} steps: - name: Checkout Current Code uses: actions/checkout@v3 @@ -33,14 +33,14 @@ jobs: id-token: 'write' runs-on: ubuntu-latest outputs: - tag: ${{ steps.build-publish.outputs.published-image }} + tag: ${{ steps.juniper-eng-build-publish.outputs.published-image }} steps: - name: Checkout Current Code uses: actions/checkout@v3 with: token: ${{ secrets.BROADBOT_TOKEN }} - name: build and publish image - id: build-publish + id: juniper-eng-build-publish uses: ./.github/actions/juniper-eng-build-push-image with: version-tag: ${{ needs.get-version-tag.outputs.tag }} @@ -68,48 +68,17 @@ jobs: id-token: 'write' runs-on: ubuntu-latest outputs: - tag: ${{ steps.build-publish.outputs.published-image }} + tag: ${{ steps.juniper-eng-build-publish.outputs.published-image }} steps: - name: Checkout Current Code uses: actions/checkout@v3 with: token: ${{ secrets.BROADBOT_TOKEN }} - name: build and publish image - id: build-publish + id: juniper-eng-build-publish uses: ./.github/actions/juniper-eng-build-push-image with: version-tag: ${{ needs.get-version-tag.outputs.tag }} image-repo: 'us-central1-docker.pkg.dev' image-name: "broad-juniper-eng-infra/juniper/${{ github.event.repository.name }}-participant" gradle-build-args: ':api-participant:jibDockerBuild' - - - name: Notify slack on failure - uses: broadinstitute/action-slack@v3.8.0 - if: failure() - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - with: - channel: '#juniper-dev-notifications' - status: failure - author_name: Publish docker Image - fields: job - text: "Publish to broad-juniper-eng-infra failed :sadpanda:, image ${{ steps.build-publish.outputs.published-image }} failed to publish" - username: 'Juniper Build Notifications' - - notify-upon-completion: - runs-on: ubuntu-latest - if: always() - needs: [get-version-tag] - steps: - - uses: broadinstitute/action-slack@v3.8.0 - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - with: - channel: '#juniper-dev-notifications' - # Result status on the set version in dev job which actually performs the deploy - author_name: Image published to juniper eng infra - fields: job - text: Deploy to dev of ${{ needs.get-version-tag.outputs.tag }} completed successfully - username: 'Juniper Build Notifications' - -