Radish alpha
r
rad:zwTxygwuz5LDGBq255RA2CbNGrz8
Radicle CI broker
Radicle
Git
fix(.radicle/ambient.yaml): set missing env vars
Merged liw opened 1 year ago

Signed-off-by: Lars Wirzenius liw@liw.fi

1 file changed +15 -8 c5bcb6e9 1336037b
modified .radicle/ambient.yaml
@@ -28,19 +28,26 @@ plan:
      export DEBEMAIL=liw@liw.fi
      export DEBFULLNAME="Lars Wirzenius"
      export CARGO_TARGET_DIR=/workspace/cache
-

-
      # git reset --hard
-
      # git clean -fdx
-
      # git switch main
-
      git status --ignored
-
      # git clean -fdx
+
      export CARGO_HOME=/workspace/deps
+
      export HOME=/root
+
      export PATH="/root/.cargo/bin:$PATH"

      cargo doc --workspace
-
      cargo test --workspace --no-fail-fast
+

+
      # FIXME: We can't run upgrade tests from older versions because
+
      # Ambient only fetches dependencies for the current version.
+
      # Thus, we can't build the old versions. This is an Ambient
+
      # problem that we can't fix here. So we skip the upgrade tests.
+
      cargo test --workspace --no-fail-fast -- --skip upgrade

      subplot docgen ci-broker.subplot -o doc/ci-broker.html
      subplot docgen doc/userguide.subplot -o doc/userguide.html
-
      make -C doc publish
+
      make -C doc
+

+
      # Clean up after tests and documentation building.
+
      git reset --hard
+
      git clean -fdx
+
      git status --ignored

      V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')"
      T="$(date -u "+%Y%m%dT%H%M%S")"