Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 8ffc548

Browse files
committed
Merge branch 'master' into ao-enable-ApprovalCheckingVotingRule-on-Polkadot
* master: use pipeline-scripts for dependent projects script (#4017) companion for substrate/10013 (#4078) fix restart issue of staking miner (#4073) use `WEIGHT_PER_SECOND` (#4077) Switch to compressed runtimes (#4061) Create a README for XCMv1 detailing notable changes (#4058) Bump proc-macro2 from 1.0.29 to 1.0.30 (#4071)
2 parents 5e51558 + 9866a9c commit 8ffc548

File tree

16 files changed

+472
-327
lines changed

16 files changed

+472
-327
lines changed

.github/workflows/publish-draft-release.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ jobs:
5555
with:
5656
name: ${{ matrix.runtime }}-runtime
5757
path: |
58-
${{ steps.srtool_build.outputs.wasm }}
5958
${{ steps.srtool_build.outputs.wasm_compressed }}
6059
6160
publish-draft-release:
@@ -114,15 +113,6 @@ jobs:
114113
ls "${{ matrix.runtime }}-runtime"
115114
runtime_ver="$(ruby -e 'require "./scripts/github/lib.rb"; puts get_runtime("${{ matrix.runtime }}")')"
116115
echo "::set-output name=runtime_ver::$runtime_ver"
117-
- name: Upload compact ${{ matrix.runtime }} wasm
118-
uses: actions/upload-release-asset@v1
119-
env:
120-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
121-
with:
122-
upload_url: ${{ needs.publish-draft-release.outputs.asset_upload_url }}
123-
asset_path: "${{ matrix.runtime }}-runtime/${{ matrix.runtime }}_runtime.compact.wasm"
124-
asset_name: ${{ matrix.runtime }}_runtime-v${{ steps.get-runtime-ver.outputs.runtime_ver }}.compact.wasm
125-
asset_content_type: application/wasm
126116
- name: Upload compressed ${{ matrix.runtime }} wasm
127117
uses: actions/upload-release-asset@v1
128118
env:

.gitlab-ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ variables:
3131
VAULT_SERVER_URL: "https://vault.parity-mgmt-vault.parity.io"
3232
VAULT_AUTH_PATH: "gitlab-parity-io-jwt"
3333
VAULT_AUTH_ROLE: "cicd_gitlab_parity_${CI_PROJECT_NAME}"
34+
PIPELINE_SCRIPTS_TAG: "v0.1"
3435

3536
default:
3637
cache: {}
@@ -270,6 +271,28 @@ build-adder-collator:
270271

271272
#### stage: build
272273

274+
.check-dependent-project: &check-dependent-project
275+
stage: build
276+
<<: *docker-env
277+
<<: *vault-secrets
278+
script:
279+
- git clone
280+
--depth=1
281+
"--branch=$PIPELINE_SCRIPTS_TAG"
282+
https://github.com/paritytech/pipeline-scripts
283+
- ./pipeline-scripts/check_dependent_project.sh
284+
paritytech
285+
polkadot
286+
--polkadot
287+
"$DEPENDENT_REPO"
288+
"$GITHUB_PR_TOKEN"
289+
- cd "$DEPENDENT_REPO" && git rev-parse --abbrev-ref HEAD
290+
291+
check-dependent-cumulus:
292+
<<: *check-dependent-project
293+
variables:
294+
DEPENDENT_REPO: cumulus
295+
273296
check-transaction-versions:
274297
# image must be ubuntu:20.04 based to match the linkers, this image has npm installed
275298
image: paritytech/contracts-ci-linux:production

0 commit comments

Comments
 (0)