Skip to content

Commit 2150dc0

Browse files
gnunicornGeneral-Beck
authored andcommitted
adding unleash to ci (paritytech#5020)
* adding unleash to ci * fixing formatting * with a dot please * alpha.3 now * do not publish testing helpers * remove old test-helpers cruft * fix cargo.lock * with alpha 4 * do not publish runtime-interface-test either * disable more test crates from publishing * switch to alpha.5 * replace tempdir with tempfile * update lru * switch to bytes 0.5 * release script fixes * switch on and to latest alpha * BUT THE SPACES
1 parent 04ea56f commit 2150dc0

File tree

13 files changed

+147
-190
lines changed

13 files changed

+147
-190
lines changed

.gitlab-ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ variables:
3737
CI_SERVER_NAME: "GitLab CI"
3838
DOCKER_OS: "debian:stretch"
3939
ARCH: "x86_64"
40+
# FIXME set to release
41+
CARGO_UNLEASH_INSTALL_PARAMS: "--version 1.0.0-alpha.6"
42+
CARGO_UNLEASH_PKG_DEF: "--skip node node-* subkey chain-spec-builder"
4043

4144

4245
.collect-artifacts: &collect-artifacts
@@ -174,6 +177,9 @@ test-dependency-rules:
174177
- $DEPLOY_TAG
175178
script:
176179
- .maintain/ensure-deps.sh
180+
# FIXME set to release
181+
- cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS}
182+
- cargo unleash check ${CARGO_UNLEASH_PKG_DEF}
177183

178184
test-frame-staking:
179185
stage: test
@@ -550,6 +556,21 @@ publish-draft-release:
550556
interruptible: true
551557
allow_failure: true
552558

559+
publish-to-crates-io:
560+
stage: publish
561+
<<: *docker-env
562+
dependencies:
563+
- build-linux-substrate
564+
- test-dependency-rules
565+
only:
566+
- tags
567+
- /^v[0-9]+\.[0-9]+\.[0-9]+.*$/
568+
script:
569+
- cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS}
570+
- cargo unleash em-dragons --no-check ${CARGO_UNLEASH_PKG_DEF}
571+
interruptible: true
572+
allow_failure: true
573+
553574
.deploy-template: &deploy
554575
stage: kubernetes
555576
when: manual

0 commit comments

Comments
 (0)