diff --git a/.github/workflows/demo-deploy-action.yml b/.github/workflows/demo-deploy-action.yml index fea5d780d6..fd84d2a35d 100644 --- a/.github/workflows/demo-deploy-action.yml +++ b/.github/workflows/demo-deploy-action.yml @@ -1,10 +1,10 @@ name: 'Demo-Deploy' on: - pull_request: - types: - - closed - branches: [ main ] +# pull_request: +# types: +# - closed +# branches: [ main ] jobs: update-version: @@ -144,12 +144,12 @@ jobs: with: build: npm i -D cypress install: false - wait-on: 'http://localhost:8080/config, http://localhost:8544' + wait-on: 'http://pitc.okr.localhost:8080/config, http://pitc.okr.localhost:4200, http://localhost:8544' wait-on-timeout: 120 browser: chrome headed: true working-directory: frontend - config: baseUrl=http://localhost:8080 + config: baseUrl=http://pitc.okr.localhost:8080 - uses: actions/upload-artifact@v4 if: always() diff --git a/.github/workflows/frontend-test-action.yml b/.github/workflows/frontend-test-action.yml index 812c7a8698..327883ec41 100644 --- a/.github/workflows/frontend-test-action.yml +++ b/.github/workflows/frontend-test-action.yml @@ -45,9 +45,9 @@ jobs: --name my_keycloak \ -e KEYCLOAK_ADMIN=admin \ -e KEYCLOAK_ADMIN_PASSWORD=keycloak \ - -v ./docker/config/realm-export.json:/opt/keycloak/data/import/realm.json \ + -v ./docker/config/realm-export-pitc.json:/opt/keycloak/data/import/realm-pitc.json \ -p 8544:8080 \ - quay.io/keycloak/keycloak:23.0.1 \ + quay.io/keycloak/keycloak:24.0.2 \ start-dev --import-realm - name: start backend @@ -58,10 +58,16 @@ jobs: with: working-directory: frontend start: npm start - wait-on: 'http://localhost:8080/config, http://localhost:4200, http://localhost:8544' + wait-on: 'http://pitc.okr.localhost:8080/config, http://pitc.okr.localhost:4200, http://localhost:8544' wait-on-timeout: 120 browser: chrome headed: true + - uses: actions/upload-artifact@v4 + if: always() + with: + name: cypress-screenshots + path: frontend/cypress/screenshots + - name: remove docker containers run: docker ps -aq | xargs -r docker rm -f diff --git a/.github/workflows/staging-deploy-action.yml b/.github/workflows/staging-deploy-action.yml index db1d79e9ed..386dc904b0 100644 --- a/.github/workflows/staging-deploy-action.yml +++ b/.github/workflows/staging-deploy-action.yml @@ -1,10 +1,10 @@ name: 'Staging-Deploy' on: - pull_request: - types: - - closed - branches: [ main ] +# pull_request: +# types: +# - closed +# branches: [ main ] jobs: update-version: diff --git a/.gitignore b/.gitignore index da6e9b987e..678f62ef45 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ sonar-project.properties /frontend/cypress/downloads/ /frontend/cypress/screenshots/ /toolchains.xml +/backend/src/main/resources/db/okr_schema.sql diff --git a/.run/OkrApplication-E2E.run.xml b/.run/OkrApplication-E2E.run.xml index aa7706165a..0e6d57f321 100644 --- a/.run/OkrApplication-E2E.run.xml +++ b/.run/OkrApplication-E2E.run.xml @@ -1,7 +1,7 @@