This is a Go implementation of the Opbeans Demo app.
The simplest way to run this demo is by using the provided docker-compose.yml:
docker compose up- Start Elastic Cloud trial (if you don't have it yet)
- Add environmental variables
ELASTIC_CLOUD_IDandELASTIC_CLOUD_CREDENTIALS(in formatlogin:password) - Run
docker compose -f docker-compose-elastic-cloud.yml upThe simplest way to test this demo is by running:
make testTests are written using bats under the tests dir
Publish the docker image with
VERSION=1.2.3 make publishNOTE: VERSION refers to the tag for the docker image which will be published in the registry