@@ -12,6 +12,8 @@ defaults:
1212
1313env :
1414 dataset : ci_test
15+ RCDB_CONNECTION : mysql://rcdb@clasdb.jlab.org/rcdb
16+ CCDB_CONNECTION : mysql://clas12reader@clasdb.jlab.org/clas12
1517
1618concurrency :
1719 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -28,14 +30,14 @@ jobs:
2830 image : codecr.jlab.org/hallb/clas12/container-forge/base:latest
2931 options : --user root
3032 steps :
31- - uses : actions/checkout@v5
33+ - uses : actions/checkout@v6
3234 - name : build
3335 run : mvn install
3436 - run : bin/qtl --version
3537 - name : tar # to preserve any permissions
3638 run : |
3739 tar cavf build_timeline.tar.zst target
38- - uses : actions/upload-artifact@v4
40+ - uses : actions/upload-artifact@v7
3941 with :
4042 name : build_timeline
4143 retention-days : 1
@@ -54,25 +56,22 @@ jobs:
5456 include :
5557 - { type: detectors, schema: mon }
5658 - { type: physics, schema: dst }
57- env :
58- xrootd_file : xroot://sci-xrootd.jlab.org//osgpool/hallb/clas12/validation/recon/${{ matrix.schema }}/validation_files.tar.zst
5959 steps :
60- - uses : actions/cache@v4
60+ - uses : actions/cache@v5
6161 id : cache
6262 with :
63- key : validation_files_ ${{ matrix.type }}
63+ key : validation_files_lfs_ ${{ matrix.type }}
6464 path : validation_files.tar.zst
6565 lookup-only : true
66- - name : install dependencies
67- if : ${{ steps.cache.outputs.cache-hit != 'true' }}
68- run : |
69- sudo apt -y update
70- sudo apt -y install xrootd-client
7166 - name : download
7267 if : ${{ steps.cache.outputs.cache-hit != 'true' }}
73- run : xrdcp ${{ env.xrootd_file }} ./
74- - run : ls -lh .
75- if : ${{ steps.cache.outputs.cache-hit != 'true' }}
68+ run : |
69+ GIT_LFS_SKIP_SMUDGE=1 git clone https://code.jlab.org/hallb/clas12/validation-data.git
70+ cd validation-data
71+ git lfs install --skip-smudge
72+ git config lfs.fetchinclude "recon/${{ matrix.schema }}/validation_files.tar.zst"
73+ git lfs pull
74+ mv -v recon/${{ matrix.schema }}/validation_files.tar.zst $GITHUB_WORKSPACE/
7675
7776 # histogramming
7877 # ############################################################################
@@ -90,13 +89,13 @@ jobs:
9089 matrix :
9190 type : [ detectors, physics ]
9291 steps :
93- - uses : actions/checkout@v5
94- - uses : actions/cache/restore@v4
92+ - uses : actions/checkout@v6
93+ - uses : actions/cache/restore@v5
9594 with :
96- key : validation_files_ ${{ matrix.type }}
95+ key : validation_files_lfs_ ${{ matrix.type }}
9796 path : validation_files.tar.zst
9897 - name : download timeline build
99- uses : actions/download-artifact@v5
98+ uses : actions/download-artifact@v7
10099 with :
101100 name : build_timeline
102101 - name : untar
@@ -112,12 +111,12 @@ jobs:
112111 validation_files
113112 - run : tree slurm
114113 - run : tree outfiles
115- - uses : actions/upload-artifact@v4
114+ - uses : actions/upload-artifact@v7
116115 with :
117116 name : slurm_${{ matrix.type }}
118117 retention-days : 1
119118 path : slurm
120- - uses : actions/upload-artifact@v4
119+ - uses : actions/upload-artifact@v7
121120 with :
122121 name : outfiles_histogram_${{ matrix.type }}
123122 retention-days : 14
@@ -136,13 +135,13 @@ jobs:
136135 matrix :
137136 type : [ detectors, physics ]
138137 steps :
139- - uses : actions/checkout@v5
140- - uses : actions/cache/restore@v4
138+ - uses : actions/checkout@v6
139+ - uses : actions/cache/restore@v5
141140 with :
142- key : validation_files_ ${{ matrix.type }}
141+ key : validation_files_lfs_ ${{ matrix.type }}
143142 path : validation_files.tar.zst
144143 - name : download timeline build
145- uses : actions/download-artifact@v5
144+ uses : actions/download-artifact@v7
146145 with :
147146 name : build_timeline
148147 - name : untar
@@ -173,15 +172,15 @@ jobs:
173172 - { type: detectors, qtl_cmd: 'bin/qtl analysis', args: '-j 4 --skip-mya' }
174173 - { type: physics, qtl_cmd: 'bin/qtl physics', args: '' }
175174 steps :
176- - uses : actions/checkout@v5
175+ - uses : actions/checkout@v6
177176 - name : download outfiles
178- uses : actions/download-artifact@v5
177+ uses : actions/download-artifact@v7
179178 with :
180179 pattern : outfiles_*
181180 merge-multiple : true
182181 path : outfiles
183182 - name : download timeline build
184- uses : actions/download-artifact@v5
183+ uses : actions/download-artifact@v7
185184 with :
186185 name : build_timeline
187186 - name : untar
@@ -201,12 +200,12 @@ jobs:
201200 echo '```' >> $GITHUB_STEP_SUMMARY
202201 tree web | xargs -0 -I{} echo {} >> $GITHUB_STEP_SUMMARY
203202 echo '```' >> $GITHUB_STEP_SUMMARY
204- - uses : actions/upload-artifact@v4
203+ - uses : actions/upload-artifact@v7
205204 with :
206205 name : outfiles_timelines_${{ matrix.type }}
207206 retention-days : 14
208207 path : outfiles
209- - uses : actions/upload-artifact@v4
208+ - uses : actions/upload-artifact@v7
210209 with :
211210 name : web_timelines_${{ matrix.type }}
212211 retention-days : 14
0 commit comments