Skip to content

Docker image for Bitbucket Pipelines used at Chrometoaster

License

Notifications You must be signed in to change notification settings

chrometoasters/bitbucket-pipelines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitbucket-pipelines

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.

Sample bitbucket-pipelines.yml

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"
            - ...
            - ...

About

Docker image for Bitbucket Pipelines used at Chrometoaster

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published