34 lines
1.5 KiB
TOML
34 lines
1.5 KiB
TOML
schema = "gamecult.idunn.target_declaration.v1"
|
|
target = "ratatoskr"
|
|
# Idunn stamps the source commit into the build environment under this name. The release is not built from source: the
|
|
# dist tarball below is built by scripts the release owner runs (build-prod-dist.sh) and enters pinned by sha256, so
|
|
# each release is a recipe commit whose pin is its provenance. The stamp the served index carries is the commit the
|
|
# tarball was built from, which is not this commit.
|
|
source_stamp_environment = "RATATOSKR_BUILD_COMMIT"
|
|
|
|
# Release dist b30ddac0522cc110d44d12276416c000841d086a: the output of build-prod-dist.sh (ALLOW_CONFIG_DRIFT=1), packed
|
|
# as dist/ at the top of one gzip tar. The tree carries the repo's own config.json; what is served is the operator's
|
|
# carried file, which Idunn copies beside dist/ and the vhost aliases over the tree's (a vhost without that alias would
|
|
# serve the repo config).
|
|
[[external_inputs]]
|
|
id = "dist-tarball"
|
|
url = "https://eureka.gamecult.org/forge/GameCult/Ratatoskr/releases/download/dist-b30ddac0/ratatoskr-b30ddac0-dist.tar.gz"
|
|
sha256 = "1654dc5f0ceefc5d1abf997fce1cd31ed7aef28d50e52c8cde6ce7b5c14efd23"
|
|
runner = "unpack"
|
|
destination = "release/dist.tar.gz"
|
|
|
|
[[steps]]
|
|
id = "unpack-dist"
|
|
phase = "prepare"
|
|
runner = "unpack"
|
|
argv = ["tar", "-xzf", "release/dist.tar.gz", "-C", "release"]
|
|
|
|
[[artifacts]]
|
|
id = "dist"
|
|
source_kind = "runner-output"
|
|
runner = "unpack"
|
|
source = "release/dist"
|
|
destination = "dist"
|
|
|
|
[static_release]
|
|
artifact = "dist"
|