Cleanup readme, circleci

This commit is contained in:
Ethan Frey
2019-11-20 11:46:36 +01:00
parent b2086bb6b4
commit 01c371c855
2 changed files with 34 additions and 169 deletions

View File

@@ -93,41 +93,6 @@ jobs:
paths:
- "."
test-sim-nondeterminism:
executor: golang
steps:
- make:
target: test-sim-nondeterminism
description: "Test Gaia non-determinism simulations"
test-sim-import-export:
executor: golang
steps:
- make:
target: test-sim-import-export
description: "Test Gaia import/export simulation"
test-sim-after-import:
executor: golang
steps:
- make:
target: test-sim-after-import
description: "Test Gaia simulation after importing state"
test-sim-multi-seed-short:
executor: golang
steps:
- make:
target: test-sim-multi-seed-short
description: "Test Gaia multi-seed simulation (short-lived)"
test-sim-multi-seed-long:
executor: golang
steps:
- make:
target: test-sim-multi-seed-long
description: "Test Gaia multi-seed simulation (long-lived)"
integration-tests:
executor: golang
steps:
@@ -221,58 +186,7 @@ jobs:
make clean localnet-start
./contrib/localnet-blocks-test.sh 40 5 10 localhost
deploy-docs:
executor: docs
steps:
- checkout
- run:
name: Trigger website build
command: |
curl --silent \
--show-error \
-X POST \
--header "Content-Type: application/json" \
-d "{\"branch\": \"$CIRCLE_BRANCH\"}" \
"https://circleci.com/api/v1.1/project/github/$CIRCLE_PROJECT_USERNAME/$WEBSITE_REPO_NAME/build?circle-token=$TENDERBOT_API_TOKEN" > response.json
RESULT=`jq -r '.status' response.json`
MESSAGE=`jq -r '.message' response.json`
if [[ ${RESULT} == "null" ]] || [[ ${RESULT} -ne "200" ]]; then
echo "CircleCI API call failed: $MESSAGE"
exit 1
else
echo "Website build started"
fi
macos-ci:
executor: mac
steps:
- mac_set_env
- run:
name: Install go
command: |
source $BASH_ENV
curl -L -O https://dl.google.com/go/go$GO_VERSION.darwin-amd64.tar.gz
tar -C $HOME -xzf go$GO_VERSION.darwin-amd64.tar.gz
rm go$GO_VERSION.darwin-amd64.tar.gz
go version
- checkout
- run:
name: Install SDK
command: |
source $BASH_ENV
make tools
make install
- run:
name: Integration tests
command: source $BASH_ENV
make test-build
- run:
name: Test full gaia simulation
command: |
source $BASH_ENV
make test-sim-gaia-fast
docker-image:
executor: golang
@@ -292,9 +206,9 @@ jobs:
if [ -z "${GAIAD_VERSION}" ]; then
docker build .
else
docker build -t tendermint/gaia:$GAIAD_VERSION .
docker build -t cosmwasm/wasmd:$GAIAD_VERSION .
docker login --password-stdin -u $DOCKER_USER \<<<$DOCKER_PASS
docker push tendermint/gaia:$GAIAD_VERSION
docker push cosmwasm/wasmd:$GAIAD_VERSION
fi
docker-tagged:
@@ -360,31 +274,19 @@ workflows:
version: 2
test-suite:
jobs:
- docker-image:
requires:
- setup-dependencies
- docker-tagged:
filters:
tags:
only:
- /^v.*/
branches:
ignore:
- /.*/
requires:
- setup-dependencies
- macos-ci:
filters:
branches:
only:
- master
- develop
- deploy-docs:
filters:
branches:
only:
- master
- develop
# - docker-image:
# requires:
# - setup-dependencies
# - docker-tagged:
# filters:
# tags:
# only:
# - /^v.*/
# branches:
# ignore:
# - /.*/
# requires:
# - setup-dependencies
- setup-dependencies:
# filters here are needed to enable this job also for tags
filters:
@@ -394,42 +296,19 @@ workflows:
- integration-tests:
requires:
- setup-dependencies
- test-sim-nondeterminism:
requires:
- setup-dependencies
- test-sim-import-export:
requires:
- setup-dependencies
- test-sim-after-import:
requires:
- setup-dependencies
- test-sim-multi-seed-short:
requires:
- setup-dependencies
- test-sim-multi-seed-long:
requires:
- setup-dependencies
# These filters ensure that the long sim only runs during release
filters:
branches:
ignore: /.*/
tags:
only:
- /^v.*/
- test-cover:
requires:
- setup-dependencies
- localnet
- upload-coverage:
requires:
- test-cover
- reproducible-builds:
filters:
branches:
only:
- master
requires:
- setup-dependencies
# - reproducible-builds:
# filters:
# branches:
# only:
# - master
# requires:
# - setup-dependencies
# - contract_tests:
# requires:
# - setup-dependencies

View File

@@ -1,41 +1,27 @@
# Cosmos Hub
![banner](./docs/cosmos-hub-image.jpg)
# Wasm Zone
[![CircleCI](https://circleci.com/gh/cosmos/gaia/tree/master.svg?style=shield)](https://circleci.com/gh/cosmos/gaia/tree/master)
[![codecov](https://codecov.io/gh/cosmos/gaia/branch/master/graph/badge.svg)](https://codecov.io/gh/cosmos/gaia)
[![CircleCI](https://circleci.com/gh/cosmwasm/wasmd/tree/master.svg?style=shield)](https://circleci.com/gh/cosmwasm/wasmd/tree/master)
[![codecov](https://codecov.io/gh/cosmwasm/wasmd/branch/master/graph/badge.svg)](https://codecov.io/gh/cosmwasm/wasmd)
[![Go Report Card](https://goreportcard.com/badge/github.com/cosmwasm/wasmd)](https://goreportcard.com/report/github.com/cosmwasm/wasmd)
[![license](https://img.shields.io/github/license/cosmos/gaia.svg)](https://github.com/cosmwasm/wasmd/blob/master/LICENSE)
[![LoC](https://tokei.rs/b1/github/cosmos/gaia)](https://github.com/cosmwasm/wasmd)
[![GolangCI](https://golangci.com/badges/github.com/cosmwasm/wasmd.svg)](https://golangci.com/r/github.com/cosmwasm/wasmd)
[![riot.im](https://img.shields.io/badge/riot.im-JOIN%20CHAT-green.svg)](https://riot.im/app/#/room/#cosmos-sdk:matrix.org)
[![license](https://img.shields.io/github/license/cosmwasm/wasmd.svg)](https://github.com/cosmwasm/wasmd/blob/master/LICENSE)
[![LoC](https://tokei.rs/b1/github/cosmwasm/wasmd)](https://github.com/cosmwasm/wasmd)
<!-- [![GolangCI](https://golangci.com/badges/github.com/cosmwasm/wasmd.svg)](https://golangci.com/r/github.com/cosmwasm/wasmd) -->
This repository hosts `Gaia`, the first implementation of the Cosmos Hub.
This repository hosts `Wasmd`, the first implementation of a cosmos zone with wasm smart contracts enabled.
This code was forked from the `cosmos/gaia` repository and the majority of the codebase is the same as `gaia`.
**Note**: Requires [Go 1.13+](https://golang.org/dl/)
**DISCLAIMER**: The current version of Gaia running the Cosmos Hub (v0.34.x) is
__NOT__ maintained in this repository. Gaia and the [Cosmos SDK](https://github.com/cosmos/cosmos-sdk/)
have been recently split. All future versions of Gaia, including the next major
upgrade, will be maintained in this repository. However, until the next major upgrade,
Gaia should be fetched and built from the latest [released](https://github.com/cosmos/cosmos-sdk/releases)
__v0.34.x__ version in the SDK repository. In addition, this repository should be
considered unstable until the next major release of Gaia. Please bear with us
while we continue the migration process and update documentation.
## Cosmos Hub Mainnet
To run a full-node for the mainnet of the Cosmos Hub, first [install `gaia`](./docs/installation.md), then follow [the guide](./docs/join-mainnet.md).
For status updates and genesis file, see the [launch repo](https://github.com/cosmos/launch).
## Quick Start
```
make install
make test
```
## Disambiguation
This Cosmos-SDK project is not related to the [React-Cosmos](https://github.com/react-cosmos/react-cosmos) project (yet). Many thanks to Evan Coury and Ovidiu (@skidding) for this Github organization name. As per our agreement, this disambiguation notice will stay here.
To set up a single node testnet, [look at the deployment documentation](./docs/deploy-testnet.md).
If you want to deploy a whole cluster, [look at the network scripts](./networks/README.md).