-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run Webtests in the test-browser container
This is where they used to run. But the hostnames changed and the test setup did change slightly
- Loading branch information
Showing
20 changed files
with
61 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ APP_SECRET=e1023e5989bec76e282bd0ee405200e0 | |
# | ||
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db" | ||
# DATABASE_URL="mysql://app:[email protected]:3306/db_name?serverVersion=8" | ||
DATABASE_URL="mysql://spdrw:secret@db.vm.openconext.org/spdashboard?serverVersion=mariadb-10.4.11&charset=utf8" | ||
DATABASE_URL="mysql://spdrw:secret@db.dev.openconext.local/spdashboard?serverVersion=mariadb-10.4.11&charset=utf8" | ||
###< doctrine/doctrine-bundle ### | ||
|
||
MAILER_DSN=null://null | ||
|
@@ -62,9 +62,9 @@ saml_sp_publickey='%kernel.project_dir%//vendor/surfnet/stepup-saml-bundle/src/R | |
saml_sp_privatekey='%kernel.project_dir%//vendor/surfnet/stepup-saml-bundle/src/Resources/keys/development_privatekey.pem' | ||
saml_metadata_publickey='%kernel.project_dir%//vendor/surfnet/stepup-saml-bundle/src/Resources/keys/development_publickey.cer' | ||
saml_metadata_privatekey='%kernel.project_dir%//vendor/surfnet/stepup-saml-bundle/src/Resources/keys/development_privatekey.pem' | ||
saml_remote_idp_entity_id='https://engine.vm.openconext.org/authentication/idp/metadata' | ||
saml_remote_idp_host=engine.vm.openconext.org | ||
saml_remote_idp_sso_url='https://engine.vm.openconext.org/authentication/idp/single-sign-on' | ||
saml_remote_idp_entity_id='https://engine.dev.openconext.local/authentication/idp/metadata' | ||
saml_remote_idp_host=engine.dev.openconext.local | ||
saml_remote_idp_sso_url='https://engine.dev.openconext.local/authentication/idp/single-sign-on' | ||
saml_remote_idp_certificate=MIIDuDCCAqCgAwIBAgIJAPdqJ9JQKN6vMA0GCSqGSIb3DQEBBQUAMEYxDzANBgNVBAMTBkVuZ2luZTERMA8GA1UECxMIU2VydmljZXMxEzARBgNVBAoTCk9wZW5Db25leHQxCzAJBgNVBAYTAk5MMB4XDTE1MDQwMjE0MDE1NFoXDTI1MDQwMTE0MDE1NFowRjEPMA0GA1UEAxMGRW5naW5lMREwDwYDVQQLEwhTZXJ2aWNlczETMBEGA1UEChMKT3BlbkNvbmV4dDELMAkGA1UEBhMCTkwwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCeVodghQwFR0pItxGaJ3LXHA+ZLy1w/TMaGDcJaszAZRWRkL/6djwbabR7TB45QN6dfKOFGzobQxG1Oksky3gz4Pki1BSzi/DwsjWCw+Yi40cYpYeg/XM0tvHKVorlsx/7Thm5WuC7rwytujr/lV7f6lavf/ApnLHnOORU2h0ZWctJiestapMaC5mc40msruWWp04axmrYICmTmGhEy7w0qO4/HLKjXtWbJh71GWtJeLzG5Hj04X44wI+D9PUJs9U3SYh9SCFZwq0v+oYeqajiX0JPzB+8aVOPmOOM5WqoT8OCddOM/TlsL/0PcxByGHsgJuWbWMI1PKlK3omR764PAgMBAAGjgagwgaUwHQYDVR0OBBYEFLowmsUCD2CrHU0lich1DMkNppmLMHYGA1UdIwRvMG2AFLowmsUCD2CrHU0lich1DMkNppmLoUqkSDBGMQ8wDQYDVQQDEwZFbmdpbmUxETAPBgNVBAsTCFNlcnZpY2VzMRMwEQYDVQQKEwpPcGVuQ29uZXh0MQswCQYDVQQGEwJOTIIJAPdqJ9JQKN6vMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAIF9tGG1C9HOSTQJA5qL13y5Ad8G57bJjBfTjp/dw308zwagsdTeFQIgsP4tdQqPMwYmBImcTx6vUNdiwlIol7TBCPGuqQAHD0lgTkChCzWezobIPxjitlkTUZGHqn4Kpq+mFelX9x4BElmxdLj0RQV3c3BhoW0VvJvBkqVKWkZ0HcUTQMlMrQEOq6D32jGh0LPCQN7Ke6ir0Ix5knb7oegND49fbLSxpdo5vSuxQd+Zn6nI1/VLWtWpdeHMKhiw2+/ArR9YM3cY8UwFQOj9Y6wI6gPCGh/q1qv2HnngmnPrNzZik8XucGcf1Wm2zE4UIVYKW31T52mqRVDKRk8F3Eo= | ||
|
||
# The default timeout for Curl requests when retrieving metadata | ||
|
@@ -73,19 +73,19 @@ metadata_url_timeout=30 | |
# Manage defaults | ||
|
||
## Manage test instance | ||
manage_test_host='https://manage.vm.openconext.org' | ||
manage_test_host='https://manage.dev.openconext.local' | ||
manage_test_username=sp-dashboard | ||
manage_test_password=secret | ||
manage_test_publication_status=testaccepted | ||
|
||
## Manage production instance | ||
manage_prod_host='https://manage.vm.openconext.org' | ||
manage_prod_host='https://manage.dev.openconext.local' | ||
manage_prod_username=sp-dashboard | ||
manage_prod_password=secret | ||
manage_prod_publication_status=prodaccepted | ||
|
||
## Teams test instance | ||
teams_host='https://teams.vm.openconext.org' | ||
teams_host='https://teams.dev.openconext.local' | ||
teams_username=spdashboard | ||
teams_password=secret | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# This will import the certificate offered by manage.vm.openconext.org into the local certificate store. | ||
# This will import the certificate offered by manage.dev.openconext.local into the local certificate store. | ||
|
||
until $(curl -k --output /dev/null --silent --head --fail https://manage.vm.openconext.org); do | ||
until $(curl -k --output /dev/null --silent --head --fail https://manage.dev.openconext.local); do | ||
printf '.' | ||
sleep 1 | ||
done | ||
|
||
echo QUIT | openssl s_client -connect manage.vm.openconext.org:443 | sed -ne '/BEGIN CERT/,/END CERT/p' > /usr/share/ca-certificates/openconext.pem | ||
echo QUIT | openssl s_client -connect manage.dev.openconext.local:443 | sed -ne '/BEGIN CERT/,/END CERT/p' > /usr/share/ca-certificates/openconext.pem | ||
echo openconext.pem >> /etc/ca-certificates.conf | ||
update-ca-certificates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Wait untill the spdashboard is available | ||
while [[ "$(curl -s -o /dev/null -L -w ''%{http_code}'' https://spdashboard.vm.openconext.org/health)" != "200" ]] ; do sleep 5; done | ||
while [[ "$(curl -s -o /dev/null -L -w ''%{http_code}'' https://spdashboard.dev.openconext.local/health)" != "200" ]] ; do sleep 5; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.