File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -164,18 +164,12 @@ test-sso-integration:
164
164
-p 9000:9000 \
165
165
-p 9001:9001 \
166
166
-e MINIO_IDENTITY_OPENID_CLIENT_SECRET=0nfJuqIt0iPnRIUJkvetve5l38C6gi9W \
167
+ -e MINIO_IDENTITY_OPENID_CONFIG_URL=http://keycloak-container:8080/auth/realms/myrealm/.well-known/openid-configuration \
168
+ -e MINIO_IDENTITY_OPENID_CLIENT_ID=" account" \
167
169
-e MINIO_ROOT_USER=minio \
168
170
-e MINIO_ROOT_PASSWORD=minio123 $(MINIO_VERSION ) server /data{1...4} --address :9000 --console-address :9001)
169
- @ (sleep 60)
170
- @echo " run mc commands"
171
- @ (docker run --name minio-client --network my-net -dit --entrypoint=/bin/sh minio/mc)
172
- @ (docker exec minio-client mc alias set myminio/ http://minio:9000 minio minio123)
173
- @ (docker exec minio-client mc admin config set myminio identity_openid config_url=" http://keycloak-container:8080/auth/realms/myrealm/.well-known/openid-configuration" client_id=" account" )
174
- @ (docker exec minio-client mc admin service restart myminio)
175
171
@echo " starting bash script"
176
172
@ (env bash $( PWD) /sso-integration/set-sso.sh)
177
- @echo " install jq"
178
- @ (sudo apt install jq)
179
173
@echo " Executing the test:"
180
174
@ (cd sso-integration && go test -coverpkg=../restapi -c -tags testrunmain . && mkdir -p coverage && ./sso-integration.test -test.v -test.run " ^Test*" -test.coverprofile=coverage/sso-system.out)
181
175
You can’t perform that action at this time.
0 commit comments