Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.web
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
beat
beat.web
Commits
382e8542
There was a problem fetching the pipeline summary.
Commit
382e8542
authored
8 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[backend] Print more logging when finding environments
parent
a2a5084d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!194
Scheduler
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
beat/web/backend/utils.py
+6
-2
6 additions, 2 deletions
beat/web/backend/utils.py
with
6 additions
and
2 deletions
beat/web/backend/utils.py
+
6
−
2
View file @
382e8542
...
@@ -398,13 +398,17 @@ def find_environments(paths=None):
...
@@ -398,13 +398,17 @@ def find_environments(paths=None):
if
paths
is
not
None
:
if
paths
is
not
None
:
logger
.
debug
(
"
Search for environments at `%s
'"
,
os
.
pathsep
.
join
(
paths
))
logger
.
debug
(
"
Search for environments at `%s
'"
,
os
.
pathsep
.
join
(
paths
))
return
discover_environments
(
paths
)
retval
=
discover_environments
(
paths
)
logger
.
debug
(
"
Found %d environment(s)
"
,
len
(
retval
))
return
retval
else
:
else
:
import
pkg_resources
import
pkg_resources
path
=
pkg_resources
.
resource_filename
(
__name__
,
'
environments
'
)
path
=
pkg_resources
.
resource_filename
(
__name__
,
'
environments
'
)
logger
.
debug
(
"
Search for environments at `%s
'"
,
path
)
logger
.
debug
(
"
Search for environments at `%s
'"
,
path
)
return
discover_environments
([
path
])
retval
=
discover_environments
([
path
])
logger
.
debug
(
"
Found %d environment(s)
"
,
len
(
retval
))
return
retval
def
pick_execute
(
split
,
environments
):
def
pick_execute
(
split
,
environments
):
...
...
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