A template for creating new repos for describing services and IOCs within a given beamline or accelerator grouping.
Activate a Python virtual environment, then:
pip install copier
# this will create a new folder MY_REPO_NAME:
copier copy https://github.com/epics-containers/services-template-helm MY_REPO_NAMEYou will be asked for a few details and the resulting project is ready to push. Make the first commit and push the repository.
cd MY_REPO_NAME
git init -b main
git add .
git commit -m "initial commit"
git remote add origin >>>>paste your repo ssh address here<<<<
git push -u origin mainAgain you will need a virtual environment with copier installed.
cd into the project you wish to update and execute the following:
copier update .tests/test_template.sh tests/answers/<name>.yml renders the template from
this checkout with one answers file from tests/answers/, then runs the
generated repo's own ci_verify.sh (pre-commit plus helm lint/template of each
service). It needs uv, and docker or podman for the helm step. The
Test template GitHub workflow runs it for every answers file.
git tag 2024.8.1
git push origin 2024.8.1