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

adding unleash to ci #5020

Merged
merged 18 commits into from
Feb 25, 2020
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ variables:
CI_SERVER_NAME: "GitLab CI"
DOCKER_OS: "debian:stretch"
ARCH: "x86_64"
# FIXME set to release
CARGO_UNLEASH_INSTALL_PARAMS: "--version 1.0.0-alpha.6"
CARGO_UNLEASH_PKG_DEF: "--skip node node-* subkey chain-spec-builder"


.collect-artifacts: &collect-artifacts
Expand Down Expand Up @@ -174,6 +177,9 @@ test-dependency-rules:
- $DEPLOY_TAG
script:
- .maintain/ensure-deps.sh
# FIXME set to release
- cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS}
- cargo unleash check ${CARGO_UNLEASH_PKG_DEF}

test-frame-staking:
stage: test
Expand Down Expand Up @@ -550,6 +556,21 @@ publish-draft-release:
interruptible: true
allow_failure: true

publish-to-crates-io:
stage: publish
<<: *docker-env
dependencies:
- build-linux-substrate
- test-dependency-rules
only:
- tags
- /^v[0-9]+\.[0-9]+\.[0-9]+.*$/
script:
- cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS}
- cargo unleash em-dragons --no-check ${CARGO_UNLEASH_PKG_DEF}
interruptible: true
allow_failure: true

.deploy-template: &deploy
stage: kubernetes
when: manual
Expand Down
Loading