Skip to content
Snippets Groups Projects
Commit 8797d696 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[script/ci] Fix use of echo_warning -> logger.warn

parent 5d6796d2
No related branches found
No related tags found
No related merge requests found
Pipeline #32644 passed
...@@ -984,13 +984,13 @@ def clean_betas(dry_run): ...@@ -984,13 +984,13 @@ def clean_betas(dry_run):
is_master = os.environ["CI_COMMIT_REF_NAME"] == "master" is_master = os.environ["CI_COMMIT_REF_NAME"] == "master"
if not is_master and dry_run == False: if not is_master and dry_run == False:
echo_warning("Forcing dry-run mode - not in master branch") logger.warn("Forcing dry-run mode - not in master branch")
echo_warning("... considering this is **not** a periodic run!") logger.warn("... considering this is **not** a periodic run!")
dry_run = True dry_run = True
if dry_run: if dry_run:
echo_warning("!!!! DRY RUN MODE !!!!") logger.warn("!!!! DRY RUN MODE !!!!")
echo_warning("Nothing is being executed on server.") logger.warn("Nothing is being executed on server.")
import re import re
if os.environ["CI_PROJECT_NAMESPACE"] == "beat": if os.environ["CI_PROJECT_NAMESPACE"] == "beat":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment