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 2022-07-13 16:55 454
FACET_cram_facility 2022-07-13 16:55 456
LCLS_cram_facility 2022-07-13 16:55 455
README.html 2022-07-13 16:55 1.7K
SPEAR_cram_facility 2022-07-13 16:55 456
TestFac_cram_facility 2022-07-13 16:55 458
__init__.py 2022-07-13 16:55 0
__pycache__/ 2022-07-13 16:21 -
cacheConfig.py 2022-07-13 16:55 2.9K
cacheConfig.pyc 2022-07-14 10:40 3.9K
cdCommandsParser.py 2022-07-13 16:55 4.5K
cdCommandsParser.pyc 2022-07-14 10:41 3.8K
cpuEnvPathsParser.py 2022-07-13 16:55 4.1K
cpuEnvPathsParser.pyc 2022-07-14 10:41 3.1K
cram 2022-07-13 16:55 433
cram.py 2022-07-13 16:55 3.9K
createLinuxRTCpu.py 2022-07-13 16:55 8.7K
deleteRelease.py 2022-07-13 16:55 2.5K
deleteRelease.pyc 2022-07-19 17:03 3.0K
describeRelease.py 2022-07-13 16:55 2.5K
describeRelease.pyc 2022-07-14 10:40 3.0K
docs/ 2022-07-13 16:55 -
email.cfg 2022-07-13 16:55 274
envPathsParser.py 2022-07-13 16:55 3.1K
envPathsParser.pyc 2022-07-14 10:41 2.7K
epicsCommandParsers/ 2022-07-13 16:55 -
facilities.cfg 2022-07-13 16:55 4.5K
facilities_test.cfg 2022-07-13 16:55 2.0K
getIOCAtPort.py 2022-07-13 16:55 1.0K
getIOCAtPort.pyc 2022-07-19 17:04 854
globals.py 2022-07-13 16:55 662
globals.pyc 2022-07-14 10:40 1.3K
iocIsBorn.py 2022-07-13 16:55 82K
iocIsBorn.pyc 2022-07-19 17:04 56K
lintRelease.py 2022-07-13 16:55 9.2K
lintRelease.pyc 2022-07-13 16:21 8.9K
listCurrentReleases.py 2022-07-13 16:55 14K
listCurrentReleases.pyc 2022-07-14 10:40 11K
multi_facility_process_helper 2022-07-13 16:55 458
multi_facility_process_helper.py 2022-07-13 16:55 38K
multi_facility_process_helper.pyc 2022-07-13 16:21 33K
multi_facility_process_helper_client.py 2022-07-13 16:55 3.0K
multi_facility_process_helper_client.pyc 2022-07-14 10:40 3.2K
multiplePVGet.py 2022-07-13 16:55 1.2K
multiplePVGet.pyc 2022-07-14 10:41 1.7K
operator_revert_release.py 2022-07-13 16:55 9.4K
prePostDeployTemplate.py 2022-07-13 16:55 511
pushRelease.py 2022-07-13 16:55 5.9K
pushRelease.pyc 2022-07-14 10:53 5.3K
revertRelease.py 2022-07-13 16:55 5.8K
revertRelease.pyc 2022-07-14 21:20 5.6K
runReleaseScript.py 2022-07-13 16:55 7.2K
runReleaseScript.pyc 2022-07-14 21:20 6.7K
runTests.py 2022-07-13 16:55 1.7K
sampleCDCommands.txt 2022-07-13 16:55 2.8K
sampleCPUEnvPaths.txt 2022-07-13 16:55 7.4K
sampleEnvPaths.txt 2022-07-13 16:55 1.3K
sample_st.cmd 2022-07-13 16:55 1.2K
screeniocs.html 2022-07-13 16:55 8.7K
showHistory.py 2022-07-13 16:55 2.9K
showHistory.pyc 2022-07-14 22:21 3.5K
sortScreenIOCS.py 2022-07-13 16:55 3.4K
sortScreenIOCS.pyc 2022-07-19 17:04 2.3K
staticcontent/ 2022-07-13 16:55 -
tables.py 2022-07-13 16:55 2.3K
tables.pyc 2022-07-19 17:04 2.9K
templates/ 2022-07-13 16:55 -
testDelete.py 2022-07-13 16:55 4.6K
testDelete.pyc 2022-07-13 16:21 4.8K
testFacilitiesConfig.py 2022-07-13 16:55 736
testFacilitiesConfig.pyc 2022-07-13 16:21 1.3K
testLint.py 2022-07-13 16:55 5.9K
testLint.pyc 2022-07-13 16:21 4.7K
testMissingIOCTop.py 2022-07-13 16:55 21K
testMissingIOCTop.pyc 2022-07-13 16:21 12K
testParsing.py 2022-07-13 16:55 2.8K
testParsing.pyc 2022-07-13 16:21 2.9K
testProcessHelperIOCVersions.py 2022-07-13 16:55 9.9K
testProcessHelperIOCVersions.pyc 2022-07-13 16:21 11K
testPush.py 2022-07-13 16:55 22K
testPush.pyc 2022-07-13 16:21 17K
testRevert.py 2022-07-13 16:55 22K
testRevert.pyc 2022-07-13 16:21 19K
testRun.py 2022-07-13 16:55 13K
testRun.pyc 2022-07-13 16:21 10K
testUpgrade.py 2022-07-13 16:55 42K
testUpgrade.pyc 2022-07-13 16:21 34K
testUtils.py 2022-07-13 16:55 8.5K
testUtils.pyc 2022-07-13 16:21 9.2K
toolconfig.py 2022-07-13 16:55 6.7K
toolconfig.pyc 2022-07-14 10:40 7.1K
upgradeRelease.py 2022-07-13 16:55 18K
upgradeRelease.pyc 2022-07-14 11:14 15K
validateLinks.py 2022-07-13 16:55 8.3K
validateLinks.pyc 2022-07-19 17:04 6.8K
wizardPy/ 2022-07-19 17:04 -