Unverified Commit cbf2f066 authored by Denis_P's avatar Denis_P 🏑 Committed by GitHub
Browse files

CI: remove unnecessary jobs while simnet is under work (#3043)

parent 0f417830
Pipeline #138452 passed with stages
in 17 minutes and 22 seconds
......@@ -164,26 +164,27 @@ check-runtime-benchmarks:
- ./scripts/gitlab/check_runtime_benchmarks.sh
- sccache -s
build-adder-collator:
stage: test
<<: *collect-artifacts
<<: *docker-env
<<: *compiler-info
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_REF_NAME == "master"
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
- if: $CI_COMMIT_REF_NAME == "rococo-v1"
script:
- time cargo build --release --verbose -p test-parachain-adder-collator
- sccache -s
# pack artifacts
- mkdir -p ./artifacts
- mv ./target/release/adder-collator ./artifacts/.
- echo -n "${CI_COMMIT_REF_NAME}" > ./artifacts/VERSION
- echo -n "${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}" > ./artifacts/EXTRATAG
- echo "adder-collator version = $(cat ./artifacts/VERSION) (EXTRATAG = $(cat ./artifacts/EXTRATAG))"
- cp -r scripts/docker/* ./artifacts
# FIXME: uncomment this when simnet is ready
# build-adder-collator:
# stage: test
# <<: *collect-artifacts
# <<: *docker-env
# <<: *compiler-info
# rules:
# - if: $CI_PIPELINE_SOURCE == "schedule"
# - if: $CI_COMMIT_REF_NAME == "master"
# - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
# - if: $CI_COMMIT_REF_NAME == "rococo-v1"
# script:
# - time cargo build --release --verbose -p test-parachain-adder-collator
# - sccache -s
# # pack artifacts
# - mkdir -p ./artifacts
# - mv ./target/release/adder-collator ./artifacts/.
# - echo -n "${CI_COMMIT_REF_NAME}" > ./artifacts/VERSION
# - echo -n "${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}" > ./artifacts/EXTRATAG
# - echo "adder-collator version = $(cat ./artifacts/VERSION) (EXTRATAG = $(cat ./artifacts/EXTRATAG))"
# - cp -r scripts/docker/* ./artifacts
#### stage: build
......@@ -257,6 +258,7 @@ generate-impl-guide:
publish-polkadot-image:
stage: build
<<: *build-push-image
# FIXME: uncomment this when simnet is ready
# variables:
# <<: *image-variables
# # scripts/docker/Dockerfile
......@@ -265,8 +267,9 @@ publish-polkadot-image:
rules:
# Don't run on releases - this is handled by the Github Action here:
# .github/workflows/publish-docker-release.yml
# - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
# when: never
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
when: never
# FIXME: uncomment this when simnet is ready
# - if: $CI_PIPELINE_SOURCE == "schedule"
# - if: $CI_COMMIT_REF_NAME == "master"
# - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
......@@ -280,6 +283,7 @@ publish-polkadot-image:
- job: test-build-linux-stable
artifacts: true
# FIXME: uncomment this when simnet is ready
# publish-adder-collator-image:
# # service image for Simnet
# stage: build
......@@ -363,6 +367,7 @@ deploy-polkasync-kusama:
allow_failure: true
trigger: "parity/infrastructure/parity-testnet"
# FIXME: uncomment this when simnet is ready
# trigger-simnet:
# stage: deploy
# image: paritytech/tools:latest
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment