Releases: docksal/ci-agent
Releases · docksal/ci-agent
v1.3.0
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
- 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 runningbuild-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
- Added
rsync
(#8) andpatch
(#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 remotedocker.sock
docker <command>
will run on the sandbox server
- Set
DOCKSAL_DOMAIN
can be used to set the base URL for sandbox builds (defaults toDOCKSAL_HOST
if not set), individually fromDOCKSAL_HOST
- This is useful when working with CDNs/ELBs/WAFs/etc (when
DOCKSAL_DOMAIN
is different from theDOCKSAL_HOST
)
- This is useful when working with CDNs/ELBs/WAFs/etc (when
- 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
orgitlab
)
- 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
- 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
toDOCKSAL_HOST
DOCKER_HOST
is now used by Bitbucket Pipelines for Docker integration