Coder Social home page Coder Social logo

edge-ci-test's Introduction

Storj Edge CI

This is the source to build a Docker container suitable for running and testing Storj edge services.

It's designed to be a superset of storj/ci.

It contains:

TODO

  • Bring in integration test scripts from Gateway-ST
  • Install rclone and test command
  • CI: when a change to this repo is made, it should test it against latest Gateway-ST and MT

Building

  • Check out this code somewhere
  • Run git submodule update --init
  • Run make build-image

You now have a Docker image storjlabs/edge-ci:latest available to use.

Running integration tests

minio/mint tests are installed into /mint. To run them: cd /mint && ./entrypoint.sh.

splunk-s3-tests are installed into /s3-tests. To run them: cd /s3-tests && nosetests -a '!skip_for_splunk,!skip_for_storj'.

Gateway-ST

This assumes you have Gateway-ST code checked out somewhere:

cd /path/to/gateway

docker run \
	-v $PWD:/gateway \
	-v $(go env GOMODCACHE):/tmp/go-mod \
	-e GOMODCACHE=/tmp/go-mod \
	-e STORJ_SIM_POSTGRES='postgres://postgres@localhost/integration?sslmode=disable' \
	storjlabs/edge-ci /bin/bash -c 'service postgresql start \
		&& psql -U postgres -c "create database integration" \
		&& /gateway/testsuite/integration/run.sh'

TODO: The test scripts are currently hosted in Gateway-ST, but ultimately should reside in the edge-ci container.

Note: GOMODCACHE volume and environment variable aren't strictly required, but help to speed things up by using your local Go cache instead of downloading modules from scratch.

Gateway-MT

TODO

edge-ci-test's People

Contributors

halkyon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.