EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESA
PRISM
VS
Commits
31b5fe6c
Commit
31b5fe6c
authored
4 years ago
by
Lubomir Dolezal
Browse files
Options
Downloads
Patches
Plain Diff
fix registrar test
parent
b01069dc
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
cache/entrypoint.sh
+1
-2
1 addition, 2 deletions
cache/entrypoint.sh
core/entrypoint.sh
+1
-1
1 addition, 1 deletion
core/entrypoint.sh
preprocessor/entrypoint.sh
+1
-2
1 addition, 2 deletions
preprocessor/entrypoint.sh
testing/registrar_test.sh
+1
-1
1 addition, 1 deletion
testing/registrar_test.sh
with
4 additions
and
6 deletions
cache/entrypoint.sh
+
1
−
2
View file @
31b5fe6c
...
...
@@ -27,11 +27,10 @@ file_env() {
val
=
"
$(
<
"
${
!fileVar
}
"
)
"
fi
cat
>>
/etc/bash.bashrc
<<
EOF
export
${
var
}
=
${
val
}
EOF
echo
"the value of variable
${
var
}
is set"
>
&2
# make them also available in preparatory steps until container starts
export
${
var
}
=
${
val
}
export
"
${
var
}
"
=
"
${
val
}
"
unset
"
$fileVar
"
}
...
...
This diff is collapsed.
Click to expand it.
core/entrypoint.sh
+
1
−
1
View file @
31b5fe6c
...
...
@@ -28,7 +28,7 @@ file_env() {
elif
[
"
${
!fileVar
:-}
"
]
;
then
val
=
"
$(
<
"
${
!fileVar
}
"
)
"
fi
cat
>>
/
root/.profile
<<
EOF
cat
>>
/
etc/bash.bashrc
<<
EOF
EOF
echo
"the value of variable
${
var
}
is set"
>
&2
# make them also available in preparatory steps until container starts
...
...
This diff is collapsed.
Click to expand it.
preprocessor/entrypoint.sh
+
1
−
2
View file @
31b5fe6c
...
...
@@ -27,11 +27,10 @@ file_env() {
val
=
"
$(
<
"
${
!fileVar
}
"
)
"
fi
cat
>>
/etc/bash.bashrc
<<
EOF
export
${
var
}
=
${
val
}
EOF
echo
"the value of variable
${
var
}
is set"
>
&2
# make them also available in preparatory steps until container starts
export
${
var
}
=
${
val
}
export
"
${
var
}
"
=
"
${
val
}
"
unset
"
$fileVar
"
}
...
...
This diff is collapsed.
Click to expand it.
testing/registrar_test.sh
+
1
−
1
View file @
31b5fe6c
...
...
@@ -5,7 +5,7 @@ echo "inside registrar_test"
IFS
=
","
while
read
product
;
do
docker
exec
-i
$(
docker ps
-qf
"name=emg-pvs_registrar"
)
\
docker
exec
-e
OS_PASSWORD
=
$OS_PASSWORD
-i
$(
docker ps
-qf
"name=emg-pvs_registrar"
)
\
python3 /registrar.py
\
--objects-prefix
$product
\
--service-url
$SERVICE_URL
\
...
...
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