Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This document states workflows to develop and deploy IOC on a ECS k8s infrastructure.

...

Common and preparatory steps


Create a GIT repository

Every IOC/application MUST have a GIT repository associated. A project must be create under https://baltig.infn.it/lnf-da-control or a different group like for instance:

...

Pay attention to not set the project private otherwise will not be possible to load it into the ECS k8s.

Setup IDE

It's highly suggested to use https://code.visualstudio.com/ to handle the project. It's also highly suggested to use a container for development to decouple development of the application from the platform where the application is developed. It's really simple to use a container please read this guide: https://code.visualstudio.com/docs/devcontainers/containers


Setup environment variables

Depending on the target beamline (i.e. sparc environ Sparc ECS):

  1.  Setup EPICS_CA_ADDR_LIST if needed,
  2. Phoebus environ if needed


Python SoftIOC workflow

For this kind of IOC it's recommended to use the docker image: baltig.infn.it:4567/epics-containers/epics-py-base since it contains the required packages and will be also the image that will be used to run this kind of softioc.

...