diff options
author | Christian Breunig <christian@breunig.cc> | 2025-01-10 13:02:43 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-01-11 10:59:23 +0100 |
commit | fee77a6ac199c69e566823c6885f9f38411adcee (patch) | |
tree | 5f6ec8979aba5fc9bc2a60425d90334f9b882886 /debian | |
parent | 9f6a98659726df43e33290639fe58fa41b742bf7 (diff) | |
download | vyos-1x-fee77a6ac199c69e566823c6885f9f38411adcee.tar.gz vyos-1x-fee77a6ac199c69e566823c6885f9f38411adcee.zip |
smoketest: T7038: add freeradius container to live validate login via RADIUS
RADIUS is pretty sensible to its configuration. Instead of manual testing,
extend the smoketest platform to ship a freeradius container and perform logins
against a locally running freeradius server in a container.
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/vyos-1x-smoketest.postinst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/vyos-1x-smoketest.postinst b/debian/vyos-1x-smoketest.postinst index 08d6d7d4f..bff73796c 100755 --- a/debian/vyos-1x-smoketest.postinst +++ b/debian/vyos-1x-smoketest.postinst @@ -11,3 +11,9 @@ TACPLUS_PATH="/usr/share/vyos/tacplus-alpine.tar" if [[ ! -f $TACPLUS_PATH ]]; then skopeo copy --additional-tag "$TACPLUS_TAG" "docker://$TACPLUS_TAG" "docker-archive:/$TACPLUS_PATH" fi + +RADIUS_TAG="docker.io/dchidell/radius-web:latest" +RADIUS_PATH="/usr/share/vyos/radius-latest.tar" +if [[ ! -f $RADIUS_PATH ]]; then + skopeo copy --additional-tag "$RADIUS_TAG" "docker://$RADIUS_TAG" "docker-archive:/$RADIUS_PATH" +fi |