GUNet Docker image
CAS_USER: Username (default gunetdemo)CAS_PASSWORD: Password (default gunetdemo)CAS_LANG: The language in CAS login page. Can be one of en or elall_tests.sh script:
SCRIPT_CAS_SERVER: The CAS server against which to run the cas scenario. Default value: https://host.docker.internal:8443/casSCRIPT_SAML_SP: The SAML SP against which to run the saml scenario. Default value: http://host.docker.internal:8080SCRIPT_OIDC_SP: The OIDC SP against which to run the oidc scenario. Defalut value: http://host.docker.internal:3000docker run --rm ghcr.io/gunet/puppeteer npm listdocker run -it --cap-add=SYS_ADMIN --rm ghcr.io/gunet/simple-puppeteer node --unhandled-rejections=strict <scenario + args>cas: Check simple CAS login
./scenarios/cas/script.js <SSO BASE URL>oidc: Check OIDC login
./scenarios/oidc/script.js <OIDC-TESTER BASE URL>saml: Check SAML login
./scenarios/saml/script.js <SAML-SP BASE URL><SSO BASE URL: An example might be https://sso.uoi.gr or https://worker-01.dev.gunet.gr:8443/cas (in the case of simple-cas)docker compose -f docker-compose.yaml -f docker-compose.testers.yaml -f docker-compose.puppeteer.yaml up --exit-code-from simple-puppeteer --attach simple-puppeteerrun_test.sh: Inherited from gunet/puppeteer. Run a specific scenario against a server: docker run -it --cap-add=SYS_ADMIN --rm ghcr.io/gunet/simple-puppeteer bash run_test.sh cas <server URL>all_tests.sh: Run all three SSO tests (cas, saml, oidc) utilizing the SCRIPT_* environment variables. Usage: docker run -it --cap-add=SYS_ADMIN --rm ghcr.io/gunet/simple-puppeteer bash all_tests.sh with -e <var>=<value> for the SCRIPT_* environment variables and possibly -e CAS_USER=<username> -e CAS_PASSWORD=<password>.1.17 GBContent type
Image
Digest
sha256:7c44f62f5…
Size
570.6 MB
Last updated
almost 2 years ago
docker pull gunet/simple-puppeteer