Skip to content

Commit 0c47661

Browse files
committed
add testing and deploying new ioc instance
1 parent f7a03f7 commit 0c47661

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

docs/how-to/add_ioc.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,33 @@ generic IOC image then see `create_ioc`.
4646
For the moment you will have to implement your own approach to providing a GUI,
4747
see `no_opi`.
4848

49+
Testing and Deploying
50+
~~~~~~~~~~~~~~~~~~~~~
51+
52+
Assuming you have created a new IOC in iocs/example2 you can take a look at
53+
what helm will generate with the following command::
54+
55+
helm template example2 iocs/example2
56+
57+
The first parameter is the 'release name' for best results this should
58+
match the folder name you have your new helm chart.
59+
60+
To make a test deployment of your new IOC instance::
61+
62+
helm upgrade --install example2 iocs/example2
63+
k8s-ioc list example2 # repeat until this reports the pod is running
64+
65+
To publish a version of your new IOC instance::
66+
67+
git add --all
68+
git commit -m 'Added new IOC example2'
69+
git tag 0.2
70+
git push origin 0.2 main
71+
72+
Then monitor the Actions page of your github project until it completes the CI.
73+
You are now ready to deploy the released version
74+
75+
4976
Production Deployment
5077
~~~~~~~~~~~~~~~~~~~~~
5178

0 commit comments

Comments
 (0)