Skip to content

Commit

Permalink
Merge pull request #1182 from tendermint/release/v0.16.0
Browse files Browse the repository at this point in the history
feat: release/v0.16.0
  • Loading branch information
ilgooz authored May 24, 2021
2 parents d5169fa + 1c8553b commit 47b795d
Show file tree
Hide file tree
Showing 1,135 changed files with 30,286 additions and 374,579 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.git
5 changes: 4 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# CODEOWNERS: https://help.github.com/articles/about-codeowners/

# Primary repo maintainers
* @fadeev @ilgooz @ltacker
* @fadeev @ilgooz @lubtd @dshulyak

# Docs
*.md @barriebyron
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/starport-bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Starport bug report
about: Create a report to help us improve
title: ''
labels: report
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1.

**Please provide output of commands**
- `starport version`
- `go version`
- `uname -a`
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/starport-feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Starport feature request
about: Suggest an idea for this project
title: ''
labels: request
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
20 changes: 0 additions & 20 deletions .github/workflows/npm-publish.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ jobs:
with:
go-version: 1.16

- name: Set up Node
uses: actions/setup-node@v2-beta
with:
node-version: 14

- name: Checkout
uses: actions/checkout@v2
with:
Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/release-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Publish Docker Image
on:
release:
types: [published]

push:
branches:
- develop

jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Prepare
id: prep
run: |
DOCKER_IMAGE=starport/cli
VERSION=develop
TAGS="${DOCKER_IMAGE}:${VERSION}"
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/v}
TAGS="${DOCKER_IMAGE}:${VERSION},${DOCKER_IMAGE}:latest"
fi
echo ::set-output name=version::${VERSION}
echo ::set-output name=tags::${TAGS}
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v2
with:
push: true
context: .
tags: ${{ steps.prep.outputs.tags }}
labels: |
org.opencontainers.image.source=${{ github.event.repository.html_url }}
org.opencontainers.image.created=${{ steps.prep.outputs.created }}
org.opencontainers.image.revision=${{ github.sha }}
46 changes: 0 additions & 46 deletions .github/workflows/test-e2e.yml

This file was deleted.

32 changes: 3 additions & 29 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,40 +10,14 @@ on:
jobs:
test:
runs-on: ubuntu-latest
env:
working-directory: go/src/github.com/tendermint/starport

steps:
- name: Set up Go
uses: actions/setup-go@v2
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.16

- name: "Get Go 1.15"
run: |
go get golang.org/dl/go1.15
go1.15 download
- name: Install protoc
uses: arduino/setup-protoc@v1

- name: Checkout
uses: actions/checkout@v2
with:
path: ${{ env.working-directory }}
fetch-depth: 0

- name: Build UI
working-directory: ${{ env.working-directory }}
run: make ui

- name: Install Starport
working-directory: ${{ env.working-directory }}
run: |
go install ./...
run: go install ./...

- name: Run Integration Tests
working-directory: ${{ env.working-directory }}
run: ./scripts/test-integration
env:
GONAME: "go1.15"
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
build/
dist
nodetime-*
scripts/**/nodetime-*
dist/
node_modules
.DS_Store
apps/
.idea
.vscode
docs/.vuepress/dist
build/
9 changes: 2 additions & 7 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
FROM gitpod/workspace-full

RUN wget https://golang.org/dl/go1.16.linux-amd64.tar.gz && \
rm -rf $HOME/go && \
tar -C $HOME -xzf go1.16.linux-amd64.tar.gz && \
rm go1.16.linux-amd64.tar.gz
RUN brew install gh

ENV GONAME go1.15

RUN brew install gh protobuf
RUN npm install -g [email protected]
44 changes: 24 additions & 20 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,47 @@ image:

checkoutLocation: "starport"

workspaceLocation: "./starport/docs"
workspaceLocation: "./starport/.gitpod"

tasks:
- name: Install Starport
before: |
go get golang.org/dl/go1.15
go1.15 download
- name: Setup

init: |
# Install Starport
export BIN_PATH=$GOPATH/bin
export VUE_APP_CUSTOM_URL=$(gp url)
export CHISEL_ADDR=$(gp url 7575)
mkdir -p $BIN_PATH
(cd /workspace/starport && ./scripts/install)
##
## install Starport
go install /workspace/starport/...
command: |
##
# configure env vars.
echo "
export VUE_APP_CUSTOM_URL=$(gp url)
export CHISEL_ADDR=$(gp url 7575)
export RPC_ADDRESS=$(gp url 26657):443
export API_ADDRESS=$(gp url 1317)
cd ./docs
clear && printf '\e[3J'
echo -e "
" >> ~/.bashrc && source ~/.bashrc
Welcome to Starport! 💫 The friendly CLI that makes building blockchains easy.
echo "
export VUE_APP_API_COSMOS=${API_ADDRESS}
export VUE_APP_API_TENDERMINT=${RPC_ADDRESS}
export VUE_APP_WS_TENDERMINT=${RPC_ADDRESS/https/wss}/websocket
" >> ~/.bashrc && source ~/.bashrc
In the sidebar you can see a list of guides that will help you get started.
##
# cd into the .gitpod dir.
cd .gitpod
##
# print a welcome message.
clear && printf '\e[3J'
echo -e "
This terminal has the \033[1mstarport\033[0m binary already installed and ready to go.
"
ports:
- port: 1317
- port: 26657
- port: 8080
- port: 7575
- port: 4500
- port: 7575
- port: 4500
49 changes: 49 additions & 0 deletions .gitpod/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Welcome to Starport ✨

Starport is an easy-to-use CLI tool for creating sovereign blockchains. Blockchains created with Starport use Cosmos SDK, the world's most widely used blockchain application framework.

In this browser-based development environment, the terminal window is in the lower part of the window. The `starport` binary is pre-installed and ready to use on the command line.

## Quick start

To create a blockchain and start a node in development:

```
starport app github.com/user/hello
cd hello
starport serve
```

## Next steps

📺 **[Introduction to Starport](https://www.youtube.com/watch?v=5RqAIE0b8Kw)**: Watch an introductory video to learn about Starport.

🧑‍🏫 **[Tutorials](https://tutorials.cosmos.network)**: Learn by building a simple IBC-enabled module, nameservice, or a decentralized exchange (DEX).

📕 **[Starport Documentation](https://docs.starport.network)**: Explore the features of Starport.

📚 [Cosmos SDK Documentation](https://docs.cosmos.network): Learn about the framework for building application-specific blockchains.

⭐️ [Starport on Github](https://github.com/tendermint/starport): Submit an issue or contribute to the source code.

## Starport features

* Scaffold modules, messages, types with CRUD operations, IBC packets, and more
* Start a blockchain node in development with live reloading
* Connect to other blockchains with a built-in IBC relayer
* Use automatically generated TypeScript/Vuex clients to interact with your blockchain
* Use the Vue.js web app template with a set of components and Vuex modules

## Install Starport locally

```
curl https://get.starport.network/starport! | bash
```

The latest `starport` binary is downloaded from the Github repo and installed in `/usr/local/bin`. Learn more about [installing Starport](https://docs.starport.network/intro/install).

## Stay in touch

Starport is a free and open source product maintained by [Tendermint](https://tendermint.com). Follow us on [Twitter](https://twitter.com/tendermint_team) and [Medium](https://medium.com/tendermint) to get the latest updates!
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ linters:
- gofmt
- goimports
- golint
# - gosec
# - gosec
- gosimple
- govet
- ineffassign
Expand All @@ -36,7 +36,7 @@ linters:
- unparam
- misspell
# - wsl
- nolintlint
# - nolintlint

issues:
max-issues-per-linter: 0
Expand Down
Loading

0 comments on commit 47b795d

Please sign in to comment.