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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Commits
d19ca8cd
Commit
d19ca8cd
authored
1 year ago
by
Corné Lukken
Browse files
Options
Downloads
Plain Diff
Merge branch '
L2SS-1758
' into 'master'
L2SS-1758
: Copy grafana image so TAG= can be used Closes
L2SS-1758
See merge request
!895
parents
60ed06e6
942cd0b9
No related branches found
No related tags found
1 merge request
!895
L2SS-1758: Copy grafana image so TAG= can be used
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+0
-3
0 additions, 3 deletions
README.md
infra/dev/nomad/nomad.hcl
+3
-0
3 additions, 0 deletions
infra/dev/nomad/nomad.hcl
sbin/run_integration_test.sh
+8
-2
8 additions, 2 deletions
sbin/run_integration_test.sh
sbin/tag_and_push_docker_image.sh
+1
-1
1 addition, 1 deletion
sbin/tag_and_push_docker_image.sh
with
12 additions
and
6 deletions
README.md
+
0
−
3
View file @
d19ca8cd
...
@@ -14,9 +14,6 @@ Station Control software related to Tango devices. \
...
@@ -14,9 +14,6 @@ Station Control software related to Tango devices. \
*
[
Installation
](
#installation
)
*
[
Installation
](
#installation
)
*
[
Prerequisites
](
#prerequisites
)
*
[
Prerequisites
](
#prerequisites
)
*
[
User documentation (ReadTheDocs (Sphinx / ReStructuredText))
](
tangostationcontrol/docs/README.md
)
*
[
User documentation (ReadTheDocs (Sphinx / ReStructuredText))
](
tangostationcontrol/docs/README.md
)
*
[
Docker compose & station services documentation
](
docker-compose/README.md
)
*
[
Jupyter startup files
](
docker-compose/jupyterlab/ipython-profiles/stationcontrol-jupyter/startup/README.md
)
*
[
Tango Prometheus exporter
](
https://git.astron.nl/lofar2.0/ska-tango-grafana-exporter
)
*
[
Developer Documentation
](
#development
)
*
[
Developer Documentation
](
#development
)
*
[
Deployments
](
deploy/README.md
)
*
[
Deployments
](
deploy/README.md
)
*
[
Versioning
](
#versioning
)
*
[
Versioning
](
#versioning
)
...
...
This diff is collapsed.
Click to expand it.
infra/dev/nomad/nomad.hcl
+
3
−
0
View file @
d19ca8cd
...
@@ -116,6 +116,9 @@ resource "nomad_cluster" "station" {
...
@@ -116,6 +116,9 @@ resource "nomad_cluster" "station" {
copy_image
{
copy_image
{
name
=
"git.astron.nl:5000/lofar2.0/tango/lofar-device-base:${variable.image_tag}"
name
=
"git.astron.nl:5000/lofar2.0/tango/lofar-device-base:${variable.image_tag}"
}
}
copy_image
{
name
=
"git.astron.nl:5000/lofar2.0/tango/grafana:${variable.image_tag}"
}
}
}
resource
"exec"
"enable_oversubscription"
{
resource
"exec"
"enable_oversubscription"
{
...
...
This diff is collapsed.
Click to expand it.
sbin/run_integration_test.sh
+
8
−
2
View file @
d19ca8cd
...
@@ -52,7 +52,7 @@ while true; do
...
@@ -52,7 +52,7 @@ while true; do
exit
0
exit
0
;;
;;
--no-build
)
--no-build
)
echo
"Disable docker
compose
build step"
echo
"Disable docker build step"
export
no_build
=
1
export
no_build
=
1
export
NO_BUILD
=
${
no_build
}
export
NO_BUILD
=
${
no_build
}
;;
;;
...
@@ -108,8 +108,14 @@ if [ -z "${no_build+x}" ]; then
...
@@ -108,8 +108,14 @@ if [ -z "${no_build+x}" ]; then
cd
"
${
LOFAR20_DIR
}
/tangostationcontrol"
||
exit
1
cd
"
${
LOFAR20_DIR
}
/tangostationcontrol"
||
exit
1
tox
-e
build
tox
-e
build
cd
"
$LOFAR20_DIR
/docker"
||
exit
1
cd
"
$LOFAR20_DIR
/docker"
||
exit
1
make ec-sim lofar-device-base dsconfig integration-test
make ec-sim lofar-device-base dsconfig
grafana
integration-test
cd
"
$LOFAR20_DIR
"
cd
"
$LOFAR20_DIR
"
else
docker pull
-q
"git.astron.nl:5000/lofar2.0/tango/grafana:
${
TAG
}
"
||
docker pull
-q
"git.astron.nl:5000/lofar2.0/tango/grafana:latest"
if
[
-z
"
$(
docker images
-q
git.astron.nl:5000/lofar2.0/tango/grafana:
${
TAG
}
2> /dev/null
)
"
]
;
then
echo
"Tagging Grafana latest as
${
TAG
}
for nomad copy_image task"
docker tag git.astron.nl:5000/lofar2.0/tango/grafana:latest git.astron.nl:5000/lofar2.0/tango/grafana:
${
TAG
}
fi
fi
fi
docker network
rm
station
||
true
docker network
rm
station
||
true
...
...
This diff is collapsed.
Click to expand it.
sbin/tag_and_push_docker_image.sh
+
1
−
1
View file @
d19ca8cd
...
@@ -104,7 +104,7 @@ LOCAL_IMAGES=(
...
@@ -104,7 +104,7 @@ LOCAL_IMAGES=(
"dsconfig dsconfig y"
"dsconfig dsconfig y"
"ec-sim ec-sim y"
"ec-sim ec-sim y"
"grafana grafana
n
"
"grafana grafana
y
"
"jupyter-lab jupyter-lab n"
"jupyter-lab jupyter-lab n"
"integration-test integration-test n"
"integration-test integration-test n"
"snmp-exporter snmp-exporter n"
"snmp-exporter snmp-exporter 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