pipeline setup

Signed-off-by: Marcus Weinhold - umwerk systems GmbH <marcus.weinhold@umwerk-systems.com>
This commit is contained in:
Marcus Weinhold - umwerk systems GmbH
2019-01-23 15:28:31 +01:00
parent 06d6689a20
commit 340bcda586

View File

@@ -1,4 +1,4 @@
image: umwerk/node-awscli:8.10
image: node:latest
pipelines:
default:
@@ -8,7 +8,10 @@ pipelines:
branches:
master:
- step:
caches:
- node
script:
- ng build --prod
- tar cfz /tmp/$BITBUCKET_REPO_SLUG.tgz *
- npm install
- node_modules/.bin/ng build --prod
- tar cfz /tmp/$BITBUCKET_REPO_SLUG.tgz dist
- scp /tmp/$BITBUCKET_REPO_SLUG.tgz $DEPLOYMENT_USER@$TESTING_HOST:/tmp/