From ecb748fd371de70ed8a5f32ea257d5b047cf0be1 Mon Sep 17 00:00:00 2001
From: Sylvester Joosten <sjoosten@anl.gov>
Date: Sat, 25 Jul 2020 14:55:33 -0500
Subject: [PATCH] Updated CI for v2.0.2-based container

---
 .gitlab-ci.yml                     | 4 ----
 calorimeters/run_simulation_zdc.sh | 2 --
 trackers/roman_pot_simu.sh         | 2 --
 3 files changed, 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 89ad5bd..ba68e8f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -88,7 +88,6 @@ cal_test_3_zdc_neutrons_reader:
   tags:
     - sodium
   script:
-    - source /etc/profile
     - root -b -q calorimeters/zdc_neutrons_reader.cxx
   allow_failure: true
 
@@ -113,7 +112,6 @@ roman_pot_nhits:
   tags:
     - sodium
   script:
-    - source /etc/profile
     - root -b -q trackers/simple_tracking.cxx+
   allow_failure: true
 
@@ -122,7 +120,6 @@ roman_pot_eta:
   tags:
     - sodium
   script:
-    - source /etc/profile
     - root -b -q trackers/roman_pot_hit_eta.cxx+
   allow_failure: true
 
@@ -131,7 +128,6 @@ zdc_benchmark:
   tags:
     - sodium
   script:
-    - source /etc/profile
     - ls -lrth sim_output
     - root -b -q calorimeters/simple_checking.cxx+
   allow_failure: true
diff --git a/calorimeters/run_simulation_zdc.sh b/calorimeters/run_simulation_zdc.sh
index abcccd9..a5d8497 100755
--- a/calorimeters/run_simulation_zdc.sh
+++ b/calorimeters/run_simulation_zdc.sh
@@ -1,7 +1,5 @@
 #!/bin/bash
 
-source /etc/profile
-
 ddsim --runType batch --numberOfEvents 100 \
       --compactFile ./calorimeters/ZDC_example.xml \
       --inputFiles  ./data/zdc_photons.hepmc \
diff --git a/trackers/roman_pot_simu.sh b/trackers/roman_pot_simu.sh
index 5d2daaa..bd1064e 100755
--- a/trackers/roman_pot_simu.sh
+++ b/trackers/roman_pot_simu.sh
@@ -1,7 +1,5 @@
 #!/bin/bash
 
-source /etc/profile
-
 ddsim --runType batch -N 300 \
 	--inputFiles ./data/forward_ions.hepmc \
 	--compactFile ./trackers/roman_pot.xml \
-- 
GitLab