Skip to content

Commit bfd12cf

Browse files
committed
add warnings to out of date tutorials
1 parent 3a35e59 commit bfd12cf

File tree

10 files changed

+79
-22
lines changed

10 files changed

+79
-22
lines changed

docs/user/tutorials/create_beamline.rst

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ When the project ``bl01t`` is pushed to GitHub, continuous integration will
2525
verify that each of the IOCs in the beamline are valid by launching them
2626
with basic configuration.
2727

28-
It's not feasible to run full system tests with these IOCs Instances
29-
because they are configured to run with real hardware on a beamline.
30-
But note that each of these IOC instances will be launched using a
28+
The tests on beamline repositories are basic at present. However the intention
29+
is that eventually each device on a beamline will be simulated using
30+
`Tickit <https://github.com/dls-controls/tickit>`_ and that the CI so system
31+
tests of each IOC against simulated hardware.
32+
33+
Also note that each of these IOC instances will be launched using a
3134
Generic IOC image. Ideally the CI for each Generic IOC should have already run
32-
system tests against simulated hardware. (this is something we aspire to
33-
using simulations provided by `Tickit <https://github.com/dls-controls/tickit>`_)
35+
system tests against simulated (but not beamline specific) hardware.
3436

3537
This beamline repo will be taken from a template that comes with a single example
3638
IOC and further steps in the following tutorials will teach you how to add your own.
@@ -123,7 +125,8 @@ to determine where to deploy IOCS and where to find container images etc.
123125

124126
For details of what goes in this file see `../reference/environment`.
125127
For the purpose of this tutorial for ``bl01t`` you should have the following
126-
in your environment.sh:
128+
in your environment.sh (make sure you insert your GitHub account name
129+
where indicated):
127130

128131
- SECTION 1:
129132

docs/user/tutorials/debug_generic_ioc.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Debugging Generic IOC Builds
22
============================
33

4+
.. Warning::
5+
6+
This tutorial is out of date and will be updated soon.
7+
48
This tutorial is a continuation of `generic_ioc`. Here we will look into
59
debugging failed builds and fix the issue we saw in the previous tutorial.
610

docs/user/tutorials/deploy_example.rst

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,29 @@
11
Deploy The Example IOC
22
======================
33

4-
.. warning::
4+
.. Warning::
55

6-
This information is out of date and will be updated soon.
6+
This tutorial is out of date and will be updated soon.
7+
8+
Introduction
9+
------------
10+
11+
This tutorial will show you how to deploy some IOC Instances to the test
12+
beamline bl01t. You will need to have your own bl01t beamline repository
13+
from the previous tutorial.
14+
15+
For these early tutorials we are not using Kubernetes and instead are deploying
16+
IOCs to the local docker or podman instance. So for the this tutorial we
17+
shall pretend that your workstation is one of the IOC servers on the fictitious
18+
beamline BL01T.
719

820
Take a Look at Your Project's Continuous Integration
921
----------------------------------------------------
1022

11-
TODO
23+
Before we change anything we shall make sure that the beamline repository CI
24+
is working as expected. To do this go to the following URL:
25+
26+
-
1227

1328
Set up Environment for BL01T Beamline
1429
-------------------------------------
@@ -23,12 +38,13 @@ the following to the end of you $HOME/.bash_profile file:
2338
2439
export PATH="$PATH:~/.local/bin"
2540
26-
Then follow these steps:
41+
Then follow these steps (make sure you insert your GitHub account name
42+
where indicated):
2743

2844
.. code-block:: bash
2945
3046
cd /tmp
31-
curl -o ~/.local/bin/bl01t https://raw.githubusercontent.com/epics-containers/bl38p/main/environment.sh?token=$(date +%s)
47+
curl -o ~/.local/bin/bl01t https://raw.githubusercontent.com/**YOUR GITHUB ACCOUNT**/bl01t/main/environment.sh?token=$(date +%s)
3248
. ~/.bash_profile
3349
. bl01t
3450

docs/user/tutorials/generic_ioc.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Create a Generic IOC
22
====================
33

4+
.. Warning::
5+
6+
This tutorial is out of date and will be updated soon.
7+
48
In this tutorial we will learn how to create a Generic IOC container image and
59
test our changes locally before deploying it.
610

docs/user/tutorials/ibek.rst

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ TODO: do some of these titles belong in explanations or reference sections? If s
1010
What is IBEK
1111
------------
1212

13-
- IOC Builder for EPICS on Kubernetes
13+
IOC Builder for EPICS on Kubernetes. It is a python module which supports all
14+
the features of epics-containers required inside of generic IOC containers.
15+
It is used at container build time and container run time.
16+
1417
- uses Support YAML to define what each support module can supply
1518
- uses IOC YAML to instantiate instances of support features that make up an IOC instances
19+
- provides build time functions for acquiring and compiling support modules
1620

1721
Why Use IBEK
1822
------------
@@ -27,22 +31,28 @@ Alternatives
2731

2832
epics-containers supports out of the box dropping a startup script and
2933
substitution file into the config folder as an alternative to supplying
30-
ibek IOC YAML. But you can override start.sh and work in any way you choose
31-
at runtime.
34+
ibek IOC YAML. You can also override the default start.sh and work in any
35+
way you choose by placing a script called start.sh in the config folder.
3236

33-
ibek-defs
34-
---------
37+
ibek-support
38+
------------
3539

3640
- defines the support modules YAML in a single place.
37-
- exists to avoid duplication of support module definitions
41+
- also supplies install.sh for each support module that defines where the source
42+
can be found and how to build it.
43+
- exists to avoid duplication of support module definitions in Generic IOCs
3844
- and to avoid working on multiple support modules while kicking off epics-containers
39-
- in future YAML could be supplied in each support module itself - but until epics-containers is widely used, this is a good way to get started
40-
- the ibek-defs repo is added as a git-submodule to every Generic ioc (ioc-xxx) repo and in this ensures that a rebuild of a Generic ioc will be with a consistent set of YAML files until a developer explicitly updates the submodule.
45+
- the ibek-support repo is added as a git-submodule to every Generic ioc
46+
(ioc-xxx) repo and in this ensures that a rebuild of a Generic ioc will be
47+
with a consistent set of YAML files and install.sh files until a developer
48+
explicitly updates the submodule.
4149

42-
How to work on ibek-defs
43-
------------------------
50+
How to work on ibek-support
51+
---------------------------
4452

45-
Building a new Generic ioc and making it compatible with ibek means creating ibek support YAML for all of its dependent support modules (where they do not already exist)
53+
Building a new Generic ioc and making it compatible with ibek means creating
54+
ibek support YAML for all of its dependent support modules
55+
(where they do not already exist)
4656

4757
These steps assume you have a Generic ioc for ADUrl based on ioc_template as discussed in `generic_ioc`.
4858
Your Generic ioc has a default ioc instance used for testing.

docs/user/tutorials/ioc_changes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Testing Changes to IOC Instances
22
================================
33

4+
.. Warning::
5+
6+
This tutorial is out of date and will be updated soon.
7+
48
.. _ioc_change_types:
59

610
Types of Changes

docs/user/tutorials/rtems_ioc.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
RTEMS - Deploying an Example IOC
22
================================
33

4+
.. Warning::
5+
6+
This tutorial is out of date and will be updated in November 2023.
7+
48
The previous tutorials walked through how to create a Generic linux soft
59
IOC and how to deploy an IOC instance using that Generic IOC.
610

docs/user/tutorials/rtems_setup.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
RTEMS - Creating a File Server
22
==============================
33

4+
.. Warning::
5+
6+
This tutorial is out of date and will be updated in November 2023.
7+
48
Introduction
59
------------
610

docs/user/tutorials/support_module.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Working with Support Modules
22
=============================
33

4+
.. Warning::
5+
6+
This tutorial is out of date and will be updated soon.
7+
48
TODO: this is currently a stub with some pointers.
59

610
TODO: suggest that we will make a new Stream Device that will be a

docs/user/tutorials/test_generic_ioc.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Testing and Deploying a Generic IOC
22
===================================
33

4+
.. Warning::
5+
6+
This tutorial is out of date and will be updated soon.
7+
48
Continuous Integration
59
----------------------
610

0 commit comments

Comments
 (0)