valkey + gitea + long build
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
services:
|
||||
- hostname: app
|
||||
type: ubuntu@24.04
|
||||
maxContainers: 1
|
||||
@@ -0,0 +1,23 @@
|
||||
zerops:
|
||||
- setup: app
|
||||
build:
|
||||
os: ubuntu
|
||||
base: ubuntu@latest
|
||||
buildCommands:
|
||||
- echo "build start at $(date -Iseconds)"
|
||||
# 1h10m sleep exercises the build-side prolong chain: zbuilder heartbeat -> znode -> zbusiness.
|
||||
# Old 1h cap would kill it at the 60min mark; with prolong the process should comfortably reach the echo below.
|
||||
- sleep 4200
|
||||
- echo "build done at $(date -Iseconds)"
|
||||
deployFiles:
|
||||
- ./
|
||||
run:
|
||||
os: ubuntu
|
||||
base: ubuntu@latest
|
||||
prepareCommands:
|
||||
- echo "prepare start at $(date -Iseconds)"
|
||||
# ~100 GiB of incompressible random data, written to the runtime image filesystem.
|
||||
# status=progress prints throughput every second so we can watch from the dashboard.
|
||||
- dd if=/dev/urandom of=/var/www/bigfile bs=1M count=20480 status=progress
|
||||
- echo "image bloated at $(date -Iseconds)"
|
||||
start: tail -f /dev/null
|
||||
Reference in New Issue
Block a user