HTTPS SSH

Amdatu Etcd

Amdatu Etcd provides a collection of services and utilities on top of and Etcd backend.

[wiki] (https://amdatu.atlassian.net/wiki/display/AMDATUDEV/Amdatu+Etcd)

Continuous build and release

This projects uses bitbucket pipelines for continuous builds and automation of snapshot and release deployment to AWS S3.

Snapshots

The snapshot task creates a local snapshot repository against the configured baseline repository, that should point to the latest formal release repository.

The s3SnapshotDeploy task depends on the snapshot and asciidoctor tasks and subsequently deploys the generated snapshot repository to http://amdatu-repo.s3.amazonaws.com/amdatu-etcd/snapshot/repo/index.xml.gz and docs to http://amdatu-repo.s3.amazonaws.com/amdatu-etcd/snapshot/docs/index.html.

Pipelines is configured to automatically execute s3SnapshotDeploy for every build of the master branch.

Releases

The standard bnd release task creates a local release repository (see cnf/build.bnd).

The s3ReleaseDeploy task depends on the release and asciidoctor tasks and subsequently deploys the generated release repository to http://amdatu-repo.s3.amazonaws.com/amdatu-etcd/<version>/repo/index.xml.gz and docs to http://amdatu-repo.s3.amazonaws.com/amdatu-etcd/<version>/docs/index.html.

Pipelines is configured to execute s3release for every build of a tag name r*.

Configuration

BND repositories are configured in cnf/build.bnd.

Bitbucket Pipelines is configured in bitbucket-pipelines.yml.

Gradle task configuration is in gradle.properties.

AWS credentials must be provided by Setting the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.