Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
2034339b
Unverified
Commit
2034339b
authored
Apr 16, 2025
by
hhzhang16
Committed by
GitHub
Apr 16, 2025
Browse files
fix: allow for an empty dynamo config file (#712)
parent
d374e89f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
deploy/Kubernetes/pipeline/deploy.sh
deploy/Kubernetes/pipeline/deploy.sh
+1
-1
No files found.
deploy/Kubernetes/pipeline/deploy.sh
View file @
2034339b
...
@@ -31,7 +31,7 @@ DOCKER_REGISTRY=$1
...
@@ -31,7 +31,7 @@ DOCKER_REGISTRY=$1
NAMESPACE
=
$2
NAMESPACE
=
$2
DYNAMO_DIRECTORY
=
$3
DYNAMO_DIRECTORY
=
$3
DYNAMO_IDENTIFIER
=
$4
DYNAMO_IDENTIFIER
=
$4
DYNAMO_CONFIG_FILE
=
$
5
DYNAMO_CONFIG_FILE
=
$
{
5
:-
""
}
# Set to empty string if not provided
# Check if any of the inputs are empty
# Check if any of the inputs are empty
if
[[
-z
"
$DOCKER_REGISTRY
"
||
-z
"
$NAMESPACE
"
||
-z
"
$DYNAMO_IDENTIFIER
"
||
-z
"
$DYNAMO_DIRECTORY
"
]]
;
then
if
[[
-z
"
$DOCKER_REGISTRY
"
||
-z
"
$NAMESPACE
"
||
-z
"
$DYNAMO_IDENTIFIER
"
||
-z
"
$DYNAMO_DIRECTORY
"
]]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment