This repository builds a static www artifact for the OpenWrt Firmware Selector.
The upstream source remains unchanged and is pinned to a specific commit via upstream.lock.yml.
overlay/www/: custom files that are overlaid onto the upstreamwww/scripts/build-overlay.sh: reproducibly buildswww.tar.gzandwww.tar.gz.sha256tests/js/: unit and integration tests for custom helper functions and upstream compatibility
Requirements:
gittarsha256sumorshasumnode(only for tests)
Example:
./scripts/build-overlay.sh \
--upstream-dir ../firmware-selector-openwrt-org \
--output-dir distOutput:
dist/www/(final directory)dist/www.tar.gzdist/www.tar.gz.sha256
UPSTREAM_DIR=../firmware-selector-openwrt-org node --test tests/js/*.test.js- Update the upstream commit in
upstream.lock.yml. - Run build and tests locally/in CI.
- Publish
www.tar.gzand checksum as release artifacts. - Roll out deployment via
weimarnetz/playbooks.