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