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 -
docs/ 2021-09-03 09:11 -
epicsCommandParsers/ 2021-09-03 09:11 -
staticcontent/ 2021-09-03 09:11 -
templates/ 2021-09-03 09:11 -
wizardPy/ 2021-09-03 09:11 -
__init__.py 2021-09-03 09:11 0
email.cfg 2021-09-03 09:11 274
Dev_cram_facility 2021-09-03 09:11 454
LCLS_cram_facility 2021-09-03 09:11 455
FACET_cram_facility 2021-09-03 09:11 456
SPEAR_cram_facility 2021-09-03 09:11 456
TestFac_cram_facility 2021-09-03 09:11 458
prePostDeployTemplate.py 2021-09-03 09:11 511
globals.py 2021-09-03 09:11 662
testFacilitiesConfig.py 2021-09-03 09:11 736
getIOCAtPort.py 2021-09-03 09:11 1.0K
multiplePVGet.py 2021-09-03 09:11 1.2K
sample_st.cmd 2021-09-03 09:11 1.2K
globals.pyc 2021-09-03 09:20 1.2K
sampleEnvPaths.txt 2021-09-03 09:11 1.3K
multiplePVGet.pyc 2021-09-07 08:38 1.6K
README.html 2021-09-03 09:11 1.7K
runTests.py 2021-09-03 09:11 1.7K
facilities_test.cfg 2021-09-03 09:11 1.7K
describeRelease.py 2021-09-03 09:11 2.0K
tables.py 2021-09-03 09:11 2.3K
deleteRelease.py 2021-09-03 09:11 2.4K
envPathsParser.pyc 2021-09-07 08:38 2.7K
showHistory.py 2021-09-03 09:11 2.8K
describeRelease.pyc 2021-09-03 09:20 2.8K
sampleCDCommands.txt 2021-09-03 09:11 2.8K
testParsing.py 2021-09-03 09:11 2.8K
cacheConfig.py 2021-09-03 09:11 2.9K
deleteRelease.pyc 2021-10-01 14:47 2.9K
multi_facility_process_helper_client.py 2021-09-03 09:11 2.9K
multi_facility_process_helper_client.pyc 2021-09-03 09:20 2.9K
envPathsParser.py 2021-09-03 09:11 3.1K
cpuEnvPathsParser.pyc 2021-09-07 08:38 3.2K
testDelete.py 2021-09-03 09:11 3.3K
sortScreenIOCS.py 2021-09-03 09:11 3.4K
showHistory.pyc 2021-09-16 10:11 3.4K
cacheConfig.pyc 2021-09-03 09:20 3.7K
cram 2021-09-03 09:11 3.7K
cram.py 2021-09-03 09:11 3.7K
cdCommandsParser.pyc 2021-09-07 08:38 3.8K
facilities.cfg 2021-09-03 09:11 3.9K
cpuEnvPathsParser.py 2021-09-03 09:11 4.1K
cdCommandsParser.py 2021-09-03 09:11 4.6K
pushRelease.pyc 2021-09-07 08:38 5.2K
revertRelease.pyc 2021-09-08 13:45 5.4K
revertRelease.py 2021-09-03 09:11 5.7K
pushRelease.py 2021-09-03 09:11 5.8K
testLint.py 2021-09-03 09:11 5.9K
runReleaseScript.pyc 2021-09-08 13:45 6.2K
runReleaseScript.py 2021-09-03 09:11 6.4K
toolconfig.py 2021-09-03 09:11 6.5K
toolconfig.pyc 2021-09-03 09:20 6.6K
testUtils.py 2021-09-03 09:11 7.1K
sampleCPUEnvPaths.txt 2021-09-03 09:11 7.4K
validateLinks.py 2021-09-03 09:11 7.5K
screeniocs.html 2021-09-03 09:11 8.7K
createLinuxRTCpu.py 2021-09-03 09:11 8.7K
testProcessHelperIOCVersions.py 2021-09-03 09:11 8.9K
lintRelease.py 2021-09-03 09:11 9.0K
operator_revert_release.py 2021-09-03 09:11 9.2K
listCurrentReleases.pyc 2021-09-03 09:20 9.8K
testRun.py 2021-09-03 09:11 10K
listCurrentReleases.py 2021-09-03 09:11 12K
testRevert.py 2021-09-03 09:11 12K
upgradeRelease.pyc 2021-09-07 08:45 14K
testMissingIOCTop.py 2021-09-03 09:11 14K
upgradeRelease.py 2021-09-03 09:11 16K
testPush.py 2021-09-03 09:11 17K
testUpgrade.py 2021-09-03 09:11 35K
multi_facility_process_helper.py 2021-09-03 09:11 36K
iocIsBorn.py 2021-09-03 09:11 82K