Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cloudify
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
data-infrastructure-services
cloudify
Commits
ab7946a6
Commit
ab7946a6
authored
1 month ago
by
Fabian Wachsmann
Browse files
Options
Downloads
Patches
Plain Diff
Edit cloudify_tco2reg.py
parent
045694ac
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#100278
failed
1 month ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/cloudify_tco2reg.py
+4
-4
4 additions, 4 deletions
scripts/cloudify_tco2reg.py
with
4 additions
and
4 deletions
scripts/cloudify_tco2reg.py
+
4
−
4
View file @
ab7946a6
...
...
@@ -37,8 +37,8 @@ def parse_args():
os
.
environ
[
"
HDF5_PLUGIN_PATH
"
]
=
"
/work/ik1017/hdf5plugin/plugins/
"
cwd
=
os
.
getcwd
()
ssl_keyfile
=
f
"
{
cwd
}
/key.pem
"
ssl_certfile
=
f
"
{
cwd
}
/cert.pem
"
#
ssl_keyfile=f"{cwd}/key.pem"
#
ssl_certfile=f"{cwd}/cert.pem"
if
not
os
.
path
.
isfile
(
ssl_keyfile
)
or
not
os
.
path
.
isfile
(
ssl_certfile
):
cn
=
os
.
uname
().
nodename
# Equivalent to `!echo $HOSTNAME`
...
...
@@ -196,6 +196,6 @@ if __name__ == "__main__": # This avoids infinite subprocess creation
collection
.
serve
(
host
=
"
0.0.0.0
"
,
port
=
port
,
ssl_keyfile
=
ssl_keyfile
,
ssl_certfile
=
ssl_certfile
#
ssl_keyfile=ssl_keyfile,
#
ssl_certfile=ssl_certfile
)
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