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,10 +16,11 @@ build_in_branch:
- npm install
- npm run test-jest
- echo $env:TAG_VERSION
- putty -ssh administrator@WinRun -pw $Env:WinRunPass -m D:\putty\command.bat
allow_failure: true
except:
- master
build_in_master:
before_script:
- $env:TAG_VERSION=(git describe --tag --abbrev=0)
......@@ -30,7 +31,7 @@ build_in_master:
- echo "starting build in master"
- npm install
- npm run test-jest
- docker-compose build --force-rm
- docker-compose up -d --force-recreate
allow_failure: true
only:
- master
......
......@@ -3,11 +3,12 @@ version: '3'
services:
app:
container_name: karname-app
restart: on-failure
build:
context: .
dockerfile: docker/devel/Dockerfile
image: karname/app:1.0
image: karname-image
ports:
- '5050:3000'
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