diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index da83be78e..557591c4d 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -1,3 +1,7 @@ +definitions: + services: + docker: + memory: 2048 pipelines: branches: developer: @@ -9,7 +13,7 @@ pipelines: - docker build -t $IMAGE_NAME . - docker login --username $DOCKER_USER --password $DOCKER_PASS - docker push $IMAGE_NAME - - step: + - step: name: 'Deploy on server' script: - export BITBUCKET_COMMIT_SHORT=$(echo $BITBUCKET_COMMIT| cut -c1-7) @@ -17,7 +21,7 @@ pipelines: variables: SSH_USER: 'administrator' SERVER: '41.63.166.54' - COMMAND: 'export GDSITE_VERSION=${BITBUCKET_COMMIT_SHORT};cd ${COMPOSE_FOLDER} ; docker-compose up -d gdsite' + COMMAND: 'export GDSITE_VERSION=${BITBUCKET_COMMIT_SHORT};cd ${COMPOSE_FOLDER} ; docker-compose up -d gdsite' options: - docker: true \ No newline at end of file + docker: true