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 -
README.html 2014-08-18 17:53 1.7K
__init__.py 2014-08-18 17:53 0
cdCommandsParser.py 2014-08-18 17:53 4.6K
cram 2014-08-18 17:53 2.8K
deleteRelease.py 2014-08-18 17:53 2.4K
describeRelease.py 2014-08-18 17:53 2.0K
docs/ 2014-08-18 17:53 -
envPathsParser.py 2014-08-18 17:53 3.1K
facilities.cfg 2014-08-18 17:53 3.0K
facilities_test.cfg 2014-08-18 17:53 1.6K
globals.py 2014-08-18 17:53 727
lintRelease.py 2014-08-18 17:53 9.0K
listCurrentReleases.py 2014-08-18 17:53 12K
multi_facility_process_helper.py 2014-08-18 17:53 30K
multi_facility_process_helper_client.py 2014-08-18 17:53 1.8K
multiplePVGet.py 2014-08-18 17:53 1.0K
prePostDeployTemplate.py 2014-08-18 17:53 391
pushRelease.py 2014-08-18 17:53 4.6K
revertRelease.py 2014-08-18 17:53 4.1K
runReleaseScript.py 2014-08-18 17:53 5.9K
runTests.py 2014-08-18 17:53 1.7K
sampleCDCommands.txt 2014-08-18 17:53 2.8K
sampleEnvPaths.txt 2014-08-18 17:53 1.3K
sample_st.cmd 2014-08-18 17:53 1.2K
showHistory.py 2014-08-18 17:53 2.8K
testDelete.py 2014-08-18 17:53 3.3K
testLint.py 2014-08-18 17:53 5.9K
testMissingIOCTop.py 2014-08-18 17:53 14K
testParsing.py 2014-08-18 17:53 2.8K
testProcessHelperIOCVersions.py 2014-08-18 17:53 8.9K
testPush.py 2014-08-18 17:53 16K
testRevert.py 2014-08-18 17:53 12K
testRun.py 2014-08-18 17:53 9.1K
testUpgrade.py 2014-08-18 17:53 34K
testUtils.py 2014-08-18 17:53 6.0K
toolconfig.py 2014-08-18 17:53 5.7K
upgradeRelease.py 2014-08-18 17:53 14K
describeRelease.pyc 2014-08-18 17:55 2.9K
globals.pyc 2014-08-18 17:55 1.3K
listCurrentReleases.pyc 2014-08-18 17:55 9.6K
multi_facility_process_helper_client.pyc 2014-08-18 17:55 2.0K
toolconfig.pyc 2014-08-18 17:55 6.2K
cdCommandsParser.pyc 2014-08-18 17:55 3.8K
envPathsParser.pyc 2014-08-18 17:55 2.7K
multiplePVGet.pyc 2014-08-18 17:55 1.6K
showHistory.pyc 2014-08-18 17:55 3.4K
upgradeRelease.pyc 2014-08-18 18:00 12K
deleteRelease.pyc 2014-08-18 18:05 2.9K
pushRelease.pyc 2014-08-19 13:22 4.5K
epicsCommandParsers/ 2014-08-19 14:56 -
lintRelease.pyc 2014-08-19 14:56 8.8K
runReleaseScript.pyc 2014-09-02 11:16 5.8K