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/ 2017-03-02 08:48 -
epicsCommandParsers/ 2017-03-02 08:48 -
staticcontent/ 2017-03-02 08:48 -
templates/ 2017-03-02 08:48 -
wizardPy/ 2017-03-06 11:50 -
__init__.py 2017-03-02 08:48 0
email.cfg 2017-03-02 08:48 96
prePostDeployTemplate.py 2017-03-02 08:48 391
Dev_cram_facility 2017-03-02 08:48 454
LCLS_cram_facility 2017-03-02 08:48 455
FACET_cram_facility 2017-03-02 08:48 456
SPEAR_cram_facility 2017-03-02 08:48 456
TestFac_cram_facility 2017-03-02 08:48 458
globals.py 2017-03-02 08:48 662
testFacilitiesConfig.py 2017-03-02 08:48 736
RELEASE_SITE 2017-03-02 08:50 962
multiplePVGet.py 2017-03-02 08:48 1.2K
sample_st.cmd 2017-03-02 08:48 1.2K
sampleEnvPaths.txt 2017-03-02 08:48 1.3K
globals.pyc 2017-03-02 08:59 1.3K
facilities_test.cfg 2017-03-02 08:48 1.6K
multiplePVGet.pyc 2017-03-02 08:59 1.6K
README.html 2017-03-02 08:48 1.7K
runTests.py 2017-03-02 08:48 1.7K
describeRelease.py 2017-03-02 08:48 2.0K
multi_facility_process_helper_client.py 2017-03-02 08:48 2.3K
deleteRelease.py 2017-03-02 08:48 2.4K
multi_facility_process_helper_client.pyc 2017-03-02 08:59 2.5K
envPathsParser.pyc 2017-03-02 08:59 2.7K
showHistory.py 2017-03-02 08:48 2.8K
sampleCDCommands.txt 2017-03-02 08:48 2.8K
testParsing.py 2017-03-02 08:48 2.8K
cacheConfig.py 2017-03-02 08:48 2.9K
describeRelease.pyc 2017-03-02 08:59 2.9K
envPathsParser.py 2017-03-02 08:48 3.1K
testDelete.py 2017-03-02 08:48 3.3K
showHistory.pyc 2017-03-10 15:09 3.4K
cram 2017-03-02 08:48 3.7K
cdCommandsParser.pyc 2017-03-02 08:59 3.8K
cacheConfig.pyc 2017-03-02 08:59 3.8K
facilities.cfg 2017-03-02 08:48 3.9K
revertRelease.py 2017-03-02 08:48 4.1K
cdCommandsParser.py 2017-03-02 08:48 4.6K
pushRelease.pyc 2017-03-05 11:28 4.9K
pushRelease.py 2017-03-02 08:48 5.5K
testLint.py 2017-03-02 08:48 5.9K
runReleaseScript.py 2017-03-02 08:48 5.9K
testUtils.py 2017-03-02 08:48 6.0K
toolconfig.py 2017-03-02 08:48 6.3K
toolconfig.pyc 2017-03-02 08:59 6.7K
validateLinks.py 2017-03-02 08:48 7.5K
screeniocs.html 2017-03-02 08:48 8.7K
testProcessHelperIOCVersions.py 2017-03-02 08:48 8.9K
lintRelease.py 2017-03-02 08:48 9.0K
testRun.py 2017-03-02 08:48 9.1K
operator_revert_release.py 2017-03-02 08:48 9.2K
listCurrentReleases.pyc 2017-03-15 17:09 9.6K
listCurrentReleases.py 2017-03-15 17:03 12K
testRevert.py 2017-03-02 08:48 12K
upgradeRelease.pyc 2017-03-02 08:59 13K
testMissingIOCTop.py 2017-03-02 08:48 14K
upgradeRelease.py 2017-03-02 08:48 15K
testPush.py 2017-03-02 08:48 16K
iocIsBorn.pyc 2017-03-06 11:50 29K
testUpgrade.py 2017-03-02 08:48 34K
iocIsBorn.py 2017-03-02 08:48 36K
multi_facility_process_helper.py 2017-03-02 08:48 37K