-
Notifications
You must be signed in to change notification settings - Fork 557
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #721 from tendermint/release/v0.14.0
Release/v0.14.0
- Loading branch information
Showing
211 changed files
with
5,735 additions
and
4,056 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# This workflow makes a 64 bit Raspberry Pi Arch Linux Image. | ||
# It does not have the security issues mentioned here: https://github.com/tendermint/tendermint/blob/master/docs/tendermint-core/running-in-production.md#validator-signing-on-32-bit-architectures-or-arm | ||
# Later, more devices will be supported, as well. | ||
# The "base" is built by: https://github.com/faddat/sos | ||
# The base image is located at: https://hub.docker.com/r/faddat/spos | ||
|
||
name: Docker | ||
on: | ||
push: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
docker: | ||
name: Starport Docker Image | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up QEMU | ||
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes | ||
|
||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v1 | ||
with: | ||
version: latest | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Build and push | ||
run: docker buildx build --tag ${{ secrets.DOCKERHUB_USERNAME }}/starport --platform linux/arm64,linux/amd64 --cache-from ${{ secrets.DOCKERHUB_USERNAME }}/starport:cache --cache-to ${{ secrets.DOCKERHUB_USERNAME }}/starport:cache --push --progress tty . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Builds the starrport DDocker image as a test, but does not push it. | ||
|
||
name: Docker | ||
on: | ||
push: | ||
branches: | ||
- '*' | ||
- '!master' | ||
pull_request: | ||
|
||
jobs: | ||
docker: | ||
name: Starport Docker Image | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up QEMU | ||
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes | ||
|
||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v1 | ||
with: | ||
version: latest | ||
|
||
- name: Build | ||
run: docker buildx build --tag ${{ secrets.DOCKERHUB_USERNAME }}/starport --platform linux/arm64,linux/amd64 --progress tty . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: PKGBUILD CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
pkgbuild: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Makepkg Build and Check | ||
id: makepkg | ||
uses: edlanglois/pkgbuild-action@v1 | ||
with: | ||
pkgdir: scripts | ||
- name: Upload Package Archive | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
path: scripts/*.zst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ node_modules | |
.DS_Store | ||
apps/ | ||
.idea | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM gitpod/workspace-full | ||
|
||
RUN brew install gh protobuf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Build inside lopsided/archlinux for multiplatform support | ||
# It's an arch linux image with support for both ARM64 and AMD64 | ||
FROM lopsided/archlinux | ||
|
||
|
||
# GOPATH AND GOBIN ON PATH | ||
ENV GOPATH=/go | ||
ENV PATH=$PATH:/go/bin | ||
|
||
# INSTALL DEPENDENCIES | ||
RUN pacman -Syyu --noconfirm go npm make git which && \ | ||
mkdir /go | ||
|
||
# COPY STARPORT SOURCE CODE INTO CONTAINER | ||
COPY . /starport | ||
WORKDIR /starport | ||
|
||
# INSTALL STARPORT | ||
RUN PATH=$PATH:/go/bin && \ | ||
bash scripts/install | ||
|
||
# CMD | ||
CMD ["/go/bin/starport"] | ||
|
||
# WE NEED BOTH NODE AND GO, DISTROLESS IS NOT THE WAY HERE. REVISIT LATER. | ||
# Copy into a distroless image so that ONLY the starport binary remains | ||
# FROM gcr.io/distroless/base | ||
# COPY --from=builder /starport/build/starport / | ||
|
||
# EXPOSE 12345 | ||
# EXPOSE 8080 | ||
# EXPOSE 1317 | ||
# EXPOSE 26656 | ||
# EXPOSE 26657 | ||
|
||
# CMD ["/starport"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
# Quickstart | ||
|
||
With `starport` installed on your machine, you can now build your very first blockchain application! | ||
With `starport` installed on your machine, you can now build your very first blockchain! | ||
|
||
```bash | ||
``` | ||
starport app github.com/username/myapp && cd myapp | ||
``` | ||
|
||
Serve the blockchain application | ||
This command will create a directory `myapp` and scaffold a Cosmos SDK blockchain. | ||
|
||
```bash | ||
``` | ||
starport serve | ||
``` | ||
|
||
Add a new transaction type to your application | ||
`serve` will install dependencies, build, initialise and run your blokchain. | ||
|
||
```bash | ||
``` | ||
starport type post title body | ||
``` | ||
|
||
`type` scaffolds functionality to create, read, update and delete for a custom type. |
Oops, something went wrong.