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 -
revertRelease.py 2022-06-27 11:07 5.7K
pushRelease.py 2022-06-27 11:07 5.8K
runReleaseScript.py 2022-06-27 11:07 7.1K
runTests.py 2022-06-27 11:07 1.7K
sortScreenIOCS.py 2022-06-27 11:06 3.4K
toolconfig.py 2022-06-27 11:06 6.5K
upgradeRelease.py 2022-06-27 11:06 18K
prePostDeployTemplate.py 2022-06-27 11:05 513
operator_revert_release.py 2022-06-27 11:05 9.2K
multi_facility_process_helper.py 2022-06-27 11:05 38K
multiplePVGet.py 2022-06-27 11:04 1.2K
lintRelease.py 2022-06-27 11:04 9.0K
iocIsBorn.py 2022-06-27 11:04 82K
globals.py 2022-06-27 11:04 663
envPathsParser.py 2022-06-27 10:58 3.1K
describeRelease.py 2022-06-27 10:58 2.4K
deleteRelease.py 2022-06-27 10:57 2.4K
createLinuxRTCpu.py 2022-06-27 10:57 8.7K
cram.py 2022-06-27 10:57 3.8K
cram 2022-06-27 10:57 3.8K
cdCommandsParser.py 2022-06-27 10:56 4.6K
cpuEnvPathsParser.py 2022-06-27 10:56 4.1K
listCurrentReleases.py 2022-06-27 10:55 14K
wizardPy/ 2022-04-22 15:19 -
tables.pyc 2022-04-22 15:19 2.9K
sortScreenIOCS.pyc 2022-04-22 15:19 2.3K
iocIsBorn.pyc 2022-04-22 15:19 56K
getIOCAtPort.pyc 2022-04-22 15:19 854
validateLinks.pyc 2022-04-04 06:53 6.4K
upgradeRelease.pyc 2022-04-01 18:29 15K
toolconfig.pyc 2022-04-01 18:29 6.8K
testUtils.pyc 2022-04-01 18:29 9.2K
testUpgrade.pyc 2022-04-01 18:29 34K
testRun.pyc 2022-04-01 18:29 10K
testRevert.pyc 2022-04-01 18:29 18K
testPush.pyc 2022-04-01 18:29 16K
testProcessHelperIOCVersions.pyc 2022-04-01 18:29 11K
testParsing.pyc 2022-04-01 18:29 2.9K
testMissingIOCTop.pyc 2022-04-01 18:29 12K
testLint.pyc 2022-04-01 18:29 4.6K
testFacilitiesConfig.pyc 2022-04-01 18:29 1.3K
testDelete.pyc 2022-04-01 18:29 4.8K
showHistory.pyc 2022-04-01 18:29 3.4K
runReleaseScript.pyc 2022-04-01 18:29 6.6K
revertRelease.pyc 2022-04-01 18:29 5.4K
pushRelease.pyc 2022-04-01 18:29 5.2K
multiplePVGet.pyc 2022-04-01 18:29 1.6K
multi_facility_process_helper_client.pyc 2022-04-01 18:29 3.0K
multi_facility_process_helper.pyc 2022-04-01 18:29 33K
listCurrentReleases.pyc 2022-04-01 18:29 11K
lintRelease.pyc 2022-04-01 18:29 8.8K
globals.pyc 2022-04-01 18:29 1.3K
epicsCommandParsers/ 2022-04-01 18:29 -
envPathsParser.pyc 2022-04-01 18:29 2.7K
describeRelease.pyc 2022-04-01 18:29 2.9K
deleteRelease.pyc 2022-04-01 18:29 2.9K
cpuEnvPathsParser.pyc 2022-04-01 18:29 3.2K
cdCommandsParser.pyc 2022-04-01 18:29 3.8K
cacheConfig.pyc 2022-04-01 18:29 3.8K
validateLinks.py 2022-04-01 17:52 8.0K
testUtils.py 2022-04-01 17:52 8.5K
testUpgrade.py 2022-04-01 17:52 42K
testRun.py 2022-04-01 17:52 13K
testRevert.py 2022-04-01 17:52 22K
testPush.py 2022-04-01 17:52 22K
testProcessHelperIOCVersions.py 2022-04-01 17:52 9.9K
testParsing.py 2022-04-01 17:52 2.8K
testMissingIOCTop.py 2022-04-01 17:52 21K
testLint.py 2022-04-01 17:52 5.9K
testFacilitiesConfig.py 2022-04-01 17:52 736
testDelete.py 2022-04-01 17:52 4.6K
templates/ 2022-04-01 17:52 -
tables.py 2022-04-01 17:52 2.3K
staticcontent/ 2022-04-01 17:52 -
showHistory.py 2022-04-01 17:52 2.8K
screeniocs.html 2022-04-01 17:52 8.7K
sample_st.cmd 2022-04-01 17:52 1.2K
sampleEnvPaths.txt 2022-04-01 17:52 1.3K
sampleCPUEnvPaths.txt 2022-04-01 17:52 7.4K
sampleCDCommands.txt 2022-04-01 17:52 2.8K
multi_facility_process_helper_client.py 2022-04-01 17:52 2.9K
getIOCAtPort.py 2022-04-01 17:52 1.0K
facilities_test.cfg 2022-04-01 17:52 2.0K
facilities.cfg 2022-04-01 17:52 4.5K
email.cfg 2022-04-01 17:52 274
docs/ 2022-04-01 17:52 -
cacheConfig.py 2022-04-01 17:52 2.9K
__init__.py 2022-04-01 17:52 0
TestFac_cram_facility 2022-04-01 17:52 458
SPEAR_cram_facility 2022-04-01 17:52 456
README.html 2022-04-01 17:52 1.7K
LCLS_cram_facility 2022-04-01 17:52 455
FACET_cram_facility 2022-04-01 17:52 456
Dev_cram_facility 2022-04-01 17:52 454