Skip to content

Commit 93cb0ca

Browse files
authored
Merge pull request #146 from epics-containers/august-update
add notes on copier update of giocs
2 parents df7fc61 + cd988af commit 93cb0ca

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

docs/how-to/update_generic_ioc.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Updating a Generic IOC to the Latest Copier Template
2+
3+
This requires that you have copier in your path which you can do by activating a virtual environment and installing it.
4+
5+
```bash
6+
pip install copier
7+
```
8+
9+
Then you can run the following command to update your generic IOC to the latest template, this example for ioc-adaravis.
10+
11+
```bash
12+
git clone ioc-adaravis --recursive
13+
cd ioc-adaravis
14+
git checkout -b update-template
15+
copier update --trust
16+
cd ibek-support
17+
checkout main
18+
cd ..
19+
git add .
20+
git commit -m "Update to latest template"
21+
git push -u origin update-template
22+
```
23+
24+
Now check the CI runs as expected. You may also verify locally with:
25+
26+
```bash
27+
./build.sh
28+
./tests/run_tests.sh
29+
```

0 commit comments

Comments
 (0)