Skip to content

cicd: update Network Operator to v25.1.0-rc.2 in chart values (#1343) #82

cicd: update Network Operator to v25.1.0-rc.2 in chart values (#1343)

cicd: update Network Operator to v25.1.0-rc.2 in chart values (#1343) #82

name: Documentation CI - call downstream workflow
on:
push:
tags:
- "v*"
jobs:
call_docs_ci_downstream_workflow:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_NVIDIA_CI_CD }}
GIT_TAG: ${{ github.ref_name }}
steps:
- run: |
gh workflow run docs-ci.yaml \
--repo ${{ github.repository_owner }}/network-operator-docs \
--ref main \
--field git_tag=$GIT_TAG
gh run list --repo ${{ github.repository_owner }}/network-operator-docs --workflow docs-ci.yaml --json url -q '.[0].url' # print downstream workflow's last run URL
sleep 5 # required for following command to behave properly
run_id=$(gh run list --repo ${{ github.repository_owner }}/network-operator-docs --workflow docs-ci.yaml --json databaseId -q '.[0].databaseId') # lookup downstream workflow's last run ID
gh run watch $run_id --repo ${{ github.repository_owner }}/network-operator-docs --exit-status # set exit code based on downstream workflow's result