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
c9af609f
Commit
c9af609f
authored
3 years ago
by
Corné Lukken
Browse files
Options
Downloads
Patches
Plain Diff
L2SS-776
: Ensure observation image is build
parent
0c5c1204
No related branches found
No related tags found
1 merge request
!329
L2SS-776: Add configdb and observation device
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+18
-0
18 additions, 0 deletions
.gitlab-ci.yml
sbin/tag_and_push_docker_image.sh
+1
-0
1 addition, 0 deletions
sbin/tag_and_push_docker_image.sh
tangostationcontrol/tangostationcontrol/devices/README.md
+1
-1
1 addition, 1 deletion
tangostationcontrol/tangostationcontrol/devices/README.md
with
20 additions
and
1 deletion
.gitlab-ci.yml
+
18
−
0
View file @
c9af609f
...
...
@@ -42,6 +42,12 @@ stages:
-
. bootstrap/etc/lofar20rc.sh ||
true
## Allow docker image script to execute
# - chmod u+x $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh
.base_docker_images_except
:
extends
:
.base_docker_images
except
:
refs
:
-
tags
-
master
.base_docker_store_images
:
extends
:
.base_docker_images
script
:
...
...
@@ -94,6 +100,7 @@ docker_build_image_all:
-
bash $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh device-antennafield latest
-
bash $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh device-boot latest
-
bash $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh device-docker latest
-
bash $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh device-observation latest
-
bash $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh device-observation_control latest
-
bash $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh device-pdu latest
-
bash $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh device-recv latest
...
...
@@ -390,6 +397,17 @@ docker_build_image_device_docker:
script
:
# Do not remove 'bash' or statement will be ignored by primitive docker shell
-
bash $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh device-docker $tag
docker_build_image_device_observation
:
extends
:
.base_docker_images_except
only
:
refs
:
-
merge_requests
changes
:
-
docker-compose/device-observation.yml
-
docker-compose/lofar-device-base/*
script
:
# Do not remove 'bash' or statement will be ignored by primitive docker shell
-
bash $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh device-observation $tag
docker_build_image_device_observation_control
:
extends
:
.base_docker_images
rules
:
...
...
This diff is collapsed.
Click to expand it.
sbin/tag_and_push_docker_image.sh
+
1
−
0
View file @
c9af609f
...
...
@@ -85,6 +85,7 @@ LOCAL_IMAGES=(
"device-apsct device-apsct y"
"device-apspu device-apspu y"
"device-boot device-boot y"
"device-docker device-docker y"
"device-observation device-observation y"
"device-observation_control device-observation_control y"
"device-recv device-recv y"
"device-temperature-manager y"
"device-sdp device-sdp y"
"device-sst device-sst y"
...
...
This diff is collapsed.
Click to expand it.
tangostationcontrol/tangostationcontrol/devices/README.md
+
1
−
1
View file @
c9af609f
...
...
@@ -15,7 +15,7 @@ If a new device is added, it will (likely) need to be referenced in several plac
-
Add to
`tangostationcontrol/tangostationcontrol/integration_test/default/devices/`
to add an integration test,
-
Adjust
`sbin/run_integration_test.sh`
to have the device started when running the integration tests,
-
Adjust
`.gitlab-ci.yml`
to add the device to the
`docker_build_image_all`
step and to create a
`docker_build_image_device_XXX`
step,
-
Add to
`sbin/tag_and_push_docker_image.sh`
the LOCAL_IMAGES devicename and build for integration boolean
pair,
-
Add to
`sbin/tag_and_push_docker_image.sh`
the LOCAL_IMAGES device
name, imagine
name and build for integration boolean
triple,
-
Add to
`tangostationcontrol/docs/source/devices/`
to mention the device in the end-user documentation.
-
Adjust
`tangostationcontrol/docs/source/index.rst`
to include the newly created file in
`docs/source/devices/`
.
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