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