Skip to content

Commit

Permalink
Fix issue with missing dist directory (#348)
Browse files Browse the repository at this point in the history
* Fix issue with missing dist directory

* Change names of steps

* Remove comma from FDB env variables
  • Loading branch information
tomasdavidorg authored Dec 10, 2020
1 parent 6281626 commit 290be83
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/pull_request_full_downstream_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ jobs:

- name: Build kogito-tooling
env:
EXTERNAL_ASSET__dmnEditorPath: "../kie-wb-common/kie-wb-common-dmn/kie-wb-common-dmn-webapp-kogito-runtime/target/kie-wb-common-dmn-webapp-kogito-runtime",
EXTERNAL_ASSET__bpmnEditorPath: "../kie-wb-common/kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-kogito-runtime/target/kie-wb-common-stunner-bpmn-kogito-runtime",
EXTERNAL_ASSET__scesimEditorPath: "../drools-wb/drools-wb-screens/drools-wb-scenario-simulation-editor/drools-wb-scenario-simulation-editor-kogito-runtime/target/drools-wb-scenario-simulation-editor-kogito-runtime",
EXTERNAL_ASSET__dmnEditorPath: "../kie-wb-common/kie-wb-common-dmn/kie-wb-common-dmn-webapp-kogito-runtime/target/kie-wb-common-dmn-webapp-kogito-runtime"
EXTERNAL_ASSET__bpmnEditorPath: "../kie-wb-common/kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-kogito-runtime/target/kie-wb-common-stunner-bpmn-kogito-runtime"
EXTERNAL_ASSET__scesimEditorPath: "../drools-wb/drools-wb-screens/drools-wb-scenario-simulation-editor/drools-wb-scenario-simulation-editor-kogito-runtime/target/drools-wb-scenario-simulation-editor-kogito-runtime"
ROUTER_targetOrigin: "https://kiegroup.github.io"
ROUTER_relativePath: "kogito-online-ci/${{ steps.buildInfo.outputs.category }}/${{ steps.buildInfo.outputs.id }}/editors/"
DOWNLOAD_HUB_linuxUrl: "https://kiegroup.github.io/kogito-online-ci/hub_download_unsupported.html"
Expand Down Expand Up @@ -295,22 +295,24 @@ jobs:
git push origin gh-pages
cd -
# Rebuilds packages, starts and waits for the local servers and runs integration tests for the Chrome Extension
- name: Run Chrome Extension integration tests
- name: Rebuild Chrome Extension to use servers running on localhost
env:
DISPLAY: ":99.0"
EXTERNAL_ASSET__dmnEditorPath: "../kie-wb-common/kie-wb-common-dmn/kie-wb-common-dmn-webapp-kogito-runtime/target/kie-wb-common-dmn-webapp-kogito-runtime",
EXTERNAL_ASSET__bpmnEditorPath: "../kie-wb-common/kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-kogito-runtime/target/kie-wb-common-stunner-bpmn-kogito-runtime",
EXTERNAL_ASSET__scesimEditorPath: "../drools-wb/drools-wb-screens/drools-wb-scenario-simulation-editor/drools-wb-scenario-simulation-editor-kogito-runtime/target/drools-wb-scenario-simulation-editor-kogito-runtime",
EXTERNAL_ASSET__dmnEditorPath: "../../../kie-wb-common/kie-wb-common-dmn/kie-wb-common-dmn-webapp-kogito-runtime/target/kie-wb-common-dmn-webapp-kogito-runtime"
EXTERNAL_ASSET__bpmnEditorPath: "../../../kie-wb-common/kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-kogito-runtime/target/kie-wb-common-stunner-bpmn-kogito-runtime"
EXTERNAL_ASSET__scesimEditorPath: "../../../drools-wb/drools-wb-screens/drools-wb-scenario-simulation-editor/drools-wb-scenario-simulation-editor-kogito-runtime/target/drools-wb-scenario-simulation-editor-kogito-runtime"
ROUTER_targetOrigin: "https://localhost:9000"
ROUTER_relativePath: ""
ONLINEEDITOR_url: "http://localhost:9001"
run: cd kogito-tooling/packages/chrome-extension-pack-kogito-kie-editors && yarn run build:prod && cd -

- name: Run Chrome Extension integration tests
run: |
cd kogito-tooling/packages/online-editor && yarn run build:prod && yarn run start &
cd kogito-tooling/packages/chrome-extension-pack-kogito-kie-editors && yarn run build:prod && yarn run serve-envelope &
sleep 20
cd kogito-tooling/packages/online-editor && yarn run start &
cd kogito-tooling/packages/chrome-extension-pack-kogito-kie-editors && yarn run serve-envelope &
sleep 30
cd kogito-tooling/packages/chrome-extension-pack-kogito-kie-editors && yarn run test:it
cd -
- name: Archive Chrome Extension integration tests screenshots
if: success() || failure()
Expand Down

0 comments on commit 290be83

Please sign in to comment.