This commit is contained in:
Mateusz Gruszczyński committed 2026-09-29 14:07:21 +02:00
1 parent 093e6a7c14
commit 1a2a5f0faf
24 files changed
+578 -537

No files matched your search

+24 -28
View File
@@ -1,39 +1,35 @@
# This repository: OPNsense plugin + packaging/build scripts.
# Push this generated repository to your own Git server and set its URL here.
PACKAGING_REPO_URL=git@github.com:YOUR_ORG/rustproxy-opnsense.git
PACKAGING_REPO_REF=main
PACKAGING_WORKDIR=/srv/rustproxy-opnsense/packaging
# 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. This is fetched independently on every cron run.
# RustProxy application source. Fetched independently on every hourly run.
APP_REPO_URL=https://git.linuxiarz.pl/gru/RustProxy
# HEAD follows the default branch of the upstream repository. You can pin a branch,
# tag or other fetchable ref instead, for example: main, stable, v0.21.0.
APP_REPO_REF=HEAD
APP_WORKDIR=/srv/rustproxy-opnsense/source/RustProxy
APP_WORKDIR=/opt/opn-rustproxy/source/RustProxy
# Local Debian state.
# Local Debian state and Docker cache.
STATE_DIR=/var/lib/rustproxy-opnsense-builder
DOCKER_CACHE_DIR=/opt/opn-rustproxy/cache
# Release builder. Use a FreeBSD 15.1 amd64 host for production packages.
BUILD_MODE=native-freebsd
FREEBSD_HOST=freebsd-builder.example.net
FREEBSD_USER=builder
FREEBSD_SSH_KEY=/root/.ssh/rustproxy_freebsd_builder
FREEBSD_REMOTE_DIR=/usr/local/rustproxy-build/project
# OPNsense branch/ABI targeted by the plugin package.
OPNSENSE_PLUGINS_REF=stable/26.7
# 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
# Paths on the FreeBSD builder. Leave empty for an unsigned development repo.
PKG_REPO_SIGN_KEY=/usr/local/rustproxy-build/keys/rustproxy-repo.key
PKG_REPO_PUBLIC_KEY=/usr/local/rustproxy-build/keys/rustproxy-repo.pub
# Run native Linux tests before the FreeBSD cross build (1=yes, 0=no).
RUN_LINUX_TESTS=1
# Publish dist/ over SSH/rsync. This should be the document root for RustProxy packages.
PUBLISH_TARGET=repo-user@packages.example.net:/srv/www/rustproxy/
PUBLISH_SSH_KEY=/root/.ssh/rustproxy_package_publisher
# Optional rsync publication target for dist/. Example:
# PUBLISH_TARGET=repo-user@packages.example.net:/srv/www/rustproxy/
PUBLISH_TARGET=
PUBLISH_SSH_KEY=
# Optional automatic upgrade of explicitly listed TEST firewalls after a successful publish.
# Disabled by default. Space-separated SSH targets, for example: root@fw-test-01 root@fw-test-02
# 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=/root/.ssh/rustproxy_opnsense_test
AUTO_DEPLOY_SSH_KEY=