You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by cd...@apache.org on 2023/02/26 05:36:23 UTC

[submarine] branch master updated: SUBMARINE-1369. Fix CICD in submarine-workbench section always failed

This is an automated email from the ASF dual-hosted git repository.

cdmikechen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git


The following commit(s) were added to refs/heads/master by this push:
     new c2f0eb1a SUBMARINE-1369. Fix CICD in submarine-workbench section always failed
c2f0eb1a is described below

commit c2f0eb1a5e533c65914d2aae771c1d35046767da
Author: cdmikechen <cd...@apache.org>
AuthorDate: Sun Feb 26 11:47:52 2023 +0800

    SUBMARINE-1369. Fix CICD in submarine-workbench section always failed
    
    ### What is this PR for?
    Linked issue: https://github.com/apache/submarine/issues/1046
    
    ### What type of PR is it?
    Bug Fix
    
    ### Todos
    * [x] - fix "error:0308010C:digital envelope routines::unsupported"
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/SUBMARINE-1369
    
    ### How should this be tested?
    CICD workflow
    
    ### Screenshots (if appropriate)
    NA
    
    ### Questions:
    * Do the license files need updating? No
    * Are there breaking changes for older versions? No
    * Does this need new documentation? No
    
    Author: cdmikechen <cd...@apache.org>
    
    Signed-off-by: cdmikechen <cd...@apache.org>
    
    Closes #1051 from cdmikechen/SUBMARINE-1369 and squashes the following commits:
    
    5bb66745 [cdmikechen] fix "error:0308010C:digital envelope routines::unsupported"
---
 .github/workflows/master.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml
index 14434571..9a07b38a 100644
--- a/.github/workflows/master.yml
+++ b/.github/workflows/master.yml
@@ -471,10 +471,14 @@ jobs:
           mvn $BUILD_FLAG $MODULES -B
       - name: Test with chrome
         working-directory: ./submarine-workbench/workbench-web
-        run: npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
+        run: |
+          export NODE_OPTIONS=--openssl-legacy-provider
+          npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
       - name: Test with firefox
         working-directory: ./submarine-workbench/workbench-web
-        run: npm run test -- --no-watch --no-progress --browsers=FirefoxHeadless
+        run: |
+          export NODE_OPTIONS=--openssl-legacy-provider
+          npm run test -- --no-watch --no-progress --browsers=FirefoxHeadless
   submarine-workbench-v2:
     runs-on: ubuntu-latest
     timeout-minutes: 30


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org