From 052d36559748aa45e38eaba795b132ca4a17c4e4 Mon Sep 17 00:00:00 2001 From: Charlie Truong Date: Mon, 23 Feb 2026 17:58:37 -0600 Subject: [PATCH 1/2] docs: Enable nightly docs update Signed-off-by: Charlie Truong --- .github/workflows/release-docs.yml | 44 +++++++++++++++++++++- .github/workflows/release-nightly-docs.yml | 29 ++++++++++++++ docs/conf.py | 4 +- docs/project.json | 2 +- docs/versions1.json | 9 +++++ 5 files changed, 84 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/release-nightly-docs.yml diff --git a/.github/workflows/release-docs.yml b/.github/workflows/release-docs.yml index 60b29c33..e0bc56a0 100644 --- a/.github/workflows/release-docs.yml +++ b/.github/workflows/release-docs.yml @@ -30,10 +30,51 @@ on: required: false type: string default: "" + update-version-picker: + description: Update version picker. + required: false + type: boolean + default: true + notify-emails: + description: Email addresses to send the notification to. Format as "me@me.com,you@you.com". + required: false + type: string + github-ref: + description: Github ref to checkout + required: false + type: string + default: "" + workflow_call: + inputs: + dry-run: + description: Whether to run the workflow in dry-run mode + required: false + type: boolean + default: true + publish-as-latest: + description: Publish as Latest stable version. + required: false + type: boolean + default: true + docs-version-override: + description: Docs version if commit is not tagged + required: false + type: string + default: "" + update-version-picker: + description: Update version picker. + required: false + type: boolean + default: true notify-emails: description: Email addresses to send the notification to. Format as "me@me.com,you@you.com". required: false type: string + github-ref: + description: Github ref to checkout + required: false + type: string + default: "" jobs: build-docs: @@ -46,7 +87,7 @@ jobs: - uses: actions/checkout@v6 with: repository: NVIDIA-NeMo/FW-CI-templates - ref: v0.72.0 + ref: v0.74.0 path: FW-CI-templates - uses: ./FW-CI-templates/.github/actions/publish-docs @@ -62,6 +103,7 @@ jobs: emails-csv: ${{ inputs.notify-emails && format('{0},{1}', vars.docs_release_emails, inputs.notify-emails) || vars.docs_release_emails }} overwrite-latest-on-tag: ${{ inputs.publish-as-latest }} docs-version-override: ${{ inputs.docs-version-override }} + update-version-picker: ${{ inputs.update-version-picker }} run-on-version-tag-only: ${{ github.ref_name != 'main' }} request-name: run-publish-docs-${{ github.run_id }} aws-region: ${{ vars.DOCS_AWS_REGION }} diff --git a/.github/workflows/release-nightly-docs.yml b/.github/workflows/release-nightly-docs.yml new file mode 100644 index 00000000..89ceb1fb --- /dev/null +++ b/.github/workflows/release-nightly-docs.yml @@ -0,0 +1,29 @@ +# Copyright (c) 2026, NVIDIA CORPORATION. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: Release Nightly Docs + +on: + schedule: + - cron: "0 10 * * *" + +jobs: + call-release-docs: + uses: ./.github/workflows/release-docs.yml + with: + dry-run: false + publish-as-latest: false + docs-version-override: "nightly" + update-version-picker: false + secrets: inherit diff --git a/docs/conf.py b/docs/conf.py index 66b9d160..d7e072e1 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,9 +27,9 @@ sys.path.append(str(Path("../../examples").resolve())) project = "NeMo-Run" -copyright = "2025, NVIDIA" +copyright = "2026, NVIDIA" author = "NVIDIA" -release = "0.5.0" +release = "nightly" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/docs/project.json b/docs/project.json index 6c78e9bb..55f3f549 100644 --- a/docs/project.json +++ b/docs/project.json @@ -1 +1 @@ -{"name": "NeMo-Run", "version": "0.5.0"} +{"name": "NeMo-Run", "version": "nightly"} diff --git a/docs/versions1.json b/docs/versions1.json index 643e185c..88de3c30 100644 --- a/docs/versions1.json +++ b/docs/versions1.json @@ -1,6 +1,15 @@ [ { + "version": "nightly", + "url": "http://docs.nvidia.com/nemo/run/nightly/" + }, + { + "name": "0.8.0 (latest)", "preferred": true, + "version": "0.8.0", + "url": "http://docs.nvidia.com/nemo/run/0.8.0" + }, + { "version": "0.5.0", "url": "http://docs.nvidia.com/nemo/run/0.5.0" } From 28c92aa8c48c2f1fe2cece60e246169096c78112 Mon Sep 17 00:00:00 2001 From: Charlie Truong Date: Mon, 23 Feb 2026 18:02:18 -0600 Subject: [PATCH 2/2] Update secrets baseline Signed-off-by: Charlie Truong --- .github/workflows/config/.secrets.baseline | 60 +--------------------- .github/workflows/detect-secrets.yml | 2 +- 2 files changed, 3 insertions(+), 59 deletions(-) diff --git a/.github/workflows/config/.secrets.baseline b/.github/workflows/config/.secrets.baseline index e352e3a6..08440dd9 100644 --- a/.github/workflows/config/.secrets.baseline +++ b/.github/workflows/config/.secrets.baseline @@ -45,10 +45,6 @@ { "name": "JwtTokenDetector" }, - { - "name": "KeywordDetector", - "keyword_exclude": "" - }, { "name": "MailchimpDetector" }, @@ -129,67 +125,15 @@ } ], "results": { - "docs/guides/execution.md": [ - { - "type": "Secret Keyword", - "filename": "docs/guides/execution.md", - "hashed_secret": "532abb38bbbf7f304a3db907a31f5ecf2cd9e90a", - "is_verified": false, - "line_number": 267 - } - ], - "docs/guides/ray.md": [ - { - "type": "Secret Keyword", - "filename": "docs/guides/ray.md", - "hashed_secret": "fd385d38140af325c5a7d4ba662a2d0747acce43", - "is_verified": false, - "line_number": 222 - } - ], - "test/core/execution/test_dgxcloud.py": [ - { - "type": "Secret Keyword", - "filename": "test/core/execution/test_dgxcloud.py", - "hashed_secret": "eb3d6b8a9e2a4087e2690c93f6f8a98ec33777fe", - "is_verified": false, - "line_number": 34 - } - ], - "test/core/execution/test_lepton.py": [ - { - "type": "Secret Keyword", - "filename": "test/core/execution/test_lepton.py", - "hashed_secret": "cf38af6a2b49c4106a6828cba9c1ca1fba1c3be4", - "is_verified": false, - "line_number": 108 - }, - { - "type": "Secret Keyword", - "filename": "test/core/execution/test_lepton.py", - "hashed_secret": "fe1bae27cb7c1fb823f496f286e78f1d2ae87734", - "is_verified": false, - "line_number": 392 - } - ], - "test/run/torchx_backend/schedulers/test_dgxcloud.py": [ - { - "type": "Secret Keyword", - "filename": "test/run/torchx_backend/schedulers/test_dgxcloud.py", - "hashed_secret": "72cb70dbbafe97e5ea13ad88acd65d08389439b0", - "is_verified": false, - "line_number": 41 - } - ], "test/run/torchx_backend/test_packaging.py": [ { "type": "Base64 High Entropy String", "filename": "test/run/torchx_backend/test_packaging.py", "hashed_secret": "62d9498a9bb501cca21909ca0d4ca2851ce2eb66", "is_verified": false, - "line_number": 72 + "line_number": 78 } ] }, - "generated_at": "2026-01-31T00:24:37Z" + "generated_at": "2026-02-24T00:02:04Z" } diff --git a/.github/workflows/detect-secrets.yml b/.github/workflows/detect-secrets.yml index 874f6bd5..d7aae1cd 100644 --- a/.github/workflows/detect-secrets.yml +++ b/.github/workflows/detect-secrets.yml @@ -18,4 +18,4 @@ on: jobs: secrets-detector: - uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_secrets-detector.yml@v0.70.0 + uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_secrets-detector.yml@v0.74.0