aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/gerrit-merge.yaml
diff options
context:
space:
mode:
authorMatthew Watkins <mwatkins@linuxfoundation.org>2024-10-31 11:55:04 +0000
committerMatthew Watkins <mwatkins@linuxfoundation.org>2024-10-31 13:02:50 +0000
commit7e4fd83c9ce022af7889c9d38b972d03a80320ec (patch)
treedb92a9d80d71d2c40dc021366aa72d0fcff7a539 /.github/workflows/gerrit-merge.yaml
parent0d545bc8bed8bc6f6a0eefb6789ce5c38ff0fbcb (diff)
Chore: Finalise node/sonatype workflow setupHEADmaster
Issue-ID: CIMAN-33 Change-Id: I8e1b15dce8d564dbc32bbe2bfd56564b6462754e Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Diffstat (limited to '.github/workflows/gerrit-merge.yaml')
-rw-r--r--.github/workflows/gerrit-merge.yaml21
1 files changed, 12 insertions, 9 deletions
diff --git a/.github/workflows/gerrit-merge.yaml b/.github/workflows/gerrit-merge.yaml
index 3fa0a19..2b05903 100644
--- a/.github/workflows/gerrit-merge.yaml
+++ b/.github/workflows/gerrit-merge.yaml
@@ -41,10 +41,6 @@ on:
description: "Gerrit refspec of change"
required: true
type: string
- secrets:
- SONAR_TOKEN:
- description: "Sonar Cloud access token"
- required: true
concurrency:
# yamllint disable-line rule:line-length
@@ -57,7 +53,7 @@ jobs:
steps:
- name: Notify job start
# yamllint disable-line rule:line-length
- uses: lfit/gerrit-review-action@9627b9a144f2a2cad70707ddfae87c87dce60729 # v0.8
+ uses: lfit/gerrit-review-action@9627b9a144f2a2cad70707ddfae87c87dce60729 # v0.8
with:
host: ${{ vars.GERRIT_SERVER }}
username: ${{ vars.GERRIT_SSH_USER }}
@@ -72,7 +68,7 @@ jobs:
call-prescan-sonarcloud:
needs: notify
# yamllint disable-line rule:line-length
- uses: lfit/releng-reusable-workflows/.github/workflows/composed-generic-sonar-cloud.yaml@main
+ uses: lfit/releng-reusable-workflows/.github/workflows/composed-generic-sonar-cloud.yaml@e559e85bfc17ce024eabfa796d39ac27f806ec65 # 2024-07-19
with:
GERRIT_BRANCH: ${{ inputs.GERRIT_BRANCH }}
GERRIT_CHANGE_ID: ${{ inputs.GERRIT_CHANGE_ID }}
@@ -95,18 +91,25 @@ jobs:
-Dsonar.go.coverage.reportPaths=**/coverage.txt
-Dsonar.verbose=true
secrets:
- SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
+
+ call-sonatype-lifecycle:
+ needs: [notify]
+ # yamllint disable-line rule:line-length
+ uses: lfit/releng-reusable-workflows/.github/workflows/reuse-sonatype-lifecycle.yaml@98e376a377e4622da10ce286a618343c733e41c2 # 2024-10-24
+ secrets:
+ NEXUS_IQ_PASSWORD: ${{ secrets.NEXUS_IQ_PASSWORD }}
report-status:
if: ${{ always() }}
- needs: [notify, call-prescan-sonarcloud]
+ needs: [notify, call-prescan-sonarcloud, call-sonatype-lifecycle]
runs-on: ubuntu-latest
steps:
- name: Get workflow conclusion
uses: technote-space/workflow-conclusion-action@v3
- name: Report workflow conclusion
# yamllint disable-line rule:line-length
- uses: lfit/gerrit-review-action@9627b9a144f2a2cad70707ddfae87c87dce60729 # v0.8
+ uses: lfit/gerrit-review-action@9627b9a144f2a2cad70707ddfae87c87dce60729 # v0.8
with:
host: ${{ vars.GERRIT_SERVER }}
username: ${{ vars.GERRIT_SSH_USER }}