Skip to content

Commit bb180de

Browse files
committed
Merge remote-tracking branch 'origin/main' into rgk-pass2
2 parents f4ebf2e + 209b8ed commit bb180de

55 files changed

Lines changed: 2092 additions & 1252 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,31 @@
11
version: 2
22

33
registries:
4-
clas12maven:
5-
type: maven-repository
6-
url: https://clasweb.jlab.org/clas12maven
4+
# clas12maven: # FIXME: disabled, see <https://github.com/JeffersonLab/coatjava/issues/915>
5+
# type: maven-repository
6+
# url: https://clasweb.jlab.org/clas12maven
77
groovy_jfrog:
88
type: maven-repository
99
url: https://groovy.jfrog.io/artifactory/plugins-release
1010

1111
updates:
1212
- package-ecosystem: "maven"
1313
directory: "/"
14+
cooldown:
15+
default-days: 14
1416
schedule:
1517
interval: "weekly"
1618
registries:
17-
- clas12maven
19+
# - clas12maven
1820
- groovy_jfrog
21+
groups:
22+
groovy:
23+
patterns:
24+
- "org.apache.groovy:groovy-*"
25+
- "org.codehaus.groovy:groovy-eclipse-batch"
1926
- package-ecosystem: "github-actions"
2027
directory: "/"
28+
cooldown:
29+
default-days: 14
2130
schedule:
2231
interval: "weekly"

.github/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
changelog:
2+
categories:
3+
- title: ⚠️ Breaking Changes
4+
labels: [ breaking ]
5+
- title: ⭐ General Updates
6+
labels: [ general ]
7+
- title: 🐛 Bug Fixes
8+
labels: [ fix ]
9+
- title: 🔘 RG-L Updates
10+
labels: [ rg-l ]
11+
- title: 👓 QADB Updates
12+
labels: [ qadb ]
13+
- title: 📖 Documentation Updates
14+
labels: [ documentation ]
15+
- title: 📦 Dependency Changes
16+
labels: [ dependencies ]
17+
- title: 🔧 Technical Changes
18+
labels: [ technical ]
19+
- title: 🔘 Other Changes
20+
labels: [ '*' ]

.github/workflows/ci.yml

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ defaults:
1212

1313
env:
1414
dataset: ci_test
15+
RCDB_CONNECTION: mysql://rcdb@clasdb.jlab.org/rcdb
16+
CCDB_CONNECTION: mysql://clas12reader@clasdb.jlab.org/clas12
1517

1618
concurrency:
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

bin/qtl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ usage() {
1717
analysis Analyze the histograms and generate timelines (Step 2)
1818
physics Generate and analyze physics QA timelines (Step 2)
1919
error Scan for errors in Slurm logs (for Step 1)
20+
reheat Reproduce a data file, e.g., to rerun postprocessing
21+
xcharge Cross check and analyze FC charge
22+
xtrain Cross check run list from trains and DSTs
2023
2124
OPTIONS: Each command has its own set of options; run a command with no
2225
additional options to see usage for that command.
@@ -39,6 +42,9 @@ case $cmd in
3942
an*) exec $TIMELINESRC/bin/qtl-analysis "$@" ;;
4043
ph*) exec $TIMELINESRC/bin/qtl-physics "$@" ;;
4144
er*) exec $TIMELINESRC/bin/qtl-error "$@" ;;
45+
re*) exec $TIMELINESRC/bin/qtl-reheat "$@" ;;
46+
xc*) exec $TIMELINESRC/bin/qtl-xcharge "$@" ;;
47+
xt*) exec $TIMELINESRC/bin/qtl-xtrain "$@" ;;
4248
-v|--version)
4349
echo $(mvn -q help:evaluate -Dexpression=project.version -DforceStdout -f $TIMELINESRC/pom.xml || echo "UNKNOWN")
4450
exit 0

0 commit comments

Comments
 (0)