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