Skip to content
GitLab
Explore
Sign in
Register
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
1f7b292c
Commit
1f7b292c
authored
2 years ago
by
Corné Lukken
Browse files
Options
Downloads
Patches
Plain Diff
L2SS-951
: Prevent unneeded excessive data movement in start-ds
parent
75c96090
No related branches found
No related tags found
1 merge request
!423
L2SS-951: Disable site-packages and install pytango in tox
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/start-ds.sh
+3
-1
3 additions, 1 deletion
bin/start-ds.sh
docker-compose/lofar-device-base/Dockerfile
+6
-1
6 additions, 1 deletion
docker-compose/lofar-device-base/Dockerfile
with
9 additions
and
2 deletions
bin/start-ds.sh
+
3
−
1
View file @
1f7b292c
...
@@ -35,7 +35,9 @@ else
...
@@ -35,7 +35,9 @@ else
# Install the package, exit 1 if it fails
# Install the package, exit 1 if it fails
# pip install ./ will _NOT_ install dependencies in requirements.txt!
# pip install ./ will _NOT_ install dependencies in requirements.txt!
rm
-rf
/tmp/tangostationcontrol
rm
-rf
/tmp/tangostationcontrol
cp
-R
/opt/lofar/tango/tangostationcontrol /tmp/
# Ideally we would use git copy but it can't copy on subdirectory level
# DO NOT PUT SPACES IN THE EXCLUDE LIST!
rsync
-av
--progress
--exclude
={
".tox"
,
"*.egg-info"
,
"dist"
,
"build"
,
".git"
,
"*.pyc"
}
/opt/lofar/tango/tangostationcontrol /tmp/
cd
/tmp/tangostationcontrol
||
exit
1
cd
/tmp/tangostationcontrol
||
exit
1
# Remove the build directory if copied from the source
# Remove the build directory if copied from the source
rm
-rf
build
rm
-rf
build
...
...
This diff is collapsed.
Click to expand it.
docker-compose/lofar-device-base/Dockerfile
+
6
−
1
View file @
1f7b292c
ARG
SOURCE_IMAGE
ARG
SOURCE_IMAGE
FROM
${SOURCE_IMAGE}
FROM
${SOURCE_IMAGE}
RUN
sudo
apt-get update
&&
sudo
apt-get
install
-y
git g++ gcc shellcheck graphviz python3-dev libboost-python-dev pkg-config
&&
sudo
apt-get clean
RUN
sudo
apt-get update
RUN
sudo
apt-get
install
-y
git
&&
sudo
apt-get clean
RUN
sudo
apt-get
install
-y
g++ gcc
&&
sudo
apt-get clean
RUN
sudo
apt-get
install
-y
shellcheck graphviz
&&
sudo
apt-get clean
RUN
sudo
apt-get
install
-y
python3-dev libboost-python-dev pkg-config
&&
sudo
apt-get clean
RUN
sudo
apt-get
install
-y
rsync
&&
sudo
apt-get clean
COPY
lofar-device-base/lofar-requirements.txt /lofar-requirements.txt
COPY
lofar-device-base/lofar-requirements.txt /lofar-requirements.txt
RUN
sudo
pip3
install
-r
/lofar-requirements.txt
RUN
sudo
pip3
install
-r
/lofar-requirements.txt
...
...
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