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
bcde36a7
Commit
bcde36a7
authored
3 years ago
by
Thomas Juerges
Browse files
Options
Downloads
Patches
Plain Diff
L2SS-218
Add some informational output
parent
69567495
No related branches found
No related tags found
1 merge request
!33
Resolve L2SS-218 "Move existing tooling to bootstrap dir"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bootstrap/sbin/rebuild_system_from_scratch.sh
+22
-5
22 additions, 5 deletions
bootstrap/sbin/rebuild_system_from_scratch.sh
with
22 additions
and
5 deletions
bootstrap/sbin/rebuild_system_from_scratch.sh
+
22
−
5
View file @
bcde36a7
...
@@ -93,44 +93,61 @@ function start_lofar_images()
...
@@ -93,44 +93,61 @@ function start_lofar_images()
}
}
# Stop all Docker images.
stop_images
# Clean out the Docker volumes.
# Clean out the Docker volumes.
echo
"-> Stopping Docker images and cleaning cleaning up their volumes..."
clean_images
clean_images
echo
-e
"
\t
Done.
\n
"
# Move the tango repo dir out of the way.
# Move the tango repo dir out of the way.
echo
"-> Moving the tango directory
${
HOME_DIR
}
out of the way..."
echo
"-> Moving the tango directory
${
HOME_DIR
}
out of the way..."
move_tango_dir_out_of_the_way
move_tango_dir_out_of_the_way
echo
-e
"
\t
Done.
\n
"
echo
-e
"
\t
Done.
\n
"
#
Therefore, since the tango/boostrap dir is now gone,
pull the repo
first
#
Now
pull the repo
.
# and then continue.
echo
"-> Cloning tango's master branch to
${
HOME_DIR
}
..."
pull_tango
pull_tango
echo
-e
"
\t
Done.
\n
"
# Now clean out the docker images.
# Now clean out the docker images.
echo
"-> Deleting all Docker images from this host..."
remove_images
remove_images
echo
-e
"
\t
Done.
\n
"
# Pull SKA's Docker images.
# Pull SKA's Docker images.
echo
"-> Installing latest SKA Docker images on this host..."
pull_images
pull_images
echo
-e
"
\t
Done.
\n
"
# Build all of the LOFAR Docker images.
# Build all of the LOFAR Docker images.
echo
"-> Building LOFAR2.0 Docker images..."
build_lofar_images
build_lofar_images
echo
-e
"
\t
Done.
\n
"
# Now start the basic Tango system, including dsconfig.
# Now start the basic Tango system, including dsconfig.
echo
"-> Staring up a minimal Tango session..."
start_minimal_tango
start_minimal_tango
echo
-e
"
\t
Done.
\n
"
# Load LOFAR's TangoDB.
# Load LOFAR's TangoDB.
echo
"-> Configuring the Tango DB for LOFAR2.0..."
configure_tango_db
configure_tango_db
echo
-e
"
\t
Done.
\n
"
# Now configure the ELK container.
# Now configure the ELK container.
echo
"-> Configuring the ELK container for this host..."
configure_elk
configure_elk
echo
-e
"
\t
Done.
\n
"
# Here I start ELK & Jupyter.
# Here I start ELK & Jupyter.
echo
"-> Start LOFAR2.0 support containers (ELK, Jupyter, etc.)..."
start_support_images
start_support_images
echo
-e
"
\t
Done.
\n
"
# And finally start all the LOFAR images.
# And finally start all the LOFAR images.
echo
"-> Start LOFAR2.0 containers..."
start_lofar_images
start_lofar_images
echo
-e
"
\t
Done.
\n
"
# Now the system should be ready to use.
# Now the system should be ready to use.
# For instance the cold start script could now be executed.
# For instance the cold start script could now be executed.
echo
-e
"-> LOFAR2.0 system rebuild was successful.
\n\n
"
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