Skip to content

Accept lists as argument for rucio register script #106

Accept lists as argument for rucio register script

Accept lists as argument for rucio register script #106

Workflow file for this run

name: Test running script for production
on:
push:
branches:
- main
tags:
- '*'
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-and-run:
# Note: this workflow must run on linux
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: cvmfs-contrib/github-action-cvmfs@v3
- uses: eic/run-cvmfs-osg-eic-shell@main
env:
X509_PROXY: ${{ secrets.X509_PROXY }}
with:
platform-release: "eic_xl:nightly"
run: |
eic-info
# Generate a timestamp
timestamp=$(date '+%Y-%m-%d_%H-%M-%S')
# Set certificate
echo "${X509_PROXY}" > x509_user_proxy
export X509_USER_PROXY=x509_user_proxy
# Test running hepmc3 file
DETECTOR_CONFIG="epic_craterlake" \
DETECTOR_VERSION="main" \
TAG_PREFIX="CI/${timestamp}" \
TAG_SUFFIX="CI_${timestamp}" \
COPYRECO=true \
COPYLOG=false \
USERUCIO=true \
scripts/run.sh EVGEN/DIS/NC/18x275/minQ2=1/pythia8NCDIS_18x275_minQ2=1_beamEffects_xAngle=-0.025_hiDiv_1 hepmc3.tree.root 10
# Test running singles file
DETECTOR_CONFIG="epic_craterlake" \
DETECTOR_VERSION="main" \
TAG_PREFIX="CI/${timestamp}" \
TAG_SUFFIX="CI_${timestamp}" \
COPYRECO=true \
COPYLOG=false \
USERUCIO=true \
scripts/run.sh EVGEN/SINGLE/e+/100MeV/130to177deg/e+_100MeV_130to177deg steer 10