Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into test/authority-rotati…
Browse files Browse the repository at this point in the history
…on-integration

* origin/main:
  fix: scale encoding skip phantom data (#3967)
  chore: make platform team code owner of CI settings.toml and localnet (#3957)
  fix: prefer finalize_signed_extrinsic in engine (#3956)
  fix: CanonicalAssetPair encoding issue (#3958)
  chore(bouncer): Update sdk to 0.0.40 (#3945)
  fix: tweak cli generate-keys output (#3943)
  chore: add `preinst` script unit tests 🧪 (#3942)
  Better LP/Broker API RPC Errors (#3931)
  fix: update substrate ref to use Kademlia fix (#3941)
  doc: update funding readme with redemption restrictions (#3914)
  feat: PRO-474 broadcast safe mode (#3902)
  feat: more forgiving dot address parsing (#3938)
  fix: duplicate logging (#3939)
  feat: new lp interface (#3886)

# Conflicts:
#	Cargo.lock
#	state-chain/cf-integration-tests/Cargo.toml
#	state-chain/cf-integration-tests/src/authorities.rs
  • Loading branch information
syan095 committed Sep 8, 2023
2 parents 8cf6ccf + 2de26be commit b84c3d7
Show file tree
Hide file tree
Showing 127 changed files with 4,158 additions and 2,644 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/bouncer/ @martin-chainflip
/state-chain/custom-rpc/ @chainflip-io/web
/engine/config/CI/config/Settings.toml @chainflip-io/platform
/localnet/ @chainflip-io/platform
1 change: 1 addition & 0 deletions .github/workflows/_01_pre_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ on:
workflow_call:

env:
FORCE_COLOR: 1
SCCACHE_CACHE_SIZE: 32G
SCCACHE_VERSION: v0.4.1
SCCACHE_REDIS: ${{ secrets.SCCACHE_REDIS }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/_02_retrieve-bins.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
on:
workflow_call:

env:
FORCE_COLOR: 1

jobs:
fetch:
strategy:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/_03_check_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
required: false
default: ${{ github.ref_name }}

env:
FORCE_COLOR: 1

jobs:
check-version:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/_04_merge_commit_summary.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
on:
workflow_call:

env:
FORCE_COLOR: 1

jobs:
build-deb:
runs-on: ubuntu-20.04
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/_100_benchmarks_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ permissions:
contents: read

env:
FORCE_COLOR: 1
CF_GITHUB_RUNNERS_MANAGEMENT_TOKEN: ${{ secrets.CF_GITHUB_RUNNERS_MANAGEMENT_TOKEN }}

jobs:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/_100_run_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ on:
- 4vCPU-8GB
- 4vCPU-16GB

env:
FORCE_COLOR: 1

jobs:
run_benchmarks:
runs-on:
Expand Down Expand Up @@ -65,4 +68,4 @@ jobs:
body: "This pull request was opened automatically. Close it if you think it was opened in error."
branch: auto/benchmark-results
delete-branch: true
token: ${{ secrets.CF_GITHUB_BOT_TOKEN }}
token: ${{ secrets.CF_GITHUB_BOT_TOKEN }}
23 changes: 23 additions & 0 deletions .github/workflows/_10_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
default: true

env:
FORCE_COLOR: 1
RUSTC_WRAPPER: sccache
SCCACHE_CACHE_SIZE: 32G
SCCACHE_VERSION: v0.4.1
Expand Down Expand Up @@ -58,3 +59,25 @@ jobs:
token: ${{ secrets.CF_BACKEND_CODECOV_TOKEN }} # not required for public repos
files: lcov.info
fail_ci_if_error: false

test-preinst-scripts:
runs-on: ubuntu-latest
strategy:
matrix:
tests_path:
- state-chain/node/package/preinst-tests
- engine/package/preinst-tests
steps:
- name: Checkout 🏁
uses: actions/checkout@v3

- name: Install bats 🦇
run: |
sudo apt-get update
sudo apt-get install -y bats
- name: Test 🧪
shell: bash
run: |
bats tests/test_preinst.bats
working-directory: ${{ matrix.tests_path }}
1 change: 1 addition & 0 deletions .github/workflows/_20_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
type: string

env:
FORCE_COLOR: 1
SCCACHE_CACHE_SIZE: 32G
SCCACHE_VERSION: v0.4.1
SCCACHE_REDIS: ${{ secrets.SCCACHE_REDIS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/_24_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ permissions:
contents: read
packages: write

env:
FORCE_COLOR: 1

jobs:
get-date-time:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/_25_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
description: Environment
required: true
type: string

env:
FORCE_COLOR: 1

jobs:
packages:
runs-on: [hetzner]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/_30_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
type: string

env:
FORCE_COLOR: 1
APTLY_VERSION: "1.5.0"
REGISTRY: "ghcr.io"
REPO_REGION: "eu-central-1"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/_40_post_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
required: false
default: 120

env:
FORCE_COLOR: 1

permissions:
packages: read
contents: read
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/_50_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
type: string
required: true

env:
FORCE_COLOR: 1

jobs:
release:
runs-on: ubuntu-${{ matrix.ubuntu_version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_90_helmcharts_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
- name: Linting ${{ matrix.chart }} 📝
run: >
helm lint
charts/${{ matrix.chart }}
charts/${{ matrix.chart }}
2 changes: 1 addition & 1 deletion .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:
with:
version: ci/${{ github.sha }}/
environment: dev
secrets: inherit
secrets: inherit
3 changes: 2 additions & 1 deletion .github/workflows/ci-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
- cron: '0 0 * * *'

env:
FORCE_COLOR: 1
RUSTC_WRAPPER: sccache
SCCACHE_CACHE_SIZE: 32G
SCCACHE_VERSION: v0.4.1
Expand Down Expand Up @@ -42,4 +43,4 @@ jobs:
with:
version: nightly/
environment: dev
secrets: inherit
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/docker-build-rust-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
type: boolean
default: false
env:
FORCE_COLOR: 1
REGISTRY: ghcr.io
IMAGE_NAME: "${{ github.repository }}/rust-base"

Expand Down
Loading

0 comments on commit b84c3d7

Please sign in to comment.