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