Public | Automated Build

Last pushed: 2 months ago
Short Description
bitbucket pipeline php aws mysql
Full Description

bitbucket-pipeline-php-aws-mysql

An inspiration from: smartapps/bitbucket-pipelines-php-mysql
Extended from:
frozentech/bitbucket-pipeline-php-mysql
AWS MySQL
Docker image at frozentech/bitbucket-pipeline-php-aws-mysql

Built in's:

  • ENV MYSQL_ROOT_PASSWORD
  • mysql-server (/etc/init.d/mysql start)
  • redis (/etc/init.d/redis-server start)
  • mysql-client (mysql --user=root --password=$MYSQL_ROOT_PASSWORD -e "CREATE DATABASE test;")
  • aws (aws help)
    Sample bitbucket-pipelines.yml:
image: frozentech/bitbucket-pipeline-php-aws-mysql
pipelines:
  default:
    - step:
        script:
          - /etc/init.d/mysql start
          - mysql --user=root --password=$MYSQL_ROOT_PASSWORD -e "CREATE DATABASE test;"
          - aws deploy push --application-name MyGo_App --description "This is my deployment" --ignore-hidden-files --s3-location s3://CodeDeployDemoBucket/MyGoApp.zip --source /tmp/MyLocalDeploymentFolder/
Docker Pull Command
Owner
frozentech

Comments (0)