diff options
| author | mo khan <mo@mokhan.ca> | 2025-03-06 11:22:32 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-03-06 11:22:32 -0700 |
| commit | 0fb8fe928b9ca6f907d532789038f8b8fdcca42c (patch) | |
| tree | 2f70c70ee5e8a3d50bdb9fdeb73c336faf302e8e /bin | |
| parent | b3bb6806194226d73f15185dfd0a23adbd7c8d1b (diff) | |
chore: add script to run manual tests
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/e2e | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -0,0 +1,24 @@ +#!/bin/sh + +set -e +BROWSER="w3m" + +if [ -n "${DEBUG}" ]; then + set -x + BROWSER="xdg-open" +fi + +curl http://idp.example.com:8080/saml/metadata.xml +curl http://idp.example.com:8080/.well-known/openid-configuration +curl http://idp.example.com:8080/.well-known/oauth-authorization-server +curl http://idp.example.com:8080/.well-known/webfinger + +curl http://ui.example.com:8080/saml/metadata.xml + +$BROWSER http://ui.example.com:8080/saml/new +$BROWSER http://ui.example.com:8080/oidc/new + +curl http://api.example.com:8080/projects.json +curl -i -XPOST http://api.example.com:8080/projects --data '{"name": "gitlab"}' +curl http://api.example.com:8080/projects.json + |
