Skip to content
Snippets Groups Projects
Commit 994f4a6a authored by Cédric Moreau's avatar Cédric Moreau
Browse files

#239: feat: release du runtime from `runtime/*` branches

parent f35403e2
No related branches found
No related tags found
No related merge requests found
Pipeline #39297 waiting for manual action
...@@ -26,8 +26,8 @@ workflow: ...@@ -26,8 +26,8 @@ workflow:
.is_network_branch: &is_network_branch .is_network_branch: &is_network_branch
if: $CI_PIPELINE_SOURCE != "merge_request_event" && $CI_COMMIT_BRANCH =~ /^(network\/).+/ if: $CI_PIPELINE_SOURCE != "merge_request_event" && $CI_COMMIT_BRANCH =~ /^(network\/).+/
.is_master_branch: &is_master_branch .is_master_branch: &is_runtime_branch
if: $CI_PIPELINE_SOURCE != "merge_request_event" && $CI_COMMIT_BRANCH =~ /^master$/ if: $CI_PIPELINE_SOURCE != "merge_request_event" && $CI_COMMIT_BRANCH =~ /^(runtime\/).+/
sanity_tests: sanity_tests:
extends: .env extends: .env
...@@ -241,7 +241,7 @@ tests: ...@@ -241,7 +241,7 @@ tests:
trigger_runtime_release: trigger_runtime_release:
stage: build stage: build
rules: rules:
- <<: *is_master_branch - <<: *is_runtime_branch
when: manual when: manual
variables: variables:
RUNTIME: gdev RUNTIME: gdev
...@@ -327,7 +327,7 @@ build_gdev_runtime: ...@@ -327,7 +327,7 @@ build_gdev_runtime:
stage: build stage: build
needs: ["trigger_runtime_release"] needs: ["trigger_runtime_release"]
rules: rules:
- <<: *is_master_branch - <<: *is_runtime_branch
image: paritytech/srtool:1.77.0-0.15.0 image: paritytech/srtool:1.77.0-0.15.0
variables: variables:
RUNTIME: gdev RUNTIME: gdev
...@@ -504,7 +504,7 @@ create_runtime_release: ...@@ -504,7 +504,7 @@ create_runtime_release:
stage: release stage: release
needs: ["build_gdev_runtime"] needs: ["build_gdev_runtime"]
rules: rules:
- <<: *is_master_branch - <<: *is_runtime_branch
image: rust:1-bullseye image: rust:1-bullseye
variables: variables:
RUNTIME: gdev RUNTIME: gdev
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment