mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
CI: Update develop, preview, and release scripts
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
d6dfb1a195
commit
54a41e682c
8 changed files with 85 additions and 35 deletions
|
|
@ -1,3 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
bash <(curl -s https://codecov.io/bash)
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# exit on error
|
||||
# Exit on error.
|
||||
set -ex
|
||||
|
||||
# install QEMU for multi-arch builds
|
||||
# Use QEMU for multi-arch builds.
|
||||
scripts/install-qemu.sh
|
||||
|
||||
# build release images
|
||||
# Build develop images.
|
||||
make docker-develop-all
|
||||
|
|
|
|||
16
scripts/deploy-preview-debian.sh
Executable file
16
scripts/deploy-preview-debian.sh
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Exit on error.
|
||||
set -ex
|
||||
|
||||
# Use QEMU for multi-arch builds.
|
||||
scripts/install-qemu.sh
|
||||
|
||||
# Build preview image.
|
||||
make docker-preview-debian
|
||||
|
||||
# Wait 2s.
|
||||
sleep 2
|
||||
|
||||
# Build debian-based image.
|
||||
make docker-demo-debian
|
||||
|
|
@ -1,16 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# exit on error
|
||||
# Exit on error.
|
||||
set -ex
|
||||
|
||||
# install QEMU for multi-arch builds
|
||||
# Use QEMU for multi-arch builds.
|
||||
scripts/install-qemu.sh
|
||||
|
||||
# build preview image
|
||||
# Build preview image.
|
||||
make docker-preview-ubuntu
|
||||
|
||||
# wait 2s
|
||||
# Wait 2s.
|
||||
sleep 2
|
||||
|
||||
# build demo image
|
||||
# Build ubuntu-based image.
|
||||
make docker-demo-ubuntu
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# exit on error
|
||||
# Exit on error.
|
||||
set -ex
|
||||
|
||||
# install QEMU for multi-arch builds
|
||||
# Use QEMU for multi-arch builds.
|
||||
scripts/install-qemu.sh
|
||||
|
||||
# run tests
|
||||
# Run test suite.
|
||||
scripts/test.sh
|
||||
|
||||
# build preview image
|
||||
# Build preview image.
|
||||
make docker-preview
|
||||
|
||||
# wait 2s
|
||||
# Wait 2s.
|
||||
sleep 2
|
||||
|
||||
# build demo image
|
||||
# Build demo image.
|
||||
make docker-demo
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# exit on error
|
||||
# Exit on error.
|
||||
set -ex
|
||||
|
||||
# install QEMU for multi-arch builds
|
||||
# Use QEMU for multi-arch builds.
|
||||
scripts/install-qemu.sh
|
||||
|
||||
# run tests
|
||||
# Run test suite.
|
||||
scripts/test.sh
|
||||
|
||||
# build release images
|
||||
# Build release images.
|
||||
make docker-release-all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue