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 -
__pycache__/ 2022-10-07 14:03 -
docs/ 2022-09-02 15:40 -
epicsCommandParsers/ 2022-09-02 15:40 -
staticcontent/ 2022-09-02 15:40 -
templates/ 2022-09-02 15:40 -
wizardPy/ 2022-09-02 15:40 -
__init__.py 2022-09-02 15:40 0
email.cfg 2022-09-02 15:40 274
Dev_cram_facility 2022-09-02 15:40 454
LCLS_cram_facility 2022-09-02 15:40 455
FACET_cram_facility 2022-09-02 15:40 456
SPEAR_cram_facility 2022-09-02 15:40 456
TestFac_cram_facility 2022-09-02 15:40 458
prePostDeployTemplate.py 2022-09-02 15:40 511
globals.py 2022-09-02 15:40 662
testFacilitiesConfig.py 2022-09-02 15:40 736
getIOCAtPort.py 2022-09-02 15:40 1.0K
sample_st.cmd 2022-09-02 15:40 1.2K
multiplePVGet.py 2022-09-02 15:40 1.2K
sampleEnvPaths.txt 2022-09-02 15:40 1.3K
globals.pyc 2022-09-27 14:24 1.3K
RELEASE_NOTES 2022-09-02 15:40 1.4K
README.html 2022-09-02 15:40 1.7K
runTests.py 2022-09-02 15:40 1.7K
multiplePVGet.pyc 2022-09-02 15:44 1.7K
facilities_test.cfg 2022-09-02 15:40 2.0K
tables.py 2022-09-02 15:40 2.3K
deleteRelease.py 2022-09-02 15:40 2.5K
envPathsParser.pyc 2022-09-02 15:44 2.5K
describeRelease.py 2022-09-02 15:40 2.5K
envPathsParser.py 2022-09-02 15:40 2.7K
cpuEnvPathsParser.pyc 2022-09-02 15:44 2.7K
sampleCDCommands.txt 2022-09-02 15:40 2.8K
testParsing.py 2022-09-02 15:40 2.8K
cacheConfig.py 2022-09-02 15:40 2.9K
multi_facility_process_helper_client.py 2022-09-02 15:40 3.0K
describeRelease.pyc 2022-09-27 14:24 3.0K
cdCommandsParser.py 2022-09-02 15:40 3.1K
multi_facility_process_helper_client.pyc 2022-09-27 14:24 3.2K
cdCommandsParser.pyc 2022-09-02 15:44 3.2K
cpuEnvPathsParser.py 2022-09-02 15:40 3.3K
sortScreenIOCS.py 2022-09-02 15:40 3.4K
showHistory.py 2022-09-02 15:40 3.4K
cram 2022-09-02 15:40 3.9K
showHistory.pyc 2022-09-22 14:05 4.0K
cacheConfig.pyc 2022-09-27 14:24 4.0K
facilities.cfg 2022-09-02 15:40 4.5K
testDelete.py 2022-09-02 15:40 4.6K
pushRelease.pyc 2022-09-08 13:41 5.3K
revertRelease.pyc 2022-09-15 15:59 5.8K
pushRelease.py 2022-09-02 15:40 5.9K
testLint.py 2022-09-02 15:40 5.9K
revertRelease.py 2022-09-02 15:40 6.1K
toolconfig.py 2022-09-02 15:40 6.7K
runReleaseScript.pyc 2022-09-15 15:59 7.0K
toolconfig.pyc 2022-09-27 14:24 7.1K
sampleCPUEnvPaths.txt 2022-09-02 15:40 7.4K
runReleaseScript.py 2022-09-02 15:40 7.5K
validateLinks.py 2022-09-02 15:40 8.3K
testUtils.py 2022-09-02 15:40 8.5K
screeniocs.html 2022-09-02 15:40 8.7K
createLinuxRTCpu.py 2022-09-02 15:40 8.7K
lintRelease.py 2022-09-02 15:40 9.2K
operator_revert_release.py 2022-09-02 15:40 9.4K
testProcessHelperIOCVersions.py 2022-09-02 15:40 9.9K
listCurrentReleases.pyc 2022-09-02 17:29 11K
testRun.py 2022-09-02 15:40 13K
listCurrentReleases.py 2022-09-02 15:40 14K
upgradeRelease.pyc 2022-09-02 15:47 15K
upgradeRelease.py 2022-09-02 15:40 19K
testMissingIOCTop.py 2022-09-02 15:40 21K
testPush.py 2022-09-02 15:40 22K
testRevert.py 2022-09-02 15:40 29K
multi_facility_process_helper 2022-09-02 15:40 39K
multi_facility_process_helper.py 2022-09-02 15:40 39K
testUpgrade.py 2022-09-02 15:40 45K
iocIsBorn.py 2022-09-02 15:40 82K