Skip to content

Commit

Permalink
Merge pull request #935 from UniqueNetwork/release-v941056
Browse files Browse the repository at this point in the history
Release v941056
  • Loading branch information
kozyrevdev authored May 30, 2023
2 parents 6221fea + 6bf78d1 commit 0a1a3b4
Show file tree
Hide file tree
Showing 91 changed files with 3,194 additions and 1,232 deletions.
1 change: 0 additions & 1 deletion .docker/Dockerfile-parachain-upgrade-data.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
ARG POLKADOT_BUILD_BRANCH
FROM uniquenetwork/builder-polkadot:{{ POLKADOT_BUILD_BRANCH }} as polkadot

# ===== Rust builder =====
Expand Down
1 change: 0 additions & 1 deletion .docker/Dockerfile-parachain-upgrade.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
ARG POLKADOT_BUILD_BRANCH
FROM uniquenetwork/builder-polkadot:{{ POLKADOT_BUILD_BRANCH }} as polkadot

# ===== Rust builder =====
Expand Down
2 changes: 1 addition & 1 deletion .docker/Dockerfile-xcm.j2
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ COPY --from=builder-unique /unique_parachain/unique-chain/target/release/unique-
COPY --from=uniquenetwork/builder-polkadot:{{ POLKADOT_BUILD_BRANCH }} /unique_parachain/polkadot/target/release/polkadot /polkadot/target/release/
COPY --from=uniquenetwork/builder-moonbeam:{{ MOONBEAM_BUILD_BRANCH }} /unique_parachain/moonbeam/target/release/moonbeam /moonbeam/target/release/
COPY --from=uniquenetwork/builder-cumulus:{{ CUMULUS_BUILD_BRANCH }} /unique_parachain/cumulus/target/release/polkadot-parachain /cumulus/target/release/cumulus
COPY --from=uniquenetwork/builder-acala:{{ ACALA_BUILD_BRANCH }} /unique_parachain/Acala/target/production/acala /acala/target/release/
COPY --from=uniquenetwork/builder-acala:{{ ACALA_BUILD_BRANCH }} /unique_parachain/acala/target/production/acala /acala/target/release/
COPY --from=uniquenetwork/builder-astar:{{ ASTAR_BUILD_BRANCH }} /unique_parachain/astar/target/release/astar /astar/target/release/
COPY --from=uniquenetwork/builder-chainql:{{ CHAINQL }} /chainql/target/release/chainql /chainql/target/release/

Expand Down
27 changes: 13 additions & 14 deletions .env
Original file line number Diff line number Diff line change
@@ -1,30 +1,29 @@
RUST_TOOLCHAIN=nightly-2022-11-15
POLKADOT_BUILD_BRANCH=release-v0.9.37
POLKADOT_LAUNCH_BRANCH=unique-network
RELAY_CHAIN_TYPE=westend
CHAINQL=v0.3.1

POLKADOT_MAINNET_BRANCH=release-v0.9.37
STATEMINT_BUILD_BRANCH=release-parachains-v9370
ACALA_BUILD_BRANCH=2.12.0
MOONBEAM_BUILD_BRANCH=runtime-2201
ASTAR_BUILD_BRANCH=v5.3.0
UNIQUE_MAINNET_BRANCH=release-v937053
ACALA_BUILD_BRANCH=2.17.0
MOONBEAM_BUILD_BRANCH=runtime-2302
ASTAR_BUILD_BRANCH=v5.4.0
UNIQUE_MAINNET_BRANCH=release-v941055
UNIQUE_REPLICA_FROM=wss://ws.unique.network:443

KUSAMA_MAINNET_BRANCH=release-v0.9.38
STATEMINE_BUILD_BRANCH=release-parachains-v9382
KARURA_BUILD_BRANCH=release-karura-2.15.0
MOONRIVER_BUILD_BRANCH=runtime-2201
SHIDEN_BUILD_BRANCH=v4.49.0
QUARTZ_MAINNET_BRANCH=release-v937053
KARURA_BUILD_BRANCH=release-karura-2.17.0
MOONRIVER_BUILD_BRANCH=runtime-2302
SHIDEN_BUILD_BRANCH=v5.4.0
QUARTZ_MAINNET_BRANCH=release-v941055
QUARTZ_REPLICA_FROM=wss://ws-quartz.unique.network:443

UNIQUEWEST_MAINNET_BRANCH=release-v0.9.40
WESTMINT_BUILD_BRANCH=parachains-v9400
OPAL_MAINNET_BRANCH=release-v937053
UNIQUEWEST_MAINNET_BRANCH=release-v0.9.42
WESTMINT_BUILD_BRANCH=parachains-v9420
OPAL_MAINNET_BRANCH=release-v941055
OPAL_REPLICA_FROM=wss://ws-opal.unique.network:443

UNIQUEEAST_MAINNET_BRANCH=release-v0.9.32
SAPPHIRE_MAINNET_BRANCH=release-v937053
UNIQUEEAST_MAINNET_BRANCH=release-v0.9.42
SAPPHIRE_MAINNET_BRANCH=release-v941055
SAPPHIRE_REPLICA_FROM=wss://ws-sapphire.unique.network:443
2 changes: 1 addition & 1 deletion .github/workflows/collator-selection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
output_file: .docker/docker-compose.collators.${{ matrix.network }}.yml
variables: |
RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}
POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}
POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}
NETWORK=${{ matrix.network }}
BRANCH=${{ github.head_ref }}
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/make-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,17 @@ jobs:
run: |
time make bench
- name: Run node dev mode in background
working-directory: ./
run: |
./target/release/unique-collator --dev &
- name: RUN Calibrate
working-directory: ./tests
run: |
yarn install
yarn ts-node src/calibrate.ts
yarn ts-node src/calibrateApply.ts
yarn ts-node --esm src/calibrate.ts
yarn ts-node --esm src/calibrateApply.ts
- name: show git diff
run: |
Expand Down
35 changes: 32 additions & 3 deletions .github/workflows/market-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,37 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:

prepare-execution-marix:

name: Prepare execution matrix

runs-on: [self-hosted-ci]
outputs:
matrix: ${{ steps.create_matrix.outputs.matrix }}

steps:

- name: Clean Workspace
uses: AutoModality/[email protected]

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/[email protected]
with:
ref: ${{ github.head_ref }} #Checking out head commit

- name: Read .env file
uses: xom9ikk/dotenv@v2

- name: Create Execution matrix
uses: CertainLach/create-matrix-action@v4
id: create_matrix
with:
matrix: |
network {opal}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}
market_test:
needs: prepare-execution-marix
# The type of runner that the job will run on
runs-on: [self-hosted-ci,large]
timeout-minutes: 360
Expand All @@ -22,8 +52,7 @@ jobs:

strategy:
matrix:
include:
- network: "opal"
include: ${{fromJson(needs.prepare-execution-marix.outputs.matrix)}}

steps:
- name: Clean Workspace
Expand Down Expand Up @@ -58,7 +87,7 @@ jobs:
variables: |
REPO_URL=${{ github.server_url }}/${{ github.repository }}.git
RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}
POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}
POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}
NETWORK=${{ matrix.network }}
BRANCH=${{ github.head_ref }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/testnet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ jobs:
id: create_matrix
with:
matrix: |
network {opal}
network {quartz}
network {unique}
network {opal}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}
network {quartz}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}
network {unique}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}
testnet-build:
needs: prepare-execution-marix
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
variables: |
RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
NETWORK=${{ matrix.network }}
POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}
POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}
POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}
NETWORK=${{ matrix.network }}
BRANCH=${{ github.head_ref }}
Expand All @@ -109,7 +109,7 @@ jobs:
password: ${{ secrets.CORE_DOCKERHUB_TOKEN }}

- name: Pull polkadot docker image
run: docker pull uniquenetwork/builder-polkadot:${{ env.POLKADOT_BUILD_BRANCH }}
run: docker pull uniquenetwork/builder-polkadot:${{ matrix.relay_branch }}

- name: Build the stack
run: cd .docker/ && docker build --file ./Dockerfile-testnet.${{ matrix.network }}.yml --tag uniquenetwork/${{ matrix.network }}-testnet-local-nightly:nightly-${{ steps.branchname.outputs.value }}-${{ github.sha }} .
Expand Down
52 changes: 43 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0a1a3b4

Please sign in to comment.