Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review 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
RadioObservatory
LOFAR
Commits
4e56f404
Commit
4e56f404
authored
5 years ago
by
Jorrit Schaap
Browse files
Options
Downloads
Patches
Plain Diff
TMSS-163
: commented out MAC, added TODO's for MAC
parent
7d2cb324
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!110
Resolve TMSS-163
,
!104
Resolve TMSS-146
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+46
-43
46 additions, 43 deletions
.gitlab-ci.yml
with
46 additions
and
43 deletions
.gitlab-ci.yml
+
46
−
43
View file @
4e56f404
...
...
@@ -22,11 +22,12 @@ prepare_ci_lta_docker_image:
-
docker build -t ci_base -f Docker/lofar-ci/Dockerfile_ci_base .
-
docker build -t ci_lta -f Docker/lofar-ci/Dockerfile_ci_lta .
prepare_ci_mac_docker_image
:
stage
:
prepare
script
:
-
docker build -t ci_base -f Docker/lofar-ci/Dockerfile_ci_base .
-
docker build -t ci_mac -f Docker/lofar-ci/Dockerfile_ci_mac .
#TODO: make proper MAC docker image with WinCC (rpm packages from mcu001)
#prepare_ci_mac_docker_image:
# stage: prepare
# script:
# - docker build -t ci_base -f Docker/lofar-ci/Dockerfile_ci_base .
# - docker build -t ci_mac -f Docker/lofar-ci/Dockerfile_ci_mac .
#
# BUILD STAGE
...
...
@@ -41,7 +42,7 @@ build_TMSS:
-
mkdir -p build/gnucxx11_opt
-
cd build/gnucxx11_opt
-
cmake -DBUILD_PACKAGES=$PACKAGE -DCASACORE_ROOT_DIR=/opt/casacore/ -DCASAREST_ROOT_DIR=/opt/casarest/ -DUSE_LOG4CPLUS=false ../..
-
make -j
6
-
make -j
8
-
make install
dependencies
:
-
prepare_ci_sas_docker_image
...
...
@@ -59,7 +60,7 @@ build_RAServices:
-
mkdir -p build/gnucxx11_opt
-
cd build/gnucxx11_opt
-
cmake -DBUILD_PACKAGES=$PACKAGE -DCASACORE_ROOT_DIR=/opt/casacore/ -DCASAREST_ROOT_DIR=/opt/casarest/ -DUSE_LOG4CPLUS=false ../..
-
make -j
6
-
make -j
8
-
make install
dependencies
:
-
prepare_ci_sas_docker_image
...
...
@@ -77,7 +78,7 @@ build_LTAIngest:
-
mkdir -p build/gnucxx11_opt
-
cd build/gnucxx11_opt
-
cmake -DBUILD_PACKAGES=$PACKAGE -DUSE_LOG4CPLUS=false ../..
-
make -j
6
-
make -j
8
-
make install
dependencies
:
-
prepare_ci_lta_docker_image
...
...
@@ -86,23 +87,24 @@ build_LTAIngest:
paths
:
-
build/gnucxx11_opt
build_MCU_MAC
:
stage
:
build
image
:
ci_mac:latest
script
:
-
PACKAGE=MCU_MAC
-
echo "Building $PACKAGE..."
-
mkdir -p build/gnucxx11_opt
-
cd build/gnucxx11_opt
-
cmake -DBUILD_PACKAGES=$PACKAGE -DUSE_LOG4CPLUS=false ../..
-
make -j
6
-
make install
dependencies
:
-
prepare_ci_mac_docker_image
artifacts
:
expire_in
:
6 hours
paths
:
-
build/gnucxx11_opt
# TODO: enable when prepare_ci_mac_docker_image is fixed
#build_MCU_MAC:
# stage: build
# image: ci_mac:latest
# script:
# - PACKAGE=MCU_MAC
# - echo "Building $PACKAGE..."
# - mkdir -p build/gnucxx11_opt
# - cd build/gnucxx11_opt
# - cmake -DBUILD_PACKAGES=$PACKAGE -DUSE_LOG4CPLUS=false ../..
# - make -j 8
# - make install
# dependencies:
# - prepare_ci_mac_docker_image
# artifacts:
# expire_in: 6 hours
# paths:
# - build/gnucxx11_opt
#
# DOCKERIZE
...
...
@@ -190,21 +192,22 @@ unit_test_LTAIngest:
paths
:
-
build/gnucxx11_opt/Testing/Temporary/LastTest.log
unit_test_MCU_MAC
:
stage
:
unit_test
image
:
ci_mac:latest
script
:
-
PACKAGE=MCU_MAC
-
echo "Testing $PACKAGE..."
-
cd build/gnucxx11_opt
-
SKIP_INTEGRATION_TESTS=true ctest
dependencies
:
-
build_MCU_MAC
artifacts
:
name
:
unit-test-report
when
:
always
paths
:
-
build/gnucxx11_opt/Testing/Temporary/LastTest.log
# TODO: enable when build_MCU_MAC is fixed
#unit_test_MCU_MAC:
# stage: unit_test
# image: ci_mac:latest
# script:
# - PACKAGE=MCU_MAC
# - echo "Testing $PACKAGE..."
# - cd build/gnucxx11_opt
# - SKIP_INTEGRATION_TESTS=true ctest
# dependencies:
# - build_MCU_MAC
# artifacts:
# name: unit-test-report
# when: always
# paths:
# - build/gnucxx11_opt/Testing/Temporary/LastTest.log
#
# INTEGRATION TEST STAGE
...
...
@@ -301,7 +304,7 @@ deploy-tmss-test:
-
ssh lofarsys@scu199.control.lofar "docker tag ${CI_NEXUS_REGISTRY}/tmss_django:$CI_COMMIT_SHORT_SHA ${CI_NEXUS_REGISTRY}/tmss_django:latest"
-
ssh lofarsys@scu199.control.lofar "docker-compose -f docker-compose-scu199.yml up -d"
dependencies
:
-
build
_TMSS
-
integration_test
_TMSS
when
:
manual
deploy-tmss-ua
:
...
...
@@ -324,7 +327,7 @@ deploy-tmss-ua:
-
ssh lofarsys@tmss-ua.control.lofar "docker tag ${CI_NEXUS_REGISTRY}/tmss_django:$CI_COMMIT_SHORT_SHA ${CI_NEXUS_REGISTRY}/tmss_django:latest"
-
ssh lofarsys@tmss-ua.control.lofar "docker-compose -f docker-compose-ua.yml up -d"
dependencies
:
-
build
_TMSS
-
integration_test
_TMSS
when
:
manual
only
:
-
"
TMSS-163"
#-
"master"
-
"
master"
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