Skip to content

Commit

Permalink
Update trssCodeSync (adoptium#868)
Browse files Browse the repository at this point in the history
Signed-off-by: Shelley Lambert <[email protected]>
  • Loading branch information
smlambert authored Jul 11, 2024
1 parent 17ae977 commit 18f03d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 6 additions & 10 deletions TestResultSummaryService/jenkins/trssCodeSync.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ node(TRSS_NODE) {
sh "pwd"
sh '''
git pull
echo "Update TRSS client..."
cd test-result-summary-client
echo "npm ci --production --legacy-peer-deps"
npm ci --production --legacy-peer-deps
echo "npm run build"
CI=false npm run build
echo "Update TRSS server..."
cd ../TestResultSummaryService
echo "npm ci --production"
npm ci --production
echo "Stop TRSS components..."
echo "npm run docker-down"
npm run docker-down
echo "Restart TRSS components..."
echo "npm run docker"
npm run docker
'''
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"docker": "docker compose --profile prod up --build",
"docker-data": "docker compose --profile prod --profile data up --build",
"docker-down": "docker compose down",
"docker-down": "docker compose down --remove-orphans",
"docker-ui": "REACT_APP_CONNECT_ADOPTIUM_API=enable docker compose up --build"
},
"author": "",
Expand Down

0 comments on commit 18f03d7

Please sign in to comment.