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/ 2015-08-18 13:57 -
epicsCommandParsers/ 2015-08-18 13:57 -
__init__.py 2015-08-18 13:57 0
prePostDeployTemplate.py 2015-08-18 13:57 391
Dev_cram_facility 2015-08-18 13:57 454
LCLS_cram_facility 2015-08-18 13:57 455
FACET_cram_facility 2015-08-18 13:57 456
TestFac_cram_facility 2015-08-18 13:57 458
globals.py 2015-08-18 13:57 662
multiplePVGet.py 2015-08-18 13:57 1.0K
sample_st.cmd 2015-08-18 13:57 1.2K
globals.pyc 2015-08-18 13:58 1.3K
sampleEnvPaths.txt 2015-08-18 13:57 1.3K
multiplePVGet.pyc 2015-08-18 13:59 1.6K
facilities_test.cfg 2015-08-18 13:57 1.6K
runTests.py 2015-08-18 13:57 1.7K
README.html 2015-08-18 13:57 1.7K
describeRelease.py 2015-08-18 13:57 2.0K
multi_facility_process_helper_client.py 2015-08-18 13:57 2.2K
deleteRelease.py 2015-08-18 13:57 2.4K
multi_facility_process_helper_client.pyc 2015-08-18 13:58 2.5K
envPathsParser.pyc 2015-08-18 13:59 2.7K
showHistory.py 2015-08-18 13:57 2.8K
sampleCDCommands.txt 2015-08-18 13:57 2.8K
testParsing.py 2015-08-18 13:57 2.8K
describeRelease.pyc 2015-08-18 13:58 2.8K
cram 2015-08-18 13:57 2.9K
envPathsParser.py 2015-08-18 13:57 3.1K
testDelete.py 2015-08-18 13:57 3.3K
cdCommandsParser.pyc 2015-08-18 13:59 3.8K
facilities.cfg 2015-08-26 17:54 3.9K
revertRelease.py 2015-08-18 13:57 4.1K
cdCommandsParser.py 2015-08-18 13:57 4.6K
pushRelease.pyc 2015-08-18 13:58 4.6K
pushRelease.py 2015-08-18 13:57 4.8K
testLint.py 2015-08-18 13:57 5.9K
runReleaseScript.py 2015-08-18 13:57 5.9K
testUtils.py 2015-08-18 13:57 6.0K
toolconfig.pyc 2015-08-18 13:58 7.3K
validateLinks.py 2015-08-18 13:57 7.5K
toolconfig.py 2015-08-18 13:57 7.6K
testProcessHelperIOCVersions.py 2015-08-18 13:57 8.9K
lintRelease.py 2015-08-18 13:57 9.0K
testRun.py 2015-08-18 13:57 9.1K
operator_revert_release.py 2015-08-18 13:57 9.2K
listCurrentReleases.pyc 2015-08-18 13:59 9.6K
listCurrentReleases.py 2015-08-18 13:57 12K
testRevert.py 2015-08-18 13:57 12K
upgradeRelease.pyc 2015-08-18 14:00 12K
upgradeRelease.py 2015-08-18 13:57 14K
testMissingIOCTop.py 2015-08-18 13:57 14K
testPush.py 2015-08-18 13:57 16K
multi_facility_process_helper.py 2015-08-18 13:57 30K
testUpgrade.py 2015-08-18 13:57 34K