Bitbucket Pipelines Docker image based on Debian 9.0 Stretch with PHP/MySQL (and more)
More help in Bitbucket's Confluence
Docker image at chrometoaster/bitbucket-pipelines
All credit goes to SmartApps and their bitbucket-pipelines-debian-9 source image we extend.
image: chrometoaster/bitbucket-pipelines:0.0.1
pipelines:
custom: # manually triggered pipelines
deploy-statics:
- step:
caches:
- node
script:
- eval `ssh-agent`
- ssh-add /opt/atlassian/pipelines/agent/data/id_rsa
- cd ${BITBUCKET_CLONE_DIR} && cd app/client/
- yarn install
- yarn run styleguide:build && echo "Build finished"
- ...
- ...
test-server-connection:
- step:
script:
- eval `ssh-agent`
- ssh-add /opt/atlassian/pipelines/agent/data/id_rsa
- ssh bob@example.com "date"
branches: # automatically triggered pipelines on push
fe-statics:
- step:
caches:
- node
script:
- eval `ssh-agent`
- ssh-add /opt/atlassian/pipelines/agent/data/id_rsa
- cd ${BITBUCKET_CLONE_DIR} && cd app/client/
- yarn install
- yarn run styleguide:build && echo "Build finished"
- ...
- ...