Commit 40dbfad
authored
We work at a computer company. Let's use our computers (#1029)
Presently there is a shortage of servers to run Buildomat workers for CI
jobs. Fortunately, we work at a company that makes servers. So we can
just make more servers. And then we can use those servers for CI. And
then everyone's happy.
In order to do that, we must use the `lab-2.0-gimlet` Buildomat target
rather than `helios-2.0` or `lab-2.0-opte` targets. It's possible that
some or all of Omicron's CI cannot easily do that due to special-cased
behavior for the `i86pc` architecture to detect running in a dev
environment. Luckily, no such behavior exists in Propolis, so
we can just switch our Buildomat jobs to the `lab-2.0-gimlet` target
and it will (mostly) Just Work. This way, we're not competing with
Omicron builds for the relatively scarce non-Gimlet workers.
One change to the `run_phd_with_args.sh` was required to make it
compatible with the `lab-2.0-gimlet` target. Previously, that script
hard-coded the names of disks on the `lab-2.0-opte` workers, which
don't exist on the Gimlet workers. Instead, since the names of disks
on the Gimlet workers include the SSD's WWN, we must use
`pilot local disk list` to list all the U.2 devices at runtime, and use
them when creating the zpool. Note that this does now tie that script
to the Gimlet workers, but...that's fine, since the previous version
only worked on the non-Gimlet lab workers.1 parent 7d4e2a4 commit 40dbfad
3 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| |||
0 commit comments