Skip to content

Commit

Permalink
move CI images to helios-2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rcgoodfellow committed Aug 4, 2023
1 parent 014ced6 commit 45e9db7
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/buildomat/jobs/opte-api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#:
#: name = "opte-api"
#: variety = "basic"
#: target = "helios"
#: target = "helios-2.0"
#: rust_toolchain = "nightly"
#: output_rules = []
#:
Expand Down
2 changes: 1 addition & 1 deletion .github/buildomat/jobs/opte-ioctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#:
#: name = "opte-ioctl"
#: variety = "basic"
#: target = "helios"
#: target = "helios-2.0"
#: rust_toolchain = "nightly"
#: output_rules = []
#:
Expand Down
2 changes: 1 addition & 1 deletion .github/buildomat/jobs/opte.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#:
#: name = "opte"
#: variety = "basic"
#: target = "helios"
#: target = "helios-2.0"
#: rust_toolchain = "nightly"
#: output_rules = []
#:
Expand Down
2 changes: 1 addition & 1 deletion .github/buildomat/jobs/opteadm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#:
#: name = "opteadm"
#: variety = "basic"
#: target = "helios"
#: target = "helios-2.0"
#: rust_toolchain = "nightly"
#: output_rules = [
#: "=/work/debug/opteadm",
Expand Down
2 changes: 1 addition & 1 deletion .github/buildomat/jobs/oxide-vpc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#:
#: name = "oxide-vpc"
#: variety = "basic"
#: target = "helios"
#: target = "helios-2.0"
#: rust_toolchain = "nightly"
#: output_rules = []
#:
Expand Down
2 changes: 1 addition & 1 deletion .github/buildomat/jobs/p5p.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#:
#: name = "opte-p5p"
#: variety = "basic"
#: target = "helios"
#: target = "helios-2.0"
#: rust_toolchain = "nightly"
#: output_rules = [
#: "=/out/opte.p5p",
Expand Down
5 changes: 3 additions & 2 deletions .github/buildomat/jobs/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
#:
#: name = "test"
#: variety = "basic"
#: target = "lab-opte-0.22"
#: target = "helios-2.0"
#: rust_toolchain = "stable"
#: output_rules = [
#: "/work/*.log",
#: ]
#: skip_clone = true
#:
#: [dependencies.xde]
#: job = "opte-xde"
Expand All @@ -22,6 +21,8 @@

set -o xtrace

pfexec pkg install brand/sparse

if [[ -z $BUILDOMAT_JOB_ID ]]; then
echo Note: if you are running this locally, you must run the xde.sh job first
echo to have the artifacts at the expected spot.
Expand Down
2 changes: 1 addition & 1 deletion .github/buildomat/jobs/xde.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#:
#: name = "opte-xde"
#: variety = "basic"
#: target = "helios"
#: target = "helios-2.0"
#: rust_toolchain = "nightly"
#: output_rules = [
#: "=/work/debug/xde.dbg",
Expand Down
6 changes: 1 addition & 5 deletions xde-tests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ use oxide_vpc::api::SNat4Cfg;
use oxide_vpc::api::SetVirt2PhysReq;
use oxide_vpc::api::Vni;
use oxide_vpc::api::VpcCfg;
use std::env;
use std::process::Command;
use ztest::*;

Expand Down Expand Up @@ -271,8 +270,5 @@ impl<'a> SoftnpuZone<'a> {
// this is running locally, use a sparse zone which is much easier to set up on
// a regular Helios dev box.
pub fn brand() -> &'static str {
match env::var("BUILDOMAT_JOB_ID") {
Ok(_) => "omicron1",
_ => "sparse",
}
"sparse"
}

0 comments on commit 45e9db7

Please sign in to comment.