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