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 -
Dev_cram_facility 2024-04-03 14:44 452
FACET_cram_facility 2024-04-03 14:44 454
LCLS_cram_facility 2024-04-03 14:44 453
README.html 2024-04-03 14:44 1.7K
RELEASE_NOTES 2024-04-03 14:44 2.7K
SPEAR_cram_facility 2024-04-03 14:44 454
TestFac_cram_facility 2024-04-03 14:44 456
__init__.py 2024-04-03 14:44 0
__pycache__/ 2024-04-15 06:13 -
cacheConfig.py 2024-04-03 14:44 2.9K
cacheConfig.pyc 2024-04-03 14:51 4.0K
cdCommandsParser.py 2024-04-03 14:44 3.1K
cdCommandsParser.pyc 2024-04-03 14:51 3.2K
cpuEnvPathsParser.py 2024-04-03 14:44 3.3K
cpuEnvPathsParser.pyc 2024-04-03 14:51 2.7K
cram 2024-04-03 14:44 4.0K
createLinuxRTCpu.py 2024-04-03 14:44 9.8K
deleteRelease.py 2024-04-03 14:44 2.5K
deleteRelease.pyc 2024-03-28 14:01 3.0K
describeRelease.py 2024-04-03 14:44 2.5K
describeRelease.pyc 2024-04-03 14:51 3.1K
docs/ 2024-04-03 14:44 -
email.cfg 2024-04-03 14:44 274
envPathsParser.py 2024-04-03 14:44 2.7K
envPathsParser.pyc 2024-04-03 14:51 2.5K
epicsCommandParsers/ 2024-04-03 14:44 -
facilities.cfg 2024-04-03 14:44 4.5K
facilities_test.cfg 2024-04-03 14:44 2.0K
getIOCAtPort.py 2024-04-03 14:44 1.0K
globals.py 2024-04-03 14:44 778
globals.pyc 2024-04-03 14:51 1.4K
iocIsBorn.py 2024-04-03 14:44 82K
lintRelease.py 2024-04-03 14:44 9.2K
listCurrentReleases.py 2024-04-03 14:44 14K
listCurrentReleases.pyc 2024-04-09 10:58 11K
multi_facility_process_helper 2024-04-03 14:44 39K
multi_facility_process_helper.py 2024-04-03 14:44 39K
multi_facility_process_helper_client.py 2024-04-03 14:44 3.8K
multi_facility_process_helper_client.pyc 2024-04-03 14:51 4.0K
multiplePVGet.py 2024-04-03 14:44 1.2K
multiplePVGet.pyc 2024-04-03 14:51 1.7K
operator_revert_release.py 2024-04-03 14:44 9.4K
prePostDeployTemplate.py 2024-04-03 14:44 511
pushRelease.py 2024-04-03 14:44 5.9K
pushRelease.pyc 2024-04-09 12:01 5.4K
revertRelease.py 2024-04-03 14:44 6.3K
runReleaseScript.py 2024-04-03 14:44 8.1K
runTests.py 2024-04-03 14:44 1.7K
sampleCDCommands.txt 2024-04-03 14:44 2.8K
sampleCPUEnvPaths.txt 2024-04-03 14:44 7.4K
sampleEnvPaths.txt 2024-04-03 14:44 1.3K
sample_st.cmd 2024-04-03 14:44 1.2K
screeniocs.html 2024-04-03 14:44 8.7K
showHistory.py 2024-04-03 14:44 3.8K
showHistory.pyc 2024-04-09 10:58 4.3K
sortScreenIOCS.py 2024-04-03 14:44 4.5K
staticcontent/ 2024-04-03 14:44 -
tables.py 2024-04-03 14:44 2.3K
templates/ 2024-04-03 14:44 -
testDelete.py 2024-04-03 14:44 4.6K
testFacilitiesConfig.py 2024-04-03 14:44 736
testLint.py 2024-04-03 14:44 5.9K
testMissingIOCTop.py 2024-04-03 14:44 21K
testParsing.py 2024-04-03 14:44 2.8K
testProcessHelperIOCVersions.py 2024-04-03 14:44 9.9K
testPush.py 2024-04-03 14:44 22K
testRevert.py 2024-04-03 14:44 29K
testRun.py 2024-04-03 14:44 13K
testUpgrade.py 2024-04-03 14:44 45K
testUtils.py 2024-04-03 14:44 8.5K
toolconfig.py 2024-04-03 14:44 7.8K
toolconfig.pyc 2024-04-03 14:51 8.3K
upgradeRelease.py 2024-04-03 14:44 19K
upgradeRelease.pyc 2024-04-09 13:41 15K
validateLinks.py 2024-04-03 14:44 8.3K
wizardPy/ 2024-04-03 14:46 -