@kosu/dev-images
Development and CI docker images and supporting scripts for Kosu.
Last updated a year ago by henryharder .
CC0-1.0 · Repository · Original npm · Tarball · package.json
$ cnpm install @kosu/dev-images 
SYNC missed versions from official npm registry.

@kosu/dev-images

Development and CI docker images and supporting scripts for the Kosu project.

All images defined in this repository are publicly available, and hosted by Google Container Registry. Images can be pulled with:

$ docker pull gcr.io/kosu-io/$IMAGE_NAME

CI Images

Docker images used for Kosu's continuous-integration suite are defined in the ./ci folder. We use DroneCI and the ci images are used to run tests for various Kosu packages.

The current CI images defined in dev-images are listed below.

  • gcr.io/kosu-io/go-kosu-ci: Custom golang image used to run go-kosu CI tests.
  • gcr.io/kosu-io/node-ci: Custom nodejs (Debian-based) image used for the Kosu contract system CI suite and JS libraries.

Ganache image

A pre-built image with the Kosu Contract system deployed can be started with the following command.

$ docker run -d --rm -p 8545:8545 gcr.io/kosu-io/kosu-ganache

The kosu-ganache image's full label is listed below. It can optionally be tagged with a specific version.

  • gcr.io/kosu-io/kosu-ganache

Scripts

Migrate and update public ganache-db archive

$ yarn build:ganache_db

Migrates the Kosu contract system (@kosu/system-contracts) to a ganache instance and uploads the database files to a GCP bucket.

Requires authentication via gcloud. The migrate-docker-ganache.sh script may be modified to not remove the locally ganache-db-vX.X.X.zip files.

The output database archive can be found at:

https://storage.googleapis.com/kosu-system-contracts-ganache-db/ganache-db-vX.X.X.zip

Where X.X.X is replaced with the desired @kosu/dev-images version (in the future may be associated with the contract system version).

Build and publish kosu-ganache docker image

yarn build:ganache_docker

Pulls and unzips the ganache DB archive (from above) and builds a Docker image that starts a ganache RPC server as the entry command. Can be used to test applications depending on Kosu locally.

The current script requires authentication via gcloud and updates the latest image for the gcr.io/kosu-io/kosu-ganache repository.

Current Tags

  • 0.0.4                                ...           latest (a year ago)

2 Versions

  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |