Omicron
Testing

End-to-end control plane tests

end-to-end-tests/README.adoc

These tests run in Buildomat. They are built by the package job and run by the deploy job.

This package is not built or run by default (it is excluded from default-members in ../Cargo.toml).

Running these tests on your machine

  1. Make yourself a Gimlet.

  2. Serve a Debian image over HTTP. The tests add a Debian image sourced from http://[fd00:1122:3344:101::1]:54321/debian-11-genericcloud-amd64.raw; that IP address belongs to the global zone. You can download the image from https://cloud.debian.org/images/cloud/bullseye/latest/. static-web-server works well for this.

  3. Run the bootstrap bin target: cargo run -p end-to-end-tests --bin bootstrap

Then you can cargo nextest run -p end-to-end-tests.