Skip to content

Commit

Permalink
test: Use "dirac internal legacy cs-sync" for exporting the CS
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr committed Oct 9, 2023
1 parent 9bc6b2f commit 59d1489
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/CI/exportCSLoop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ git config --global user.name "DIRAC Server CI"
git config --global user.email "dirac-server-ci@invalid"

while true; do
curl -L https://gitlab.cern.ch/chaen/chris-hackaton-cs/-/raw/integration-tests/convert-from-legacy.py |DIRAC_COMPAT_ENABLE_CS_CONVERSION=True /home/dirac/ServerInstallDIR/diracos/bin/python - /home/dirac/ServerInstallDIR/etc/Production.cfg /cs_store/initialRepo/
DIRAC_COMPAT_ENABLE_CS_CONVERSION=x dirac internal legacy cs-sync \
$DIRACOS/etc/Production.cfg \
/home/dirac/TestCode/diracx/tests/cli/legacy/cs_sync/convert_integration_test.yaml \
/cs_store/initialRepo/default.yml
git --git-dir=.git -C /cs_store/initialRepo/ commit -am "export $(date)"
if [[ "${1}" == "--once" ]]; then
break
Expand Down

0 comments on commit 59d1489

Please sign in to comment.