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/ 2020-01-07 12:09 -
epicsCommandParsers/ 2020-01-07 12:09 -
staticcontent/ 2020-01-07 12:09 -
templates/ 2020-01-07 12:09 -
wizardPy/ 2020-01-10 14:21 -
__init__.py 2020-01-07 12:09 0
email.cfg 2020-01-07 12:09 274
Dev_cram_facility 2020-01-07 12:09 454
LCLS_cram_facility 2020-01-07 12:09 455
FACET_cram_facility 2020-01-07 12:09 456
SPEAR_cram_facility 2020-01-07 12:09 456
TestFac_cram_facility 2020-01-07 12:09 458
prePostDeployTemplate.py 2020-01-07 12:09 511
globals.py 2020-01-07 12:09 662
testFacilitiesConfig.py 2020-01-07 12:09 736
getIOCAtPort.pyc 2020-01-10 14:21 854
getIOCAtPort.py 2020-01-07 12:09 1.0K
multiplePVGet.py 2020-01-07 12:09 1.2K
sample_st.cmd 2020-01-07 12:09 1.2K
sampleEnvPaths.txt 2020-01-07 12:09 1.3K
globals.pyc 2020-01-07 12:10 1.3K
facilities_test.cfg 2020-01-07 12:09 1.6K
multiplePVGet.pyc 2020-01-07 12:10 1.6K
README.html 2020-01-07 12:09 1.7K
runTests.py 2020-01-07 12:09 1.7K
describeRelease.py 2020-01-07 12:09 2.0K
sortScreenIOCS.pyc 2020-01-10 14:21 2.3K
tables.py 2020-01-07 12:09 2.3K
deleteRelease.py 2020-01-07 12:09 2.4K
envPathsParser.pyc 2020-01-07 12:10 2.7K
showHistory.py 2020-01-07 12:09 2.8K
sampleCDCommands.txt 2020-01-07 12:09 2.8K
testParsing.py 2020-01-07 12:09 2.8K
cacheConfig.py 2020-01-07 12:09 2.9K
deleteRelease.pyc 2020-04-02 14:52 2.9K
describeRelease.pyc 2020-01-07 12:10 2.9K
multi_facility_process_helper_client.py 2020-01-07 12:09 2.9K
tables.pyc 2020-01-10 14:21 2.9K
multi_facility_process_helper_client.pyc 2020-01-07 12:10 3.0K
envPathsParser.py 2020-01-07 12:09 3.1K
testDelete.py 2020-01-07 12:09 3.3K
sortScreenIOCS.py 2020-01-07 12:09 3.4K
showHistory.pyc 2020-01-14 10:43 3.4K
cram 2020-01-07 12:09 3.7K
cram.py 2020-01-07 12:09 3.7K
cdCommandsParser.pyc 2020-01-07 12:10 3.8K
cacheConfig.pyc 2020-01-07 12:10 3.8K
facilities.cfg 2020-01-07 12:09 3.9K
cdCommandsParser.py 2020-01-07 12:09 4.6K
pushRelease.pyc 2020-01-07 12:29 4.9K
revertRelease.pyc 2020-01-20 11:18 5.4K
pushRelease.py 2020-01-07 12:09 5.5K
revertRelease.py 2020-01-07 12:09 5.7K
testLint.py 2020-01-07 12:09 5.9K
runReleaseScript.pyc 2020-01-20 11:18 6.2K
validateLinks.pyc 2020-01-17 16:45 6.3K
toolconfig.py 2020-01-07 12:09 6.3K
runReleaseScript.py 2020-01-07 12:09 6.4K
toolconfig.pyc 2020-01-07 12:10 6.7K
testUtils.py 2020-01-07 12:09 6.7K
validateLinks.py 2020-01-07 12:09 7.5K
screeniocs.html 2020-01-07 12:09 8.7K
testProcessHelperIOCVersions.py 2020-01-07 12:09 8.9K
lintRelease.py 2020-01-07 12:09 9.0K
operator_revert_release.py 2020-01-07 12:09 9.2K
listCurrentReleases.pyc 2020-01-07 12:10 9.6K
testRun.py 2020-01-07 12:09 10K
listCurrentReleases.py 2020-01-07 12:09 12K
testRevert.py 2020-01-07 12:09 12K
upgradeRelease.pyc 2020-01-07 12:10 14K
testMissingIOCTop.py 2020-01-07 12:09 14K
testPush.py 2020-01-07 12:09 16K
upgradeRelease.py 2020-01-07 12:09 16K
testUpgrade.py 2020-01-07 12:09 35K
multi_facility_process_helper.py 2020-01-07 12:09 36K
iocIsBorn.pyc 2020-01-10 14:21 56K
iocIsBorn.py 2020-01-07 12:09 82K