Skip to content

Commit 7acc83f

Browse files
committed
ADLR/megatron-lm!3244 - ci: Fixes to review-reminder
1 parent fdd88b2 commit 7acc83f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.gitlab/stages/00.pre.yml

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ pre:create_ci_branches:
5959
- branch: ci-nightly
6060
- branch: ci-weekly
6161
- branch: ci-pre-release
62+
- branch: ci-review-reminder
6263
tags:
6364
- arch/amd64
6465
- env/prod

.gitlab/stages/01.build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,6 @@ test:build_nemo_image:
6565
IMAGE: CI_NEMO_IMAGE
6666
FILE: Dockerfile.ci.dev
6767
BASE_IMAGE: nvcr.io/nvidian/nemo:nightly
68+
rules:
69+
- if: $FUNCTIONAL_TEST == "yes" || $INTEGRATION_TEST == "yes"
70+
when: on_success

.gitlab/stages/05.publish.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ public:review_reminder:
518518
image: ${UTILITY_IMAGE}:${CI_PIPELINE_ID}
519519
script:
520520
- export GITLAB_ENDPOINT
521-
- export RO_API_TOKEN=${PROJECT_ACCESS_TOKEN_MCORE}
521+
- export RO_API_TOKEN=${PAT}
522522
- export SLACK_WEBHOOK_URL=${SLACK_REMINDER_HOOK}
523523
- export SLACK_API_TOKEN=${SLACK_API_TOKEN}
524524
- python tests/test_utils/python_scripts/auto_reminder.py
@@ -530,6 +530,5 @@ public:review_reminder:
530530
- purpose/utility
531531
- team/megatron
532532
rules:
533-
- if: $CI_COMMIT_BRANCH == "ko3n1g/ci/auto-reminder"
534-
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $PUBLISH == "yes" && $PUBLISH_SCOPE == "review-reminder"
533+
- if: $CI_COMMIT_BRANCH == "ci-review-reminder" && $PUBLISH == "yes" && $PUBLISH_SCOPE == "review-reminder"
535534
- when: never

0 commit comments

Comments
 (0)