mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
bitbucket-pipelines.yml edited online with Bitbucket
This commit is contained in:
@@ -11,15 +11,14 @@ pipelines:
|
||||
caches:
|
||||
- node
|
||||
script:
|
||||
- cat /opt/atlassian/pipelines/agent/ssh/id_rsa
|
||||
# - umask 0022
|
||||
# - npm install
|
||||
# - node_modules/.bin/ng build cat-service
|
||||
# - node_modules/.bin/ng build feed-service
|
||||
# - node_modules/.bin/ng build --prod
|
||||
# - tar cfz /tmp/$BITBUCKET_BRANCH-$BITBUCKET_REPO_SLUG.tgz -C dist/hima/ .
|
||||
# - scp /tmp/$BITBUCKET_BRANCH-$BITBUCKET_REPO_SLUG.tgz $DEPLOYMENT_USER@$TESTING_HOST:/tmp/
|
||||
# - ssh $DEPLOYMENT_USER@$TESTING_HOST "sudo /usr/local/bin/deploy $BITBUCKET_BRANCH-$BITBUCKET_REPO_SLUG $BITBUCKET_BRANCH"
|
||||
- umask 0022
|
||||
- npm install
|
||||
- node_modules/.bin/ng build cat-service
|
||||
- node_modules/.bin/ng build feed-service
|
||||
- node_modules/.bin/ng build --prod
|
||||
- tar cfz /tmp/$BITBUCKET_BRANCH-$BITBUCKET_REPO_SLUG.tgz -C dist/hima/ .
|
||||
- scp /tmp/$BITBUCKET_BRANCH-$BITBUCKET_REPO_SLUG.tgz $DEPLOYMENT_USER@$TESTING_HOST:/tmp/
|
||||
- ssh $DEPLOYMENT_USER@$TESTING_HOST "sudo /usr/local/bin/deploy $BITBUCKET_BRANCH-$BITBUCKET_REPO_SLUG $BITBUCKET_BRANCH"
|
||||
testing:
|
||||
- step:
|
||||
caches:
|
||||
|
||||
Reference in New Issue
Block a user