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 2018-03-20 10:55 454
FACET_cram_facility 2018-03-20 10:55 456
LCLS_cram_facility 2018-03-20 10:55 455
README.html 2018-03-20 10:55 1.7K
SPEAR_cram_facility 2018-03-20 10:55 456
TestFac_cram_facility 2018-03-20 10:55 458
__init__.py 2018-03-20 10:55 0
cacheConfig.py 2018-03-20 10:55 2.9K
cacheConfig.pyc 2018-03-21 07:00 3.8K
cdCommandsParser.py 2018-03-20 10:55 4.6K
cdCommandsParser.pyc 2018-03-21 07:00 3.8K
cram 2018-03-20 10:55 3.7K
deleteRelease.py 2018-03-20 10:55 2.4K
deleteRelease.pyc 2018-07-27 15:23 2.9K
describeRelease.py 2018-03-20 10:55 2.0K
describeRelease.pyc 2018-03-21 07:00 2.9K
docs/ 2018-03-20 10:55 -
email.cfg 2018-03-20 10:55 96
envPathsParser.py 2018-03-20 10:55 3.1K
envPathsParser.pyc 2018-03-21 07:00 2.7K
epicsCommandParsers/ 2018-07-27 14:10 -
facilities.cfg 2018-03-20 10:55 3.9K
facilities_test.cfg 2018-03-20 10:55 1.6K
globals.py 2018-03-20 10:55 662
globals.pyc 2018-03-21 07:00 1.3K
iocIsBorn.py 2018-03-20 10:55 36K
iocIsBorn.pyc 2018-04-20 13:07 30K
lintRelease.py 2018-03-20 10:55 9.0K
lintRelease.pyc 2018-07-27 14:10 8.8K
listCurrentReleases.py 2018-03-20 10:55 12K
listCurrentReleases.pyc 2018-03-21 07:00 9.6K
multi_facility_process_helper.py 2018-03-20 10:55 37K
multi_facility_process_helper_client.py 2018-03-20 10:55 2.4K
multi_facility_process_helper_client.pyc 2018-03-21 07:00 2.7K
multiplePVGet.py 2018-03-20 10:55 1.2K
multiplePVGet.pyc 2018-03-21 07:00 1.6K
operator_revert_release.py 2018-03-20 10:55 9.2K
prePostDeployTemplate.py 2018-03-20 10:55 511
pushRelease.py 2018-03-20 10:55 5.5K
pushRelease.pyc 2018-03-21 09:50 4.9K
revertRelease.py 2018-03-20 10:55 4.8K
revertRelease.pyc 2018-07-03 14:15 4.8K
runReleaseScript.py 2018-03-20 10:55 6.1K
runReleaseScript.pyc 2018-07-03 14:15 6.0K
runTests.py 2018-03-20 10:55 1.7K
sampleCDCommands.txt 2018-03-20 10:55 2.8K
sampleEnvPaths.txt 2018-03-20 10:55 1.3K
sample_st.cmd 2018-03-20 10:55 1.2K
screeniocs.html 2018-03-20 10:55 8.7K
showHistory.py 2018-03-20 10:55 2.8K
showHistory.pyc 2018-03-22 09:05 3.4K
staticcontent/ 2018-03-20 10:55 -
templates/ 2018-03-20 10:55 -
testDelete.py 2018-03-20 10:55 3.3K
testFacilitiesConfig.py 2018-03-20 10:55 736
testLint.py 2018-03-20 10:55 5.9K
testMissingIOCTop.py 2018-03-20 10:55 14K
testParsing.py 2018-03-20 10:55 2.8K
testProcessHelperIOCVersions.py 2018-03-20 10:55 8.9K
testPush.py 2018-03-20 10:55 16K
testRevert.py 2018-03-20 10:55 12K
testRun.py 2018-03-20 10:55 10K
testUpgrade.py 2018-03-20 10:55 35K
testUtils.py 2018-03-20 10:55 6.7K
toolconfig.py 2018-03-20 10:55 6.3K
toolconfig.pyc 2018-03-21 07:00 6.7K
upgradeRelease.py 2018-03-20 10:55 16K
upgradeRelease.pyc 2018-03-21 07:00 14K
validateLinks.py 2018-03-20 10:55 7.5K
validateLinks.pyc 2018-05-09 19:12 6.3K
wizardPy/ 2018-04-20 13:07 -