Skip to content
Snippets Groups Projects
Commit ce3f5bc1 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: .gitlab-ci.yml

	modified:   containers/singularity/Singularity
	modified:   tests/elastic_test.sh
parent d07cacb0
No related branches found
No related tags found
No related merge requests found
Pipeline #1736 failed
...@@ -3,7 +3,7 @@ image: eicweb.phy.anl.gov:4567/whit/image_recipes/root_base:latest ...@@ -3,7 +3,7 @@ image: eicweb.phy.anl.gov:4567/whit/image_recipes/root_base:latest
stages: stages:
- build - build
- build_sing_img - build_sing_img
- data_tests # - data_tests
hcana_docker: hcana_docker:
stage: build stage: build
...@@ -17,23 +17,24 @@ hcana_singularity: ...@@ -17,23 +17,24 @@ hcana_singularity:
tags: tags:
- singularity - singularity
stage: build_sing_img stage: build_sing_img
when: manual #when: manual
dependencies: dependencies:
- hcana_docker - hcana_docker
script: script:
- /bin/bash .gitlabci/setup.sh #- /bin/bash .gitlabci/setup.sh
- mkdir -p build #- mkdir -p build
- pwd #- pwd
- cp containers/singularity/Singularity Singularity.hcana - cp containers/singularity/Singularity Singularity.hcana
- /bin/bash .gitlabci/build.sh Singularity.hcana #- /bin/bash .gitlabci/build.sh Singularity.hcana
- cp Singularity.hcana.simg build/. #- cp Singularity.hcana.simg build/.
- cp Singularity.hcana build/. - cp Singularity.hcana build/.
artifacts: artifacts:
paths: paths:
- build/Singularity.hcana.simg #- build/Singularity.hcana.simg
- build/Singularity.hcana - build/Singularity.hcana
elastic_tests: elastic_tests:
stage: data_tests #stage: data_tests
dependency: hcana_singularity
script: script:
- bash tests/elastic_test.sh - bash tests/elastic_test.sh
Bootstrap: docker Bootstrap: docker
From: hallac/hcana:latest From: eicweb.phy.anl.gov:4567/jlab/hallc/analyzer_software/hcana:latest
%help %help
Hall A/C container. Hall A/C container.
...@@ -29,11 +29,11 @@ From: hallac/hcana:latest ...@@ -29,11 +29,11 @@ From: hallac/hcana:latest
source /usr/local/bin/thisroot.sh source /usr/local/bin/thisroot.sh
## libformat and nlohmann json used heavily in new generation replay scripts ## libformat and nlohmann json used heavily in new generation replay scripts
## libformat ## libformat
cd /tmp && git clone https://github.com/fmtlib/fmt.git && cd fmt && \ #cd /tmp && git clone https://github.com/fmtlib/fmt.git && cd fmt && \
git checkout 5.3.0 && mkdir /tmp/build && cd /tmp/build && \ # git checkout 5.3.0 && mkdir /tmp/build && cd /tmp/build && \
cmake -DBUILD_SHARED_LIBS=TRUE ../fmt && # cmake -DBUILD_SHARED_LIBS=TRUE ../fmt &&
make -j4 install && cd /tmp && rm -r /tmp/build && rm -r /tmp/fmt # make -j4 install && cd /tmp && rm -r /tmp/build && rm -r /tmp/fmt
## json ### json
apt-get install nlohmann-json-dev apt-get install nlohmann-json-dev
# ======================= # =======================
......
...@@ -4,3 +4,6 @@ echo "This is the elastic testing..." ...@@ -4,3 +4,6 @@ echo "This is the elastic testing..."
echo " " echo " "
echo "There are currently 0 tests to run!" echo "There are currently 0 tests to run!"
which hcana which hcana
ls -lrth
ls -lrth build
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment