Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ui): use keycloak for e2es in workflow #909

Merged
merged 68 commits into from
Aug 23, 2024
Merged
Changes from 1 commit
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
f63ef7f
init
andrewrisse Aug 14, 2024
442ffcb
remove ./uds
andrewrisse Aug 14, 2024
2ae86d2
add insecure keycloak admin user
andrewrisse Aug 14, 2024
89ef006
add wait for keycloak secret
andrewrisse Aug 14, 2024
c6ca7df
trigger
andrewrisse Aug 14, 2024
72c079e
Test trigger
andrewrisse Aug 14, 2024
4f8323d
Test trigger 2
andrewrisse Aug 14, 2024
7d002c1
Add debug statements
andrewrisse Aug 14, 2024
f3483cc
try workflow var
andrewrisse Aug 14, 2024
8a68a62
try hardcoding command
andrewrisse Aug 14, 2024
aa67235
Merge branch 'main' into workflow-keycloak
andrewrisse Aug 15, 2024
5b9e9f0
change nltk version
andrewrisse Aug 15, 2024
621ca63
fix csp
andrewrisse Aug 15, 2024
de4433a
revert to older setup
andrewrisse Aug 15, 2024
884edf8
Remove wait
andrewrisse Aug 15, 2024
22a7de3
add uds-config
andrewrisse Aug 15, 2024
d47d629
Remove line
andrewrisse Aug 15, 2024
5e0387f
Revert playwright e2e
andrewrisse Aug 15, 2024
1bdcbe8
revert action
andrewrisse Aug 15, 2024
83cd7c7
merge main and delete uds config
andrewrisse Aug 15, 2024
7b54202
add uds-config 2
andrewrisse Aug 15, 2024
5308f5e
add config back in
andrewrisse Aug 15, 2024
4c5ee86
Add debugs and single quote
andrewrisse Aug 15, 2024
492fdc5
Back to double quote
andrewrisse Aug 15, 2024
e43545c
Trigger test 1
andrewrisse Aug 15, 2024
fc72123
Trigger test 2
andrewrisse Aug 15, 2024
e2d8338
merge main
andrewrisse Aug 15, 2024
17b90dd
remove duplicate header
andrewrisse Aug 15, 2024
c68ce6b
use createUser script
andrewrisse Aug 15, 2024
eedff06
use make command and cleanup
andrewrisse Aug 15, 2024
87abf37
change order of dep install
andrewrisse Aug 15, 2024
ade6ba9
Explicitly enable keycloak
andrewrisse Aug 15, 2024
b893039
disable keycloak in build step
andrewrisse Aug 15, 2024
3a51045
fix var name
andrewrisse Aug 15, 2024
e88d4ea
double fill user pass
andrewrisse Aug 16, 2024
c7d8213
Remove --http flag
andrewrisse Aug 16, 2024
42a018a
Debug statements
andrewrisse Aug 16, 2024
680b126
Debug statements 2
andrewrisse Aug 16, 2024
d3e8206
Merge branch 'main' into workflow-keycloak
andrewrisse Aug 16, 2024
aab3691
more debugging
andrewrisse Aug 16, 2024
608c3c7
Merge branch 'main' into workflow-keycloak
justinthelaw Aug 16, 2024
90b9c00
more debugging
andrewrisse Aug 16, 2024
bb26910
add statement to print out created user
andrewrisse Aug 16, 2024
b567243
add http1.1 flag
andrewrisse Aug 20, 2024
f121cea
Debug statements
andrewrisse Aug 20, 2024
60c7397
--data
andrewrisse Aug 20, 2024
754fb41
debug 2
andrewrisse Aug 20, 2024
1d94b68
tac tac
andrewrisse Aug 20, 2024
5fd43c3
echo into new var
andrewrisse Aug 20, 2024
2730e2e
echo curl result
andrewrisse Aug 20, 2024
cb5028d
bump uds cli to v14
andrewrisse Aug 20, 2024
c0313d3
cleanup
andrewrisse Aug 20, 2024
ced7cca
Merge branch 'main' into workflow-keycloak
andrewrisse Aug 20, 2024
8538132
use env var and remove extra echo step
andrewrisse Aug 20, 2024
50553a0
Test password mask
andrewrisse Aug 20, 2024
eec0b1c
add echo tests for createUser.sh
andrewrisse Aug 20, 2024
6481be3
Test echo without mask
andrewrisse Aug 21, 2024
fdabb8d
use var directly
andrewrisse Aug 21, 2024
0e410c9
add missing quote
andrewrisse Aug 22, 2024
b870514
merge main and adjust password so it always has special characters
andrewrisse Aug 22, 2024
ff9deb6
update password generator
andrewrisse Aug 22, 2024
adec79a
Delete test file
andrewrisse Aug 22, 2024
699c230
Merge branch 'main' into workflow-keycloak
andrewrisse Aug 22, 2024
d38b689
new debug 1
andrewrisse Aug 22, 2024
0d251f6
use github env
andrewrisse Aug 22, 2024
78fe2e8
add and test password mask
andrewrisse Aug 22, 2024
5550d2a
Remove echos
andrewrisse Aug 22, 2024
05b240f
Remove test files
andrewrisse Aug 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove wait
  • Loading branch information
andrewrisse committed Aug 15, 2024
commit 884edf8f6a679e3713a93470233c8d1c9fda1d54
1 change: 0 additions & 1 deletion .github/workflows/e2e-playwright.yaml
Original file line number Diff line number Diff line change
@@ -101,7 +101,6 @@ jobs:

- name: Create Test User
run: |
while ! uds zarf tools kubectl get secret keycloak-admin-password --namespace keycloak; do echo "Waiting for my secret."; sleep 10; done
KEYCLOAK_ADMIN_PASSWORD=$(uds zarf tools kubectl get secret -n keycloak keycloak-admin-password -o jsonpath={.data.password} | base64 -d)
KEYCLOAK_ADMIN_TOKEN=$(curl -s --location "https://keycloak.admin.uds.dev/realms/master/protocol/openid-connect/token" \
--header "Content-Type: application/x-www-form-urlencoded" \