-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR merges all latest changes in `main` to the base branch NOTE: - num pub rand cannot be the default value of 70000, which is too large - parallelise e2e
- Loading branch information
Showing
53 changed files
with
3,060 additions
and
708 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -11,9 +11,52 @@ jobs: | |
secrets: inherit | ||
with: | ||
run-unit-tests: true | ||
run-integration-tests: true | ||
run-lint: true | ||
|
||
e2e_babylon: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.22' | ||
- name: Run e2e Babylon tests | ||
run: make test-e2e-babylon | ||
|
||
e2e_wasmd: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.22' | ||
- name: Run e2e Wasmd tests | ||
run: make test-e2e-wasmd | ||
|
||
e2e_bcd: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.22' | ||
- name: Run e2e BCD tests | ||
run: make test-e2e-bcd | ||
|
||
e2e_op: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.22' | ||
- name: Run e2e OP tests | ||
run: make test-e2e-op | ||
|
||
docker_pipeline: | ||
uses: babylonlabs-io/.github/.github/workflows/[email protected] | ||
secrets: inherit | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,6 @@ on: | |
push: | ||
branches: | ||
- 'main' | ||
- 'dev' | ||
tags: | ||
- '*' | ||
|
||
|
@@ -13,9 +12,52 @@ jobs: | |
uses: babylonlabs-io/.github/.github/workflows/[email protected] | ||
with: | ||
run-unit-tests: true | ||
run-integration-tests: true | ||
run-lint: true | ||
|
||
e2e_babylon: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.22' | ||
- name: Run e2e Babylon tests | ||
run: make test-e2e-babylon | ||
|
||
e2e_wasmd: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.22' | ||
- name: Run e2e Wasmd tests | ||
run: make test-e2e-wasmd | ||
|
||
e2e_bcd: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.22' | ||
- name: Run e2e BCD tests | ||
run: make test-e2e-bcd | ||
|
||
e2e_op: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.22' | ||
- name: Run e2e OP tests | ||
run: make test-e2e-op | ||
|
||
docker_pipeline: | ||
needs: ["lint_test"] | ||
uses: babylonlabs-io/.github/.github/workflows/[email protected] | ||
|
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,5 @@ | ||
# Contributing | ||
|
||
Finality-provider repository follows the same contributing rules as | ||
[Babylon node](https://github.com/babylonlabs-io/babylon/blob/main/CONTRIBUTING.md) | ||
repository. |
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,4 +1,4 @@ | ||
FROM golang:1.21.4-alpine as builder | ||
FROM golang:1.22.7-alpine as builder | ||
Check warning on line 1 in Dockerfile GitHub Actions / docker_pipeline / docker_buildThe 'as' keyword should match the case of the 'from' keyword
|
||
|
||
# Version to build. Default is the Git HEAD. | ||
ARG VERSION="HEAD" | ||
|
@@ -12,15 +12,11 @@ RUN apk add --no-cache --update openssh git make build-base linux-headers libc-d | |
libzmq-static libsodium-static gcc | ||
|
||
|
||
RUN mkdir -p /root/.ssh && ssh-keyscan github.com >> /root/.ssh/known_hosts | ||
RUN git config --global url."[email protected]:".insteadOf "https://github.com/" | ||
ENV GOPRIVATE=github.com/babylonlabs-io/* | ||
|
||
# Build | ||
WORKDIR /go/src/github.com/babylonlabs-io/finality-provider | ||
# Cache dependencies | ||
COPY go.mod go.sum /go/src/github.com/babylonlabs-io/finality-provider/ | ||
RUN --mount=type=secret,id=sshKey,target=/root/.ssh/id_rsa go mod download | ||
RUN go mod download | ||
# Copy the rest of the files | ||
COPY ./ /go/src/github.com/babylonlabs-io/finality-provider/ | ||
|
||
|
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,5 @@ | ||
# Release Process | ||
|
||
Finality-provider repository follows the same release process rules as | ||
[Babylon node](https://github.com/babylonlabs-io/babylon/blob/main/RELEASE_PROCESS.md) | ||
repository. |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.