Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): Bump prismjs from 1.23.0 to 1.25.0 in /docs #334

Closed
wants to merge 38 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
28bebe3
docs/tutorials: fix sample code #6186
mergify[bot] Mar 1, 2021
52b1d90
rpc/jsonrpc: Unmarshal RPCRequest correctly (bp #6191) (#6193)
mergify[bot] Mar 2, 2021
a047a4a
logs: cleanup (#6198)
mergify[bot] Mar 4, 2021
1b5697a
mempool/rpc: log grooming (bp #6201) (#6203)
mergify[bot] Mar 4, 2021
b9cdd0e
indexer: remove info log (#6194)
mergify[bot] Mar 4, 2021
277ad4a
Merge pull request #195 from line/v0.34.x
Mar 5, 2021
dddf7ea
feat: more prometheus metrics for monitoring performance (#146) (#175)
Mar 4, 2021
0bd87be
chore: config timeout and connection pool (#150) (#171)
wetcod Feb 3, 2021
ef06e93
Merge pull request #198 from line/egon/merge_linemint
Mar 9, 2021
2a1f43c
chore: modify module path (#199)
Mar 15, 2021
5fea666
chore: adopt `line/tm-db/v2` and `line/iavl/v2` (#200)
jinsan-line Mar 16, 2021
c7c246b
chore: bump up tm-db and iavl (#201)
jinsan-line Mar 25, 2021
2b5e16c
chore: rename binary file to ostracon (#206)
Apr 2, 2021
4bc528a
build: fixing building in docker container (#208)
Apr 5, 2021
4183d64
chore: use default db backend among the available ones (#212)
Apr 6, 2021
afe46e5
feat: concurrent checkTx (#213)
Apr 9, 2021
e772f8b
chore: remove abci socket implementation (#214)
jinsan-line Apr 15, 2021
636b019
test: grpc_client_test and fix grpc_client StopForError() hang bug (#…
jinsan-line Apr 16, 2021
89413eb
chore: remove abci flush() (#216)
jinsan-line Apr 16, 2021
f79764f
chore: remove mempool.postCheck (#158) (#217)
jinsan-line Apr 16, 2021
4de81da
chore: bump up tm-db (#218)
jinsan-line Apr 16, 2021
5254cab
fix: revise to call Begin/EndRecheck even though mem.Size() is 0 (#219)
jinsan-line Apr 19, 2021
25d9ece
feat: concurrent recheckTx (#163) (#221)
jinsan-line Apr 27, 2021
b9f0112
chore: increase the value of maxPerPage (#223)
wetcod Apr 27, 2021
0cd77f8
chore: fix the type of consensus_block_interval_seconds from histogra…
wetcod Apr 27, 2021
4750c7b
feat: impl checkTxAsyncReactor() (#168) (#225)
jinsan-line Apr 28, 2021
e5495ce
chore: revise abci.Client, Async() interfaces (#169) (#226)
jinsan-line Apr 29, 2021
ef4fe0a
chore: remove iavl dependency (#228)
Apr 29, 2021
fcf6e59
feat: add metric for measuring performance (#229)
May 6, 2021
6c7ab05
build: remove needless build tag `!libsecp256k1` (#246)
May 12, 2021
2e4c6dd
feat: add duration metrics of gauge type (#256)
May 17, 2021
b6eb70f
feat: async reactor receiving (#261)
brew0722 May 27, 2021
2b37f36
added extra timing info regarding block generation
iproudhon May 14, 2021
78d994c
reformat to keep lint happy
iproudhon Jun 4, 2021
83b433c
Merge pull request #265 from line/iproudhon/ebony
iproudhon Jun 4, 2021
19aab99
perf: optimize checking the txs size (#264)
wetcod Jun 4, 2021
a52812a
perf: do not flush wal when receive consensus msgs (#273)
wetcod Jun 10, 2021
9eea703
build(deps): Bump prismjs from 1.23.0 to 1.25.0 in /docs
dependabot[bot] Oct 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: rename binary file to ostracon (#206)
* chore: set default db backend

* chore: fix ci error

* chore: fix ci error

* chore: rename execution file

* chore: fix github action

* chore: apply comment
  • Loading branch information
Woosang Son authored Apr 2, 2021
commit 2b5e16c86a317881c3346b0edd24bb332d1535a2
22 changes: 19 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
split-test-files:
runs-on: ubuntu-latest
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- name: Create a file with all the pkgs
run: go list ./... > pkgs.txt
Expand Down Expand Up @@ -42,10 +46,14 @@ jobs:
goarch: ["arm", "amd64"]
timeout-minutes: 5
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.15.4"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
Expand All @@ -64,10 +72,14 @@ jobs:
matrix:
part: ["00", "01", "02", "03"]
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.15.4"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
Expand All @@ -80,7 +92,7 @@ jobs:
if: env.GIT_DIFF
- name: test & coverage report creation
run: |
cat pkgs.txt.part.${{ matrix.part }} | xargs go test -mod=readonly -timeout 8m -race -coverprofile=${{ matrix.part }}profile.out -covermode=atomic
cat pkgs.txt.part.${{ matrix.part }} | xargs go test -mod=readonly -timeout 8m -race -tags 'memdb goleveldb' -coverprofile=${{ matrix.part }}profile.out -covermode=atomic
if: env.GIT_DIFF
- uses: actions/upload-artifact@v2
with:
Expand All @@ -91,6 +103,10 @@ jobs:
runs-on: ubuntu-latest
needs: tests
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
Expand Down
97 changes: 49 additions & 48 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build & Push
# Build & Push rebuilds the tendermint docker image on every push to master and creation of tags
# and pushes the image to https://hub.docker.com/r/interchainio/simapp/tags
# Build & Push rebuilds the ostracon docker image on every push to master and creation of tags
# and pushes the image to https://http://docker-registry.linecorp.com/link-network/v2/lbm
on:
pull_request:
push:
Expand All @@ -11,49 +11,50 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+-rc*" # Push events to matching v*, i.e. v1.0-rc1, v20.15.10-rc5

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Prepare
id: prep
run: |
DOCKER_IMAGE=tendermint/tendermint
VERSION=noop
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/}
elif [[ $GITHUB_REF == refs/heads/* ]]; then
VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g')
if [ "${{ github.event.repository.default_branch }}" = "$VERSION" ]; then
VERSION=latest
fi
fi
TAGS="${DOCKER_IMAGE}:${VERSION}"
if [[ $VERSION =~ ^v[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
TAGS="$TAGS,${DOCKER_IMAGE}:${VERSION}"
fi
echo ::set-output name=tags::${TAGS}

- name: Set up QEMU
uses: docker/setup-qemu-action@master
with:
platforms: all

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to DockerHub
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Publish to Docker Hub
uses: docker/build-push-action@v2
with:
context: .
file: ./DOCKER/Dockerfile
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.prep.outputs.tags }}
# TODO ebony: enable docker build
# build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@master
# - name: Prepare
# id: prep
# run: |
# DOCKER_IMAGE=ostracon/ostracon
# VERSION=noop
# if [[ $GITHUB_REF == refs/tags/* ]]; then
# VERSION=${GITHUB_REF#refs/tags/}
# elif [[ $GITHUB_REF == refs/heads/* ]]; then
# VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g')
# if [ "${{ github.event.repository.default_branch }}" = "$VERSION" ]; then
# VERSION=latest
# fi
# fi
# TAGS="${DOCKER_IMAGE}:${VERSION}"
# if [[ $VERSION =~ ^v[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
# TAGS="$TAGS,${DOCKER_IMAGE}:${VERSION}"
# fi
# echo ::set-output name=tags::${TAGS}
#
# - name: Set up QEMU
# uses: docker/setup-qemu-action@master
# with:
# platforms: all
#
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v1
#
# - name: Login to DockerHub
# if: ${{ github.event_name != 'pull_request' }}
# uses: docker/login-action@v1
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
#
# - name: Publish to Docker Hub
# uses: docker/build-push-action@v2
# with:
# context: .
# file: ./DOCKER/Dockerfile
# platforms: linux/amd64,linux/arm64
# push: ${{ github.event_name != 'pull_request' }}
# tags: ${{ steps.prep.outputs.tags }}
11 changes: 7 additions & 4 deletions .github/workflows/e2e-nightly-34x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.15.4'
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"

- uses: actions/checkout@v2

- uses: actions/setup-go@v2
with:
ref: 'v0.34.x'
go-version: '^1.15.4'

- name: Build
working-directory: test/e2e
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/e2e-nightly-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,17 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"

- uses: actions/checkout@v2

- uses: actions/setup-go@v2
with:
go-version: '1.15'

- uses: actions/checkout@v2

- name: Build
working-directory: test/e2e
# Run make jobs in parallel, since we can't run steps in parallel.
Expand Down
65 changes: 35 additions & 30 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,38 @@ on:
- release/**

jobs:
e2e-test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.15.4'
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
**/**.go
go.mod
go.sum

- name: Build
working-directory: test/e2e
# Run two make jobs in parallel, since we can't run steps in parallel.
run: make -j2 docker runner
if: "env.GIT_DIFF != ''"

- name: Run CI testnet
working-directory: test/e2e
run: ./build/runner -f networks/ci.toml
if: "env.GIT_DIFF != ''"

- name: Emit logs on failure
if: ${{ failure() }}
working-directory: test/e2e
run: ./build/runner -f networks/ci.toml logs
# TODO ebony: This is not possible, missing ci.toml from original tendermint
# e2e-test:
# runs-on: ubuntu-latest
# timeout-minutes: 15
# steps:
# - name: Configure git for private modules
# env:
# TOKEN: ${{ secrets.TOKEN }}
# run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
# - uses: actions/checkout@v2
# - uses: actions/setup-go@v2
# with:
# go-version: '^1.15.4'
# - uses: technote-space/get-diff-action@v4
# with:
# PATTERNS: |
# **/**.go
# go.mod
# go.sum
#
# - name: Build
# working-directory: test/e2e
# # Run two make jobs in parallel, since we can't run steps in parallel.
# run: make -j2 docker runner
# if: "env.GIT_DIFF != ''"
#
# - name: Run CI testnet
# working-directory: test/e2e
# run: ./build/runner -f networks/ci.toml
# if: "env.GIT_DIFF != ''"
#
# - name: Emit logs on failure
# if: ${{ failure() }}
# working-directory: test/e2e
# run: ./build/runner -f networks/ci.toml logs
4 changes: 4 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 4
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
name: Super linter
runs-on: ubuntu-latest
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- name: Checkout Code
uses: actions/checkout@v2
- name: Lint Code Base
Expand All @@ -25,7 +29,7 @@ jobs:
LINTER_RULES_PATH: .
VALIDATE_ALL_CODEBASE: true
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TOKEN: ${{ secrets.TOKEN }}
VALIDATE_MD: true
MARKDOWN_CONFIG_FILE: .markdownlint.yml
VALIDATE_OPAENAPI: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
version: latest
args: release --rm-dist --release-notes=../release_notes.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TOKEN: ${{ secrets.TOKEN }}
26 changes: 21 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,22 @@ jobs:
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_TOKEN: "${{ secrets.TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'"

build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.15.4"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
Expand Down Expand Up @@ -55,10 +59,14 @@ jobs:
needs: build
timeout-minutes: 5
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.15.4"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
Expand Down Expand Up @@ -87,10 +95,14 @@ jobs:
needs: build
timeout-minutes: 5
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.15.4"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
Expand Down Expand Up @@ -118,10 +130,14 @@ jobs:
needs: build
timeout-minutes: 5
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.15.4"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:

builds:
- id: "Tendermint"
main: ./cmd/tendermint/main.go
main: ./cmd/ostracon/main.go
ldflags:
- -s -w -X github.com/line/ostracon/version.TMCoreSemVer={{ .Version }}
env:
Expand Down
Loading