40 lines
1.4 KiB
Bash
40 lines
1.4 KiB
Bash
# Packaging/build repository.
|
|
PACKAGING_REPO_URL=https://git.linuxiarz.pl/gru/rustproxy-opnsense-repo
|
|
# HEAD follows the repository default branch. You may pin main/master/tag instead.
|
|
PACKAGING_REPO_REF=HEAD
|
|
PACKAGING_WORKDIR=/opt/opn-rustproxy/packaging
|
|
|
|
# RustProxy application source. Fetched independently on every hourly run.
|
|
APP_REPO_URL=https://git.linuxiarz.pl/gru/RustProxy
|
|
APP_REPO_REF=HEAD
|
|
APP_WORKDIR=/opt/opn-rustproxy/source/RustProxy
|
|
|
|
# Local Debian state and Docker cache.
|
|
STATE_DIR=/var/lib/rustproxy-opnsense-builder
|
|
DOCKER_CACHE_DIR=/opt/opn-rustproxy/cache
|
|
|
|
# Docker-only FreeBSD cross build.
|
|
BUILD_MODE=docker-freebsd
|
|
FREEBSD_RELEASE=15.1-RELEASE
|
|
FREEBSD_ABI=FreeBSD:15:amd64
|
|
FREEBSD_ARCH=freebsd:15:x86:64
|
|
OPNSENSE_ABI=26.7
|
|
DOCKER_IMAGE=rustproxy-freebsd15-builder:15.1-rust1.88
|
|
|
|
# Apply version-specific RustProxy patches only inside the isolated OPNsense/FreeBSD build copy.
|
|
# The checkout in APP_WORKDIR is never modified.
|
|
APPLY_FREEBSD_PATCHES=1
|
|
|
|
# Run native Linux tests before the FreeBSD cross build (1=yes, 0=no).
|
|
RUN_LINUX_TESTS=1
|
|
|
|
# Optional rsync publication target for dist/. Example:
|
|
# PUBLISH_TARGET=repo-user@packages.example.net:/srv/www/rustproxy/
|
|
PUBLISH_TARGET=
|
|
PUBLISH_SSH_KEY=
|
|
|
|
# Optional automatic installation on explicitly listed TEST OPNsense hosts.
|
|
# Space-separated SSH targets, e.g. root@fw-test-01 root@fw-test-02.
|
|
AUTO_DEPLOY_HOSTS=
|
|
AUTO_DEPLOY_SSH_KEY=
|