Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/v0.10-dev' into merge-0.10-to-0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Jan 4, 2023
2 parents e382768 + 604fbf3 commit fff8e85
Show file tree
Hide file tree
Showing 70 changed files with 1,164 additions and 511 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand All @@ -23,7 +23,7 @@ jobs:
goos: ["linux"]
timeout-minutes: 55
steps:
- uses: actions/setup-go@v3.4.0
- uses: actions/setup-go@v3.5.0
with:
go-version: "1.19"
- uses: actions/checkout@v3
Expand All @@ -50,11 +50,11 @@ jobs:
shell: bash

test_abci_cli:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: build
timeout-minutes: 5
steps:
- uses: actions/setup-go@v3.4.0
- uses: actions/setup-go@v3.5.0
with:
go-version: "1.19"
- uses: actions/checkout@v3
Expand All @@ -75,11 +75,11 @@ jobs:
if: "env.GIT_DIFF != ''"

test_apps:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: build
timeout-minutes: 5
steps:
- uses: actions/setup-go@v3.4.0
- uses: actions/setup-go@v3.5.0
with:
go-version: "1.19"
- uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/check-generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ permissions:

jobs:
check-mocks:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-go@v3.4.0
- uses: actions/setup-go@v3.5.0
with:
go-version: '1.19'

Expand All @@ -40,9 +40,9 @@ jobs:
fi
check-proto:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-go@v3.4.0
- uses: actions/setup-go@v3.5.0
with:
go-version: '1.19'

Expand Down
20 changes: 16 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Docker
# Build & Push rebuilds the Tenderdash docker image every time a release is published
# and pushes the image to https://hub.docker.com/r/dashpay/tenderdash/tags
# Build & Push rebuilds the Tenderdash docker image every time a release is
# published and pushes the image to https://hub.docker.com/r/dashpay/tenderdash
on:
workflow_dispatch:
inputs:
Expand All @@ -15,7 +15,7 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]

Expand All @@ -42,6 +42,17 @@ jobs:
result-encoding: string
script: "return (context.payload.release.tag_name.includes('-dev') ? '-dev' : '');"

- name: Determine TENDERMINT_BUILD_OPTIONS
uses: actions/github-script@v6
id: TENDERMINT_BUILD_OPTIONS
with:
result-encoding: string
script: |
if (github.ref_type == 'tag' && !contains(github.ref_name,'-dev')) {
return 'tenderdash,stable'
}
return 'tenderdash,dev,deadlock'
- name: Set Docker tags and labels
id: docker_meta
uses: docker/metadata-action@v3
Expand Down Expand Up @@ -70,6 +81,7 @@ jobs:
labels: ${{ steps.docker_meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

build-args: |
TENDERMINT_BUILD_OPTIONS="${{ steps.TENDERMINT_BUILD_OPTIONS.outputs.result }}"
- name: Show Docker image digest
run: echo ${{ steps.docker_build.outputs.digest }}
4 changes: 2 additions & 2 deletions .github/workflows/docs-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# whole workflow read-only.
build:
name: VuePress build
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: alpine:latest
permissions:
Expand All @@ -44,7 +44,7 @@ jobs:

deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: build
permissions:
contents: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
fail-fast: false
matrix:
group: ['00', '01', '02', '03', '04']
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- uses: actions/setup-go@v3.4.0
- uses: actions/setup-go@v3.5.0
with:
go-version: '1.19'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
e2e-test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: true
matrix:
Expand All @@ -23,7 +23,7 @@ jobs:
CGO_LDFLAGS: "-L/usr/local/lib -ldashbls -lrelic_s -lgmp -lminialloc"
CGO_CXXFLAGS: "-I/usr/local/include"
steps:
- uses: actions/setup-go@v3.4.0
- uses: actions/setup-go@v3.5.0
with:
go-version: "1.19"
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/janitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
cancel:
name: "Cancel Previous Runs"
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 3
steps:
- uses: styfle/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jepsen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ on:

jobs:
jepsen-test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout the Jepsen repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-go@v3.4.0
- uses: actions/setup-go@v3.5.0
with:
go-version: '^1.19'
- uses: technote-space/get-diff-action@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
build:
name: Super linter
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout Code
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
markdown-link-check:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/proto-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ on:

jobs:
lint:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.10.0
- uses: bufbuild/buf-setup-action@v1.11.0
- uses: bufbuild/buf-lint-action@v1
with:
input: 'proto'
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ on:

jobs:
goreleaser:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-go@v3.4.0
- uses: actions/setup-go@v3.5.0
with:
go-version: '1.19'

- name: Build
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v4
if: ${{ github.event_name == 'pull_request' }}
with:
version: latest
Expand All @@ -26,7 +26,7 @@ jobs:
- run: echo https://github.com/tendermint/tendermint/blob/${GITHUB_REF#refs/tags/}/CHANGELOG.md#${GITHUB_REF#refs/tags/} > ../release_notes.md

- name: Release
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v4
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:

jobs:
stale:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/stale@v6
- uses: actions/stale@v7
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: "This pull request has been automatically marked as stale because it has not had
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ on:
- v0.*-dev
jobs:
tests:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
part: ["00", "01", "02", "03", "04", "05"]
steps:
- uses: actions/setup-go@v3.4.0
- uses: actions/setup-go@v3.5.0
with:
go-version: "1.19"
- uses: actions/checkout@v3
Expand Down
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
## [0.11.0-dev.1] - 2022-12-15

## [0.10.0-dev.7] - 2022-12-20

### Bug Fixes

- Decrease log verbosity by logging send/recv logs on trace level (#533)
- Ensure process proposal was called on commit processing (#534)

### Features

- Seed connectivity tuning options (max-incoming-connection-time,incoming-connection-window) (#532)

### Build

- Improve release script (#522)

## [0.10.0-dev.6] - 2022-12-15

### Bug Fixes

- ProcessProposal executed twice for a block (#516)
- Proposer-based timestamp broken during backport (#523)
- Improve wal replay mechanism (#510)

### Miscellaneous Tasks

- [**breaking**] Rename genesis.json quorum fields (#515)
- [**breaking**] Remove Snapshot.core_chain_locked_height (#527)
- Update changelog and version to 0.10.0-dev.6 (#526)

### Build

- Bump actions/setup-go from 3.3.1 to 3.4.0 (#524)
- Bump bufbuild/buf-setup-action from 1.9.0 to 1.10.0 (#525)

## [0.8.0] - 2022-12-07

### Bug Fixes

- Commits received during state sync are lost (#513)
Expand Down
Loading

0 comments on commit fff8e85

Please sign in to comment.