-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
return to using a script for install_proxy
- Loading branch information
Showing
2 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
# This script installs a python proxy for the IOC. The proxy is used to | ||
# communicate with the IOC from the kubernetes pod where the IOC is non-native | ||
# and cannot run in the cluster itself. | ||
|
||
# Only one proxy will be installed based on the EPICS_TARGET_ARCH | ||
# the entry point for all proxies will be "epics-proxy start" and will | ||
# be called by the default IOC start.sh script after it has prepared | ||
# runtime assets. | ||
# TODO: at present the rtems-proxy is the only supported proxy and uses | ||
# rtems-proxy start as its entry point. | ||
# TODO: consider renaming to ioc-proxy and genericizing. This would | ||
# negate the need for this script. | ||
|
||
# Most IOCs are native linux-x86_64 and will run directly in the cluster | ||
# so proxy installation is not required. | ||
|
||
if [[ $EPICS_TARGET_ARCH == "RTEMS-beatnik" ]] ; then | ||
pip install rtems-proxy=="0.2.2" | ||
fi | ||
|
||
# no other proxies supported at present |