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