Flow: the hub's tests on PostgreSQL too, in the new build image fe0bb950a300
A test-postgres job starts a PostgreSQL server of its own on loopback inside
its guest (.flow/test-postgres.sh) and runs the hub's tests built with the
postgres feature against it, beside the SQLite tests (#211). Both rust
sandboxes move to build image 57aa0b34, which adds Debian's PostgreSQL and
nss_wrapper (oxygenflow f6fa380e) and vendors the crates of today's
Cargo.lock; it is imported on earth-1 and copied to plex-1.
Refs #211
<<<<<<< oxy conflict 2 of 2, side 1 of 2: change 6532b323 "oxygen and oxygenflow as pinned subrepos in deps/ (make pins moves them), and an OxygenFlow pipeline: fmt of this workspace, then clippy, tests and a release build against the pins"
62
62
env {
63
63
CARGO_INCREMENTAL "0"
64
+
// The hub's tests again on PostgreSQL (#211, docs/postgres.md), against a
65
+
// server the job starts in its own guest.
66
+
job "test-postgres" {
67
+
sandbox "rust"
68
+
depends-on "fmt"
69
+
mount {
70
+
source "ephemeral://disk"
71
+
target "/src/target"
72
+
size "24GiB"
73
+
cache "target"
74
+
key "Cargo.lock"
75
+
}
76
+
exec "sh" ".flow/test-postgres.sh"
77
+
}
78
+
64
79
}
65
80
======= oxy conflict 2 of 2, side 2 of 2: change bce3997c "CI starts from the build image's prebuilt dependencies"