Upload server log after running Cypress tests (#2341)

* Upload server log after running Cypress tests

* fix typos
This commit is contained in:
Jon Koops 2022-04-05 09:20:00 +02:00 committed by GitHub
parent e44103dda5
commit b40da16afd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View file

@ -52,7 +52,7 @@ jobs:
- name: Start Keycloak Server - name: Start Keycloak Server
working-directory: ${{ env.KEYCLOAK_SERVER_BIN }} working-directory: ${{ env.KEYCLOAK_SERVER_BIN }}
run: ./kc.sh start-dev --features=admin2,admin-fine-grained-authz,declarative-user-profile & run: ./kc.sh start-dev --features=admin2,admin-fine-grained-authz,declarative-user-profile &> ~/server.log &
env: env:
KEYCLOAK_ADMIN: admin KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin KEYCLOAK_ADMIN_PASSWORD: admin
@ -86,3 +86,9 @@ jobs:
with: with:
name: cypress-screenshots name: cypress-screenshots
path: ${{ env.ADMIN_UI_PATH }}/assets/screenshots path: ${{ env.ADMIN_UI_PATH }}/assets/screenshots
- name: Upload server logs
uses: actions/upload-artifact@v2
with:
name: server-log
path: ~/server.log

View file

@ -10,7 +10,7 @@ export type Environment = {
resourceUrl: string; resourceUrl: string;
/** The name of the master realm. */ /** The name of the master realm. */
masterRealm: string; masterRealm: string;
/** The version hash of the auth sever. */ /** The version hash of the auth server. */
resourceVersion: string; resourceVersion: string;
/** The hash of the commit the Admin UI was built on, useful to determine the exact version the user is running. */ /** The hash of the commit the Admin UI was built on, useful to determine the exact version the user is running. */
commitHash: string; commitHash: string;