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