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