Skip to content

Commit

Permalink
tidy up environment.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Oct 19, 2023
1 parent ae42413 commit 3f821bd
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,22 @@ echo "Loading IOC environment for BL45P ..."

# a mapping between genenric IOC repo roots and the related container registry
export EC_REGISTRY_MAPPING='github.com=ghcr.io gitlab.diamond.ac.uk=gcr.io/diamond-privreg/controls/ioc'
# the namespace to use for kubernetes deployments
export EC_K8S_NAMESPACE=bl45p
# the git organisation used for beamline repositories
export EC_GIT_ORG=https://github.com/epics-containers
# the git repo for this beamline (or accelerator domain)
export [email protected]:epics-containers/bl45p.git
# declare your centralised log server Web UI
export EC_LOG_URL='https://graylog2.diamond.ac.uk/search?rangetype=relative&fields=message%2Csource&width=1489&highlightMessage=&relative=172800&q=pod_name%3A{ioc_name}*'
# export EC_CONTAINER_CLI=podman (uncomment to enforce a specific container cli)
# export EC_DEBUG=1 (uncomment to enable debug output)
# enforce a specific container cli - defaults to whatever is available
# export EC_CONTAINER_CLI=podman
# enable debug output in all 'ec' commands
# export EC_DEBUG=1

# the following configures kubernetes inside DLS.
# replace this with however your cluster is configured - essenially needs to
# ~/.kube/config
if module --version &> /dev/null; then
if module avail pollux > /dev/null; then
module unload pollux > /dev/null
Expand Down

0 comments on commit 3f821bd

Please sign in to comment.