-
Notifications
You must be signed in to change notification settings - Fork 697
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into muharem-meta-tx-pallet
- Loading branch information
Showing
4,392 changed files
with
339,909 additions
and
131,049 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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
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,33 @@ | ||
[compression] | ||
type = "zstd" | ||
|
||
[compression.zstd] | ||
compressionLevel = 3 | ||
|
||
[general] | ||
jobNameVariable = "CI_JOB_NAME" | ||
jobsBlackList = [] | ||
logLevel = "warn" | ||
threadsCount = 6 | ||
|
||
[cache] | ||
extraEnv = ["RUNTIME_METADATA_HASH"] | ||
|
||
[metrics] | ||
enabled = true | ||
pushEndpoint = "placeholder" | ||
|
||
[metrics.extraLabels] | ||
environment = "production" | ||
job_name = "$CI_JOB_NAME" | ||
project_name = "$CI_PROJECT_PATH" | ||
|
||
[storage] | ||
type = "s3" | ||
|
||
[storage.s3] | ||
accessKeyId = "placeholder" | ||
bucketName = "placeholder" | ||
concurrency = 10 | ||
endpointUrl = "placeholder" | ||
secretAccessKey = "placeholder" |
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,29 @@ | ||
[compression] | ||
type = "zstd" | ||
|
||
[compression.zstd] | ||
compressionLevel = 3 | ||
|
||
[general] | ||
jobNameVariable = "CI_JOB_NAME" | ||
jobsBlackList = [] | ||
logLevel = "warn" | ||
threadsCount = 6 | ||
|
||
[cache] | ||
extraEnv = ["RUNTIME_METADATA_HASH"] | ||
|
||
[metrics] | ||
enabled = true | ||
pushEndpoint = "placeholder" | ||
|
||
[metrics.extraLabels] | ||
environment = "production" | ||
job_name = "$CI_JOB_NAME" | ||
project_name = "$CI_PROJECT_PATH" | ||
|
||
[storage] | ||
type = "gcs" | ||
|
||
[storage.gcs] | ||
bucketName = "parity-ci-forklift" |
Validating CODEOWNERS rules …
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: 'build and push image' | ||
inputs: | ||
dockerfile: | ||
description: "dockerfile to build" | ||
required: true | ||
image-name: | ||
description: "" | ||
required: true | ||
outputs: | ||
branch: | ||
description: 'Branch name for the PR' | ||
value: ${{ steps.branch.outputs.branch }} | ||
|
||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
|
||
# gcloud | ||
# https://github.com/paritytech/ci_cd/wiki/GitHub:-Push-Docker-image-to-GCP-Registry | ||
- name: "Set up Cloud SDK" | ||
uses: "google-github-actions/setup-gcloud@v2" | ||
- name: "gcloud info" | ||
shell: bash | ||
run: "gcloud info" | ||
- name: "Auth in gcloud registry" | ||
shell: bash | ||
run: "gcloud auth configure-docker europe-docker.pkg.dev --quiet" | ||
|
||
- name: build | ||
shell: bash | ||
env: | ||
ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.105" | ||
run: | | ||
export BRANCH_NAME=${{ github.head_ref || github.ref_name }} | ||
export DOCKER_IMAGES_VERSION=${BRANCH_NAME/\//-} | ||
if [[ ${{ github.event_name }} == "merge_group" ]]; then export DOCKER_IMAGES_VERSION="${GITHUB_SHA::8}"; fi | ||
docker build \ | ||
--build-arg VCS_REF="${GITHUB_SHA}" \ | ||
--build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')" \ | ||
--build-arg IMAGE_NAME="${{ inputs.image-name }}" \ | ||
--build-arg ZOMBIENET_IMAGE="${ZOMBIENET_IMAGE}" \ | ||
-t "${{ inputs.image-name }}:$DOCKER_IMAGES_VERSION" \ | ||
-f ${{ inputs.dockerfile }} \ | ||
. | ||
docker push "${{ inputs.image-name }}:$DOCKER_IMAGES_VERSION" | ||
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,22 @@ | ||
name: 'cargo check runtimes' | ||
description: 'Runs `cargo check` for every directory in provided root.' | ||
inputs: | ||
root: | ||
description: "Root directory. Expected to contain several cargo packages inside." | ||
required: true | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Check | ||
shell: bash | ||
run: | | ||
mkdir -p ~/.forklift | ||
cp .forklift/config.toml ~/.forklift/config.toml | ||
cd ${{ inputs.root }} | ||
for directory in $(echo */); do | ||
echo "_____Running cargo check for ${directory} ______"; | ||
cd ${directory}; | ||
pwd; | ||
SKIP_WASM_BUILD=1 forklift cargo check --locked; | ||
cd ..; | ||
done |
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,28 @@ | ||
name: "install gh" | ||
description: "Install the gh cli in a debian based distro and switches to the PR branch." | ||
inputs: | ||
pr-number: | ||
description: "Number of the PR" | ||
required: true | ||
GH_TOKEN: | ||
description: "GitHub token" | ||
required: true | ||
outputs: | ||
branch: | ||
description: "Branch name for the PR" | ||
value: ${{ steps.branch.outputs.branch }} | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Set up git | ||
shell: bash | ||
# Here it would get the script from previous step | ||
run: git config --global --add safe.directory '*' | ||
- run: gh pr checkout ${{ inputs.pr-number }} | ||
shell: bash | ||
env: | ||
GITHUB_TOKEN: ${{ inputs.GH_TOKEN }} | ||
- name: Export branch name | ||
shell: bash | ||
run: echo "branch=$(git rev-parse --abbrev-ref HEAD)" >> "$GITHUB_OUTPUT" | ||
id: branch |
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,15 @@ | ||
coverage: | ||
precision: 2 | ||
round: down | ||
range: "1...100" | ||
status: | ||
project: | ||
default: | ||
target: 1.0 | ||
threshold: 2.0 | ||
|
||
comment: | ||
behavior: new | ||
|
||
fixes: | ||
- "/__w/polkadot-sdk/polkadot-sdk/::" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
IMAGE="docker.io/paritytech/ci-unified:bullseye-1.81.0-2024-09-11-v202409111034" |
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 @@ | ||
../docs/contributor/PULL_REQUEST_TEMPLATE.md |
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
Oops, something went wrong.