Commit 2989938e authored by Reza Sahebgharan's avatar Reza Sahebgharan

build stage test

parent 4d556e73
Pipeline #398 passed with stages
in 21 minutes and 30 seconds
...@@ -18,7 +18,7 @@ build_in_branch: ...@@ -18,7 +18,7 @@ build_in_branch:
- npm install - npm install
- npm run test-jest - npm run test-jest
- docker-compose config - docker-compose config
- docker-compose build --force-rm - docker-compose build
- docker save -o ./scripts/karname-app.tar karname/app:$env:TAG_VERSION # save docker in scripts folder - docker save -o ./scripts/karname-app.tar karname/app:$env:TAG_VERSION # save docker in scripts folder
- echo y | pscp.exe -batch -l administrator -pw $env:WinRunPass ./scripts/karname-app.tar WinRun:c:/Users/administrator/karname-app.tar # save docker in remote server - echo y | pscp.exe -batch -l administrator -pw $env:WinRunPass ./scripts/karname-app.tar WinRun:c:/Users/administrator/karname-app.tar # save docker in remote server
- echo y | plink -batch -ssh administrator@WinRun -pw $env:WinRunPass docker load -i c:/Users/administrator/karname-app.tar -q - echo y | plink -batch -ssh administrator@WinRun -pw $env:WinRunPass docker load -i c:/Users/administrator/karname-app.tar -q
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment