Commit 59343bf0 authored by Reza Sahebgharan's avatar Reza Sahebgharan

test putty

parent d5c288fa
Pipeline #344 passed with stages
in 2 minutes and 35 seconds
...@@ -16,6 +16,7 @@ build_in_branch: ...@@ -16,6 +16,7 @@ build_in_branch:
- npm install - npm install
- npm run test-jest - npm run test-jest
- echo $env:TAG_VERSION - echo $env:TAG_VERSION
- putty -ssh administrator@WinRun -pw $Env:WinRunPass -m D:\putty\command.bat
allow_failure: true allow_failure: true
except: except:
- master - master
...@@ -30,7 +31,7 @@ build_in_master: ...@@ -30,7 +31,7 @@ build_in_master:
- echo "starting build in master" - echo "starting build in master"
- npm install - npm install
- npm run test-jest - npm run test-jest
- docker-compose build --force-rm - docker-compose up -d --force-recreate
allow_failure: true allow_failure: true
only: only:
- master - master
......
...@@ -3,11 +3,12 @@ version: '3' ...@@ -3,11 +3,12 @@ version: '3'
services: services:
app: app:
container_name: karname-app
restart: on-failure restart: on-failure
build: build:
context: . context: .
dockerfile: docker/devel/Dockerfile dockerfile: docker/devel/Dockerfile
image: karname/app:1.0 image: karname-image
ports: ports:
- '5050:3000' - '5050:3000'
depends_on: depends_on:
......
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