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 2020-06-08 15:29 454 [   ] FACET_cram_facility 2020-06-08 15:29 456 [   ] LCLS_cram_facility 2020-06-08 15:29 455 [TXT] README.html 2020-06-08 15:29 1.7K [   ] SPEAR_cram_facility 2020-06-08 15:29 456 [   ] TestFac_cram_facility 2020-06-08 15:29 458 [   ] __init__.py 2020-06-08 15:29 0 [   ] cacheConfig.py 2020-06-08 15:29 2.9K [   ] cacheConfig.pyc 2020-06-08 16:33 3.8K [   ] cdCommandsParser.py 2020-06-08 15:29 4.6K [   ] cdCommandsParser.pyc 2020-06-08 16:33 3.8K [   ] cpuEnvPathsParser.py 2020-06-08 15:29 3.1K [   ] cpuEnvPathsParser.pyc 2020-06-08 16:33 2.8K [   ] cram 2020-06-08 15:29 3.7K [   ] cram.py 2020-06-08 15:29 3.7K [   ] deleteRelease.py 2020-06-08 15:29 2.4K [   ] deleteRelease.pyc 2020-08-24 11:45 2.9K [   ] describeRelease.py 2020-06-08 15:29 2.0K [   ] describeRelease.pyc 2020-06-08 16:33 2.9K [DIR] docs/ 2020-06-08 15:29 - [   ] email.cfg 2020-06-08 15:29 274 [   ] envPathsParser.py 2020-06-08 15:29 3.1K [   ] envPathsParser.pyc 2020-06-08 16:33 2.7K [DIR] epicsCommandParsers/ 2020-06-08 15:29 - [   ] facilities.cfg 2020-06-08 15:29 3.9K [   ] facilities_test.cfg 2020-06-08 15:29 1.6K [   ] getIOCAtPort.py 2020-06-08 15:29 1.0K [   ] getIOCAtPort.pyc 2020-06-13 18:12 854 [   ] globals.py 2020-06-08 15:29 662 [   ] globals.pyc 2020-06-08 16:33 1.3K [   ] iocIsBorn.py 2020-06-08 15:29 82K [   ] iocIsBorn.pyc 2020-06-13 18:12 56K [   ] lintRelease.py 2020-06-08 15:29 9.0K [   ] listCurrentReleases.py 2020-06-08 15:29 12K [   ] listCurrentReleases.pyc 2020-06-08 16:33 9.6K [   ] multi_facility_process_helper.py 2020-06-08 15:29 36K [   ] multi_facility_process_helper_client.py 2020-06-08 15:29 2.9K [   ] multi_facility_process_helper_client.pyc 2020-06-08 16:33 3.0K [   ] multiplePVGet.py 2020-06-08 15:29 1.2K [   ] multiplePVGet.pyc 2020-06-08 16:33 1.6K [   ] operator_revert_release.py 2020-06-08 15:29 9.2K [   ] prePostDeployTemplate.py 2020-06-08 15:29 511 [   ] pushRelease.py 2020-06-08 15:29 5.5K [   ] pushRelease.pyc 2020-06-08 16:33 4.9K [   ] revertRelease.py 2020-06-08 15:29 5.7K [   ] revertRelease.pyc 2020-06-10 08:01 5.4K [   ] runReleaseScript.py 2020-06-08 15:29 6.4K [   ] runReleaseScript.pyc 2020-06-10 08:01 6.2K [   ] runTests.py 2020-06-08 15:29 1.7K [TXT] sampleCDCommands.txt 2020-06-08 15:29 2.8K [TXT] sampleCPUEnvPaths.txt 2020-06-08 15:29 7.4K [TXT] sampleEnvPaths.txt 2020-06-08 15:29 1.3K [   ] sample_st.cmd 2020-06-08 15:29 1.2K [TXT] screeniocs.html 2020-06-08 15:29 8.7K [   ] showHistory.py 2020-06-08 15:29 2.8K [   ] showHistory.pyc 2020-06-17 12:17 3.4K [   ] sortScreenIOCS.py 2020-06-08 15:29 3.4K [   ] sortScreenIOCS.pyc 2020-06-13 18:12 2.3K [DIR] staticcontent/ 2020-06-08 15:29 - [   ] tables.py 2020-06-08 15:29 2.3K [   ] tables.pyc 2020-06-13 18:12 2.9K [DIR] templates/ 2020-06-08 15:29 - [   ] testDelete.py 2020-06-08 15:29 3.3K [   ] testFacilitiesConfig.py 2020-06-08 15:29 736 [   ] testLint.py 2020-06-08 15:29 5.9K [   ] testMissingIOCTop.py 2020-06-08 15:29 14K [   ] testParsing.py 2020-06-08 15:29 2.8K [   ] testProcessHelperIOCVersions.py 2020-06-08 15:29 8.9K [   ] testPush.py 2020-06-08 15:29 16K [   ] testRevert.py 2020-06-08 15:29 12K [   ] testRun.py 2020-06-08 15:29 10K [   ] testUpgrade.py 2020-06-08 15:29 35K [   ] testUtils.py 2020-06-08 15:29 7.1K [   ] toolconfig.py 2020-06-08 15:29 6.3K [   ] toolconfig.pyc 2020-06-08 16:33 6.7K [   ] upgradeRelease.py 2020-06-08 15:29 16K [   ] upgradeRelease.pyc 2020-06-08 16:43 14K [   ] validateLinks.py 2020-06-08 15:29 7.5K [DIR] wizardPy/ 2020-06-13 18:12 -