Multi-Facility Development, Build and Deployment System This package contains the scripts and config information for the multi facility build and deploy process.
  1. There main script is cram; a simple controller that calls other scripts.
  2. 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.
  3. 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.
  4. 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.
  5. 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>.
Icon  Name                                     Last modified      Size  Description
[PARENTDIR] Parent Directory - [   ] Dev_cram_facility 2017-04-25 16:05 454 [   ] FACET_cram_facility 2017-04-25 16:05 456 [   ] LCLS_cram_facility 2017-04-25 16:05 455 [TXT] README.html 2017-04-25 16:05 1.7K [   ] SPEAR_cram_facility 2017-04-25 16:05 456 [   ] TestFac_cram_facility 2017-04-25 16:05 458 [   ] __init__.py 2017-04-25 16:05 0 [   ] cacheConfig.py 2017-04-25 16:05 2.9K [   ] cacheConfig.pyc 2017-04-25 16:13 3.8K [   ] cdCommandsParser.py 2017-04-25 16:05 4.6K [   ] cdCommandsParser.pyc 2017-04-25 16:13 3.8K [   ] cram 2017-04-25 16:05 3.7K [   ] deleteRelease.py 2017-04-25 16:05 2.4K [   ] deleteRelease.pyc 2017-04-28 12:30 2.9K [   ] describeRelease.py 2017-04-25 16:05 2.0K [   ] describeRelease.pyc 2017-04-25 16:13 2.9K [DIR] docs/ 2017-04-25 16:05 - [   ] email.cfg 2017-04-25 16:05 96 [   ] envPathsParser.py 2017-04-25 16:05 3.1K [   ] envPathsParser.pyc 2017-04-25 16:13 2.7K [DIR] epicsCommandParsers/ 2017-06-22 15:42 - [   ] facilities.cfg 2017-04-25 16:05 3.9K [   ] facilities_test.cfg 2017-04-25 16:05 1.6K [   ] globals.py 2017-04-25 16:05 662 [   ] globals.pyc 2017-04-25 16:13 1.3K [   ] iocIsBorn.py 2017-04-25 16:05 36K [   ] iocIsBorn.pyc 2017-05-25 10:17 29K [   ] lintRelease.py 2017-04-25 16:05 9.0K [   ] lintRelease.pyc 2017-06-22 15:42 8.8K [   ] listCurrentReleases.py 2017-04-25 16:05 12K [   ] listCurrentReleases.pyc 2017-04-25 16:13 9.6K [   ] multi_facility_process_helper.py 2017-04-25 16:05 38K [   ] multi_facility_process_helper_client.py 2017-04-25 16:05 2.4K [   ] multi_facility_process_helper_client.pyc 2017-04-25 16:13 2.6K [   ] multiplePVGet.py 2017-04-25 16:05 1.2K [   ] multiplePVGet.pyc 2017-04-25 16:13 1.6K [   ] operator_revert_release.py 2017-04-25 16:05 9.2K [   ] prePostDeployTemplate.py 2017-04-25 16:05 511 [   ] pushRelease.py 2017-04-25 16:05 5.5K [   ] pushRelease.pyc 2017-04-25 16:14 4.9K [   ] revertRelease.py 2017-04-25 16:05 4.8K [   ] revertRelease.pyc 2017-04-26 15:07 4.8K [   ] runReleaseScript.py 2017-04-25 16:05 6.1K [   ] runReleaseScript.pyc 2017-04-26 15:07 6.0K [   ] runTests.py 2017-04-25 16:05 1.7K [TXT] sampleCDCommands.txt 2017-04-25 16:05 2.8K [TXT] sampleEnvPaths.txt 2017-04-25 16:05 1.3K [   ] sample_st.cmd 2017-04-25 16:05 1.2K [TXT] screeniocs.html 2017-04-25 16:05 8.7K [   ] showHistory.py 2017-04-25 16:05 2.8K [   ] showHistory.pyc 2017-05-03 09:51 3.4K [DIR] staticcontent/ 2017-04-25 16:05 - [DIR] templates/ 2017-04-25 16:05 - [   ] testDelete.py 2017-04-25 16:05 3.3K [   ] testFacilitiesConfig.py 2017-04-25 16:05 736 [   ] testLint.py 2017-04-25 16:05 5.9K [   ] testMissingIOCTop.py 2017-04-25 16:05 14K [   ] testParsing.py 2017-04-25 16:05 2.8K [   ] testProcessHelperIOCVersions.py 2017-04-25 16:05 8.9K [   ] testPush.py 2017-04-25 16:05 16K [   ] testRevert.py 2017-04-25 16:05 12K [   ] testRun.py 2017-04-25 16:05 10K [   ] testUpgrade.py 2017-04-25 16:05 34K [   ] testUtils.py 2017-04-25 16:05 6.0K [   ] toolconfig.py 2017-04-25 16:05 6.3K [   ] toolconfig.pyc 2017-04-25 16:13 6.7K [   ] upgradeRelease.py 2017-04-25 16:05 16K [   ] upgradeRelease.pyc 2017-04-25 16:13 14K [   ] validateLinks.py 2017-04-25 16:05 7.5K [   ] validateLinks.pyc 2017-05-13 18:24 6.3K [DIR] wizardPy/ 2017-05-25 10:17 -