Syntax fixes

This commit is contained in:
2023-01-30 10:23:32 -06:00
parent b7bc11a018
commit 325ee3395f

View File

@ -15,10 +15,10 @@ commands:
steps: steps:
- checkout - checkout
- run: - run:
name: install dockerize name: install dockerize
command: wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && sudo tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz command: wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && sudo tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
environment: environment:
DOCKERIZE_VERSION: v0.3.0 DOCKERIZE_VERSION: v0.3.0
- restore_cache: - restore_cache:
keys: keys:
- v1-dependencies-{{ checksum "pom.xml" }} - v1-dependencies-{{ checksum "pom.xml" }}
@ -26,7 +26,7 @@ commands:
name: Run react app and mvn verify name: Run react app and mvn verify
command: | command: |
export REACT_APP_PROXY_LOCALHOST_PORT=8001; export PORT=3001; npm run start & export REACT_APP_PROXY_LOCALHOST_PORT=8001; export PORT=3001; npm run start &
command: dockerize -wait tcp://localhost:3001 -timeout 3m dockerize -wait tcp://localhost:3001 -timeout 3m
mvn verify mvn verify
- run: - run:
name: Save test results name: Save test results
@ -62,6 +62,7 @@ commands:
jobs: jobs:
mvn_test: mvn_test:
executor: default
steps: steps:
- install_java17 - install_java17
- mvn_verify - mvn_verify