Skip to content

Commit

Permalink
replace is_private
Browse files Browse the repository at this point in the history
  • Loading branch information
cgundy committed Sep 26, 2024
1 parent f5c3d78 commit 937cc4f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/src/dependencies/job/bazel_rust_ic_scanner_release_job.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import logging
import os

from data_source.jira_finding_data_source import JiraFindingDataSource
from model.ic import (
IS_PRIVATE,
get_ic_repo_ci_pipeline_base_url,
get_ic_repo_for_rust,
get_ic_repo_merge_request_base_url,
Expand All @@ -14,7 +14,8 @@
from scanner.scanner_job_type import ScannerJobType

if __name__ == "__main__":
if IS_PRIVATE:
REPO_NAME = os.environ.get("REPO_NAME", "dfinity/ic")
if REPO_NAME == "dfinity/ic-private":
logging.basicConfig(level=logging.INFO)
else:
logging.basicConfig(level=logging.WARNING)
Expand Down

0 comments on commit 937cc4f

Please sign in to comment.