Skip to content

Commit aeaf035

Browse files
committed
Also document system test servers
1 parent c6a9169 commit aeaf035

File tree

1 file changed

+34
-9
lines changed

1 file changed

+34
-9
lines changed

doc/systems/Build-Servers.md

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# Build Servers
22

3-
## Prerequisites
3+
## EPICS/GUI build server
44

5-
- A useful build server will need roughly the following hardware:
6-
* Not a virtual machine (we have used VMs in the past, but the performance penalty is quite high for a windows build server)
7-
* 32GB or more of RAM (16GB may be possible to use, but will be substantially slower to build). Extra RAM can be acquired relatively cheaply if needed, if the machine has spare slots (check compatibility carefully)
8-
* 1TB SSD (this capacity is needed because multiple builds' workspaces will be present at once). This does not need to be the primary OS drive - a separate drive also works and can generally be acquired relatively cheaply, if the machine has a spare M.2 or SATA port.
9-
* A semi-modern processor. Most of our builds are _primarily_ single-threaded at present, so single-core performance is more important than multicore. This may change if we change to using `make -j <processors>` by default at some point in future.
10-
- TODO: write something about `IT-25-27219`.
5+
### Prerequisites
116

12-
## Software to install
7+
A useful build server will need roughly the following hardware:
8+
- Not a virtual machine (we have used VMs in the past, but the performance penalty is quite high for a windows build server)
9+
- 32GB or more of RAM (16GB may be possible to use, but will be substantially slower to build). Extra RAM can be acquired relatively cheaply if needed, if the machine has spare slots (check compatibility carefully)
10+
- 1TB SSD (this capacity is needed because multiple builds' workspaces will be present at once). This does not need to be the primary OS drive - a separate drive also works and can generally be acquired relatively cheaply, if the machine has a spare M.2 or SATA port.
11+
- A semi-modern processor. Most of our builds are _primarily_ single-threaded at present, so single-core performance is more important than multicore. This may change if we change to using `make -j <processors>` by default at some point in future.
12+
13+
### Software to install
1314

1415
In order to set up a new build server, capable of running GUI, Uktena, and EPICS builds, you need to install the following software:
1516
- Visual Studio
@@ -25,10 +26,34 @@ In order to set up a new build server, capable of running GUI, Uktena, and EPICS
2526
- TwinCAT bits
2627
- symstore (`\\isis\inst$\Kits$\CompGroup\ICP\winsdk`)
2728

28-
## Connecting to Jenkins
29+
### Connecting to Jenkins
2930

3031
Use the given URL _without_ the `-websocket` flag.
3132

3233
Set up two executors in Jenkins, one for EPICS with a single slot (suffixed with `_epics`, and with workspace `workspace_epics`), the other for gui/config checker/uktena and other builds, which can have multiple executors in the default workspace.
3334

3435
Add the `epics_build` label to the epics executor, and the `gui`, `genie`, `ConfigCheck` labels to the other executor.
36+
37+
## System tests build server
38+
39+
```{note}
40+
This applies to the IOC tests & system tests jobs, not Squish system tests.
41+
```
42+
43+
A useful build server for system tests will need roughly the following hardware:
44+
- 32GB or more of RAM preferred, 16GB may be possible. Extra RAM can be acquired cheaply if needed, if the machine has spare slots (check compatibility carefully)
45+
- 500GB SSD
46+
47+
Things to be installed manually:
48+
- Create directories:
49+
* `c:\Instrument\Apps`
50+
* `c:\Instrument\var\autosave`
51+
* `c:\Instrument\var\logs`
52+
* `c:\Instrument\var\tmp`
53+
- Install latest java
54+
- Install latest mysql (use `upgrade_mysql` script in `ibex_utils`)
55+
- Ensure there is a config directory for this instrument, in `C:\Instrument\Settings\config\<machine name>`
56+
* Must be checked out onto an instrument branch
57+
- Ensure there is a calibrations directory for this instrument, in `C:\Instrument\Settings\config\common`
58+
* Must be a git checkout, on `master` branch
59+
-

0 commit comments

Comments
 (0)