2023-03-16 11:24:23 +00:00
|
|
|
#!/usr/bin/env bash
|
2023-03-16 11:53:12 +00:00
|
|
|
set -euxo pipefail
|
2023-05-04 09:00:37 +00:00
|
|
|
|
|
|
|
nix build --print-build-logs .#packages.x86_64-linux.ci -o df/linux/amd64/ci
|
|
|
|
nix build --print-build-logs .#packages.i686-linux.ci -o df/linux/386/ci
|
|
|
|
nix build --print-build-logs .#packages.aarch64-linux.ci -o df/linux/arm64/ci
|
|
|
|
nix build --print-build-logs .#packages.armv6l-linux.ci -o df/linux/arm/ci
|
|
|
|
|
|
|
|
nix build --print-build-logs .#packages.x86_64-linux.alba -o df/linux/amd64/alba
|
|
|
|
nix build --print-build-logs .#packages.i686-linux.alba -o df/linux/386/alba
|
|
|
|
nix build --print-build-logs .#packages.aarch64-linux.alba -o df/linux/arm64/alba
|
|
|
|
nix build --print-build-logs .#packages.armv6l-linux.alba -o df/linux/arm/alba
|
|
|
|
|
|
|
|
nix build --print-build-logs .#packages.x86_64-linux.container -o docker/linux.amd64.tar.gz
|
|
|
|
nix build --print-build-logs .#packages.armv6l-linux.container -o docker/linux.arm.tar.gz
|
|
|
|
nix build --print-build-logs .#packages.aarch64-linux.container -o docker/linux.arm64.tar.gz
|
|
|
|
nix build --print-build-logs .#packages.i686-linux.container -o docker/linux.386.tar.gz
|
2023-03-16 11:53:12 +00:00
|
|
|
|
2023-03-24 13:35:43 +00:00
|
|
|
#if [[ $BRANCH == "main" && -f $SECRET_PATH ]]; then
|
|
|
|
# mkdir -p /kaniko/.docker
|
|
|
|
# cp $SECRET_PATH /kaniko/.docker/config.json
|
|
|
|
# export HOME=/kaniko
|
|
|
|
# nix develop --command sh -c "executor --force --destination dxflrs/albatros:${COMMIT} --context dir://`pwd` --verbosity=debug" 1>&2
|
|
|
|
#fi
|
2023-04-28 09:41:19 +00:00
|
|
|
#
|
|
|
|
# ./alba static push -t albatros:0.9 df/ 's3://download.deuxfleurs.org?endpoint=garage.deuxfleurs.fr&s3ForcePathStyle=true®ion=garage'
|