Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
LOFAR2.0
tango
Commits
fabc53c7
Commit
fabc53c7
authored
3 years ago
by
Corné Lukken
Browse files
Options
Downloads
Patches
Plain Diff
L2SS-287
: Use better temporary directory for start-ds.sh
parent
5d3d097a
No related branches found
No related tags found
1 merge request
!146
L2SS-287: implement python packaging
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/start-ds.sh
+3
-2
3 additions, 2 deletions
bin/start-ds.sh
with
3 additions
and
2 deletions
bin/start-ds.sh
+
3
−
2
View file @
fabc53c7
...
@@ -22,9 +22,10 @@ if [[ $TANGOSTATIONCONTROL ]]; then
...
@@ -22,9 +22,10 @@ if [[ $TANGOSTATIONCONTROL ]]; then
else
else
# Install the package, exit 1 if it fails
# Install the package, exit 1 if it fails
cd
tangostationcontrol
||
exit
1
cd
tangostationcontrol
||
exit
1
python3 setup.py build
--build-base
/tmp/ egg_info
--egg-base
/tmp/ bdist_wheel
--dist-dir
/tmp/
||
exit
1
mkdir
-p
/tmp/tangostationcontrol
python3 setup.py build
--build-base
/tmp/tangostationcontrol egg_info
--egg-base
/tmp/tangostationcontrol bdist_wheel
--dist-dir
/tmp/tangostationcontrol
||
exit
1
# shellcheck disable=SC2012
# shellcheck disable=SC2012
sudo
pip
install
"
$(
ls
-Art
/tmp/
*
.whl |
tail
-n
1
)
"
sudo
pip
install
"
$(
ls
-Art
/tmp/
tangostationcontrol/
*
.whl |
tail
-n
1
)
"
fi
fi
/usr/local/bin/wait-for-it.sh
"
$TANGO_HOST
"
--timeout
=
30
--strict
--
"
$@
"
/usr/local/bin/wait-for-it.sh
"
$TANGO_HOST
"
--timeout
=
30
--strict
--
"
$@
"
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