Skip to content

Releases: docksal/ci-agent

v1.3.0

31 May 21:24
adda6c4
Compare
Choose a tag to compare
  • build-exec command
    • build-exec <command> => ssh docker-host "cd $REMOTE_BUILD_DIR && (<command>)"
  • sandbox-init command - a shortcut command for most users.
    • Power users can use individual commands directly to modify the sandbox build workflow (e.g. adjust project codebase/settings before running fin init)
  • Pass build secrets to sandbox
    • A "secret" is any environment variable that starts with "SECRET_"
  • Updated docs and examples
  • Make sure there are no uppercase letters in domain names (Fixes #25)

v1.2.0

20 Mar 00:25
d827af9
Compare
Choose a tag to compare
  • 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!

v1.1.0

09 Jun 06:10
Compare
Choose a tag to compare
  • Switched to Alpine 3.5
  • Optimized git clone
  • Switch to a non-root user (agent)
  • Added php image variant with composer, drush, drupal console, wp-cli, etc
  • Added Acquia Cloud API configs for Drush
  • Renamed DOCKER_HOST to DOCKSAL_HOST
    • DOCKER_HOST is now used by Bitbucket Pipelines for Docker integration

v1.0.0

19 Jan 20:00
Compare
Choose a tag to compare

First release