Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.devtools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.devtools
Commits
8797d696
Commit
8797d696
authored
5 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[script/ci] Fix use of echo_warning -> logger.warn
parent
5d6796d2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#32644
passed
5 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/devtools/scripts/ci.py
+4
-4
4 additions, 4 deletions
bob/devtools/scripts/ci.py
with
4 additions
and
4 deletions
bob/devtools/scripts/ci.py
+
4
−
4
View file @
8797d696
...
@@ -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_
warn
ing
(
"
Forcing dry-run mode - not in master branch
"
)
logger
.
warn
(
"
Forcing dry-run mode - not in master branch
"
)
echo_
warn
ing
(
"
... 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_
warn
ing
(
"
!!!! DRY RUN MODE !!!!
"
)
logger
.
warn
(
"
!!!! DRY RUN MODE !!!!
"
)
echo_
warn
ing
(
"
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
"
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment