Skip to content

v1.2.0

Compare
Choose a tag to compare
@lmakarov lmakarov released this 20 Mar 00:25
· 151 commits to master since this release
d827af9
  • Added support for CircleCI 2.0 (example config)
  • Added support for GitLab CI support (#9)
  • S3 integration for artifact storage
    • build-acp - used to copy artifacts to a configured S3 bucket
    • minio client (mc)
    • URL to artifacts is posted back to Bitbucket via Bitbucket build status API
  • Build status notifications (Github and Bitbucket)
    • build-notify posts updates via builds status API. Usage: build-notify <pending|success|failure>
    • build-notify success passes the sandbox URL (linked to the build status icon/link in GitHub/Bitbucket)
    • Can also post the sandbox URL via a comment on a PR (on success only). Usage: export PR_COMMENT=1 before running build-notify.
  • Version updates
    • Alpine 3.7
    • GLIBC 2.27-r0
    • Docker 17.09.0-ce
    • Docker Compose 1.19.0
    • Composer 1.6.3
    • Drush 8.1.16
    • Drupal Console 1.7.0
    • WP CLI 1.5.0
  • Added PHP extensions
    • php7-zlib - required by Drupal Console
    • php7-xmlreader, php7-xmlwriter - required by the Coder module (#6)
    • php7-gd - required in composer install starting with Drupal 8.5.0 (#22)
  • Added rsync (#8) and patch (#21) packages
  • Added ability to access Docker Engine on a sandbox server (DOCKSAL_HOST)
    • Set DOCKSAL_HOST_TUNNEL to anything to initialized a secure SSH tunnel and map remote docker.sock
    • docker <command> will run on the sandbox server
  • DOCKSAL_DOMAIN can be used to set the base URL for sandbox builds (defaults to DOCKSAL_HOST if not set), individually from DOCKSAL_HOST
    • This is useful when working with CDNs/ELBs/WAFs/etc (when DOCKSAL_DOMAIN is different from the DOCKSAL_HOST)
  • Allow overriding the base directory for all builds on the sandboxes server via REMOTE_BUILD_BASE. Defaults to /home/ubuntu/builds
  • Unified global build variables (derived from respective Bitbucket Pipelines, Circle CI and GitLab CI build variables)
    • GIT_REPO_OWNER
    • GIT_REPO_NAME
    • GIT_REPO_URL
    • GIT_BRANCH_NAME
    • GIT_COMMIT_HASH
    • GIT_PR_NUMBER
    • GIT_REPO_SERVICE (github, bitbucket or gitlab)
  • Updated slack command - make the configuration more customizable (#20)
  • Build and test improvements
    • Added Makefile
    • Added basic bats tests
    • Added Travis CI builds + pushing to Docker Hub with Travis on success
  • Updated docs

Contribution credits:

Thanks!