github-actions[bot] commented on issue #5891: URL: https://github.com/apache/dolphinscheduler/issues/5891#issuecomment-887131530
The current pipeline for spring-boot-vuejs is below. There are 6 nodes in total, and all of them are shell nodes. The current spring-boot-vuejs workflow is as follows, there are 6 nodes in total, all of which are shell nodes. spring-boot-vuejs: https://github.com/jonashackt/spring-boot-vuejs  **Node 1: check_node** Check if spring-boot-vuejs directory is under /opt/repo/. If available, pull the latest version, if not, clone Check whether there is a spring-boot-vuejs warehouse under the local /opt/repo/, if there is, pull the latest version, if not, clone > cd /opt/repo > > DIR="/opt/repo/spring-boot-vuejs" > if [-d "$DIR" ]; then > echo "Pass: ${DIR} exist" > cd /opt/repo/spring-boot-vuejs > git pull origin master > echo "Update: ${DIR} directory" > else > echo "Error: ${DIR} not found. Clone repo" > git clone https://github.com/jonashackt/spring-boot-vuejs > cd spring-boot-vuejs > fi > **Node 2: build java8** Check if java 8 is being used, then run mvn install for building Check whether the java version is the specified version (version8), execute the mvn install command to build > pwd > cd /opt/repo/spring-boot-vuejs > > java -version > echo $JAVA_HOME > > npm config set registry http://registry.npmjs.org > mvn -B install --no-transfer-progress **Node 3: test java8** Run mvn verify for testing Run mvn verify to test > cd /opt/repo/spring-boot-vuejs > > mvn -B verify --no-transfer-progress > **Node 4: build java16** Check if java 16 is being used, then run mvn install for building Check whether the java version is the specified version (version16), execute the mvn install command to build > cd /opt/repo/spring-boot-vuejs > > java -version > echo $JAVA_HOME > > JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-16.0.2.jdk/Contents/Home > export JAVA_HOME; > echo $JAVA_HOME > > npm config set registry http://registry.npmjs.org > mvn -B install --no-transfer-progress **Node 5: test java16** Run mvn verify for testing Run mvn verify to test > cd /opt/repo/spring-boot-vuejs > > mvn -B verify --no-transfer-progress **Node 6: deploy** Use java 8 for deployment. Run the application in the background Change to java8 version, execute the startup command in the background > cd /opt/repo/spring-boot-vuejs > > JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home > export JAVA_HOME; > echo $JAVA_HOME > > echo START > nohup java -Djava.security.egd=file:/dev/./urandom -jar ./backend/target/backend-0.0.1-SNAPSHOT.jar> buildres.txt 2>&1 & > echo END > sudo lsof -i tcp:8098 please let me know your questions and suggestions! BR Zhen -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
