Multi-Facility Development, Build and Deployment System
This package contains the scripts and config information for the multi facility build and deploy process.
- There main script is
cram; a simple controller that calls other scripts.
- To run the unit tests, check this out in your workspace on
lcls-dev2 and then run ./runTests.py
The unit tests use a special facilities.cfg called facilities_test.cfg that creates installs in /tmp.
If you Ctrl-C the unit tests, you'll need to clean up folders in /tmp.
You can run individual unit tests using ./runTests.py --tests testProcessHelperIOCVersions.
cram consists of a small server part multi_facility_process_helper.py that supports well defined functionality.
Communication between the client portions and the server is JSON over SSH.
-
If you see
ValueError: No JSON object could be decoded exceptions, this typically means that the server part threw an exception.
Run the same command with a -v argument and you should see the detailed client-server communication.
-
Deploy
cram using cram. cram is stored in git under /afs/slac/g/cd/swe/git/repos/tools/multi_facility_deploy.git.
Remember when you do a git clone, you are getting the entire repo.
You'll need to switch to a tag using git checkout <tag>.
Name Last modified Size Description
Parent Directory -
wizardPy/ 2025-09-11 10:27 -
__pycache__/ 2025-09-11 10:27 -
tables.pyc 2025-09-11 10:15 2.9K
sortScreenIOCS.pyc 2025-09-11 10:15 2.8K
iocIsBorn.pyc 2025-09-11 10:15 56K
validateLinks.pyc 2025-09-11 10:13 7.0K
listCurrentReleases.pyc 2025-09-11 09:50 11K
multiplePVGet.pyc 2025-07-15 20:54 1.7K
envPathsParser.pyc 2025-07-15 20:54 2.5K
cpuEnvPathsParser.pyc 2025-07-15 20:54 2.7K
cdCommandsParser.pyc 2025-07-15 20:54 3.2K
upgradeRelease.pyc 2025-07-14 12:47 15K
pushRelease.pyc 2025-07-14 12:03 5.8K
toolconfig.pyc 2025-07-14 12:03 8.6K
multi_facility_process_helper_client.pyc 2025-07-14 12:03 4.4K
globals.pyc 2025-07-14 12:03 1.4K
describeRelease.pyc 2025-07-14 12:03 3.1K
cacheConfig.pyc 2025-07-14 12:03 4.1K
validateLinks.py 2025-05-30 14:55 8.6K
upgradeRelease.py 2025-05-30 14:55 19K
toolconfig.py 2025-05-30 14:55 8.2K
testUtils.py 2025-05-30 14:55 8.6K
testUpgrade.py 2025-05-30 14:55 49K
testRun.py 2025-05-30 14:55 15K
testRevert.py 2025-05-30 14:55 29K
testPush.py 2025-05-30 14:55 22K
testProcessHelperIOCVersions.py 2025-05-30 14:55 9.9K
testParsing.py 2025-05-30 14:55 2.8K
testMissingIOCTop.py 2025-05-30 14:55 21K
testLint.py 2025-05-30 14:55 6.0K
testFacilitiesConfig.py 2025-05-30 14:55 812
testDelete.py 2025-05-30 14:55 4.6K
templates/ 2025-05-30 14:55 -
tables.py 2025-05-30 14:54 2.3K
staticcontent/ 2025-05-30 14:54 -
sortScreenIOCS.py 2025-05-30 14:54 4.5K
showHistory.py 2025-05-30 14:54 3.8K
screeniocs.html 2025-05-30 14:54 8.7K
sample_st.cmd 2025-05-30 14:54 1.2K
sampleEnvPaths.txt 2025-05-30 14:54 1.3K
sampleCPUEnvPaths.txt 2025-05-30 14:54 7.4K
sampleCDCommands.txt 2025-05-30 14:54 2.8K
runTests.py 2025-05-30 14:54 1.7K
runReleaseScript.py 2025-05-30 14:54 8.1K
revertRelease.py 2025-05-30 14:54 6.3K
pushRelease.py 2025-05-30 14:54 6.7K
prePostDeployTemplate.py 2025-05-30 14:54 511
operator_revert_release.py 2025-05-30 14:54 9.6K
multiplePVGet.py 2025-05-30 14:54 1.2K
multi_facility_process_helper_client.py 2025-05-30 14:54 4.7K
multi_facility_process_helper.py 2025-05-30 14:54 39K
multi_facility_process_helper 2025-05-30 14:54 39K
listCurrentReleases.py 2025-05-30 14:54 14K
lintRelease.py 2025-05-30 14:54 9.2K
iocIsBorn.py 2025-05-30 14:54 82K
globals.py 2025-05-30 14:54 778
getIOCAtPort.py 2025-05-30 14:54 1.0K
facilities_test.cfg 2025-05-30 14:54 2.3K
facilities.cfg 2025-05-30 14:54 4.8K
epicsCommandParsers/ 2025-05-30 14:54 -
envPathsParser.py 2025-05-30 14:54 2.7K
email.cfg 2025-05-30 14:54 274
docs/ 2025-05-30 14:54 -
describeRelease.py 2025-05-30 14:54 2.5K
deleteRelease.py 2025-05-30 14:54 2.5K
createLinuxRTCpu.py 2025-05-30 14:54 9.8K
cram 2025-05-30 14:54 4.0K
cpuEnvPathsParser.py 2025-05-30 14:54 3.3K
cdCommandsParser.py 2025-05-30 14:54 3.1K
cacheConfig.py 2025-05-30 14:54 3.5K
__init__.py 2025-05-30 14:54 0
TestFac_cram_facility 2025-05-30 14:54 456
SPEAR_cram_facility 2025-05-30 14:54 454
SPEARDEV_cram_facility 2025-05-30 14:54 458
RELEASE_NOTES 2025-05-30 14:54 3.0K
README.html 2025-05-30 14:54 1.7K
LCLS_cram_facility 2025-05-30 14:54 453
FACET_cram_facility 2025-05-30 14:54 454
Dev_cram_facility 2025-05-30 14:54 452