Skip to content

Commit ec015ba

Browse files
authored
ci: Don't bump Nemo (#195)
Signed-off-by: oliver könig <[email protected]>
1 parent b47e4c7 commit ec015ba

File tree

2 files changed

+6
-36
lines changed

2 files changed

+6
-36
lines changed

.github/workflows/_update_dependencies.yml

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ on:
66
required: true
77
type: string
88
description: "The target branch to bump"
9-
nemo-target-branch:
10-
required: true
11-
type: string
12-
description: "The target branch to bump"
139
mcore-target-branch:
1410
required: true
1511
type: string
@@ -88,28 +84,10 @@ jobs:
8884
GPG_KEY: ${{ secrets.SSH_KEY }}
8985
GPG_PASSPHRASE: ${{ secrets.SSH_PWD }}
9086

91-
nemo:
92-
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/[email protected]
93-
needs: [update-branch, mcore]
94-
name: Bump NeMo
95-
with:
96-
source-repository: NVIDIA/NeMo
97-
source-ref: ${{ inputs.nemo-target-branch }}
98-
toml-path: tool.uv.sources.nemo-toolkit.rev
99-
file: pyproject.toml
100-
base-branch: ${{ needs.update-branch.outputs.source-branch }}
101-
pr-branch: ${{ needs.update-branch.outputs.bump-branch }}
102-
pr-title: "chore(🤖): Bump dependencies (${{ needs.update-branch.outputs.date }})"
103-
use-gpgkey: true
104-
secrets:
105-
PAT: ${{ secrets.PAT }}
106-
GPG_KEY: ${{ secrets.SSH_KEY }}
107-
GPG_PASSPHRASE: ${{ secrets.SSH_PWD }}
108-
10987
update-lockfile:
11088
environment: nemo-ci
11189
runs-on: linux-amd64-cpu16
112-
needs: [nemo, update-branch]
90+
needs: [mcore, update-branch]
11391
steps:
11492
- name: Install Azure CLI
11593
run: curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
@@ -126,6 +104,8 @@ jobs:
126104

127105
- name: Checkout repo
128106
uses: actions/checkout@v4
107+
with:
108+
ref: ${{ needs.update-branch.outputs.bump-branch }}
129109

130110
- name: Upgrade lock file
131111
run: |

.github/workflows/dependabot.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Dependabot
22
on:
33
schedule:
4-
- cron: 0 0 * * * # Run at midnight UTC daily
4+
- cron: 0 0 * * 1 # Run at midnight UTC on Mondays
55
workflow_dispatch: # Allow manual triggering
66

77
permissions:
@@ -14,7 +14,6 @@ jobs:
1414
environment: nemo-ci
1515
outputs:
1616
mcore: ${{ steps.get-branch.outputs.mcore_release_branch }}
17-
nemo: ${{ steps.get-branch.outputs.nemo_release_branch }}
1817
export-deploy: ${{ steps.get-branch.outputs.nemo_export_deploy_release_branch }}
1918
steps:
2019
- name: Get release branch names
@@ -28,12 +27,6 @@ jobs:
2827
tail -n1)
2928
echo "mcore_release_branch=$latest_branch" >> $GITHUB_OUTPUT
3029
31-
latest_branch=$(git ls-remote --heads https://github.com/NVIDIA/NeMo.git 'refs/heads/r*' |
32-
grep -o 'r[0-9]\+\.[0-9]\+\.[0-9]\+' |
33-
sort -V |
34-
tail -n1)
35-
echo "nemo_release_branch=$latest_branch" >> $GITHUB_OUTPUT
36-
3730
latest_branch=$(git ls-remote --heads https://token:${PAT}@github.com/NVIDIA-NeMo/Export-Deploy.git 'refs/heads/r*' |
3831
grep -o 'r[0-9]\+\.[0-9]\+\.[0-9]\+' |
3932
sort -V |
@@ -46,15 +39,12 @@ jobs:
4639
fail-fast: false
4740
matrix:
4841
include:
49-
- nemo-target-branch: ${{ needs.get-release-branch-names.outputs.nemo }}
50-
mcore-target-branch: ${{ needs.get-release-branch-names.outputs.mcore }}
42+
- mcore-target-branch: ${{ needs.get-release-branch-names.outputs.mcore }}
5143
target-branch: ${{ needs.get-release-branch-names.outputs.export-deploy }}
52-
- nemo-target-branch: main
53-
mcore-target-branch: main
44+
- mcore-target-branch: main
5445
target-branch: main
5546
uses: ./.github/workflows/_update_dependencies.yml
5647
with:
57-
nemo-target-branch: ${{ matrix.nemo-target-branch }}
5848
mcore-target-branch: ${{ matrix.mcore-target-branch }}
5949
target-branch: ${{ matrix.target-branch }}
6050
secrets:

0 commit comments

Comments
 (0)