2021-11-23 19:23:10 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2022-09-02 15:12:57 +02:00
|
|
|
# Exit on error.
|
2022-07-22 12:58:37 +02:00
|
|
|
set -ex
|
2021-11-23 19:23:10 +01:00
|
|
|
|
2022-09-02 15:12:57 +02:00
|
|
|
# Use QEMU for multi-arch builds.
|
2022-03-11 10:52:59 +01:00
|
|
|
scripts/install-qemu.sh
|
|
|
|
|
2022-09-02 15:12:57 +02:00
|
|
|
# Run test suite.
|
2021-11-23 20:42:01 +01:00
|
|
|
scripts/test.sh
|
2021-11-23 19:23:10 +01:00
|
|
|
|
2022-09-02 15:12:57 +02:00
|
|
|
# Build preview image.
|
2021-11-23 19:23:10 +01:00
|
|
|
make docker-preview
|
2021-12-10 09:09:21 +01:00
|
|
|
|
2022-09-02 15:12:57 +02:00
|
|
|
# Wait 2s.
|
2021-11-23 19:23:10 +01:00
|
|
|
sleep 2
|
2021-12-10 09:09:21 +01:00
|
|
|
|
2022-09-02 15:12:57 +02:00
|
|
|
# Build demo image.
|
2021-12-03 16:49:43 +01:00
|
|
|
make docker-demo
|