mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 14:17:56 +00:00
CI: remove unnecessary jobs while simnet is under work (#3043)
This commit is contained in:
+27
-22
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user