Commit c78aa365 authored by Reza Sahebgharan's avatar Reza Sahebgharan

build stage test test

parent af4f924e
Pipeline #395 passed with stages
in 6 minutes and 1 second
...@@ -16,11 +16,10 @@ build_in_branch: ...@@ -16,11 +16,10 @@ build_in_branch:
script: script:
- echo "starting build in branch" - echo "starting build in branch"
- echo $env:WinRunPass - echo $env:WinRunPass
#- 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
- echo y | pscp.exe -batch -l administrator -pw $env:WinRunPass ./docker-compose-staging.yml WinRun:c:/Users/administrator/docker-compose.yml # save docker-compose.yml in remote server - echo y | pscp.exe -batch -l administrator -pw $env:WinRunPass ./docker-compose-staging.yml WinRun:c:/Users/administrator/docker-compose.yml # save docker-compose.yml in remote server
- Set-Variable -Name "envtext" -Value "TAG_VERSION=$env:TAG_VERSION" - Set-Variable -Name "envtext" -Value "TAG_VERSION=$env:TAG_VERSION"
- New-Item -Path '.\.env' -ItemType File - New-Item -Path '.\.env' -ItemType File
- Add-Content .\.env "$envtext" - Add-Content .\.env "$envtext"
......
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