Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Next Next commit
remove temporary job
  • Loading branch information
s3krit committed May 12, 2020
commit 54af85faaafafebe01d9cfe7f9ca7c468f7ec0cc
26 changes: 0 additions & 26 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# pipelines can be triggered manually in the web
# setting DEPLOY_TAG will only deploy the tagged image


stages:
- test
- build
Expand All @@ -23,7 +22,6 @@ variables:
DOCKER_OS: "debian:stretch"
ARCH: "x86_64"


.collect-artifacts: &collect-artifacts
artifacts:
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
Expand Down Expand Up @@ -56,8 +54,6 @@ variables:
- cargo --version
- sccache -s



.build-refs: &build-refs
only:
- master
Expand Down Expand Up @@ -100,7 +96,6 @@ check-runtime:
interruptible: true
allow_failure: true


check-line-width:
stage: test
image: parity/tools:latest
Expand Down Expand Up @@ -138,7 +133,6 @@ test-linux-stable: &test
- time cargo test --all --release --verbose --locked --features runtime-benchmarks
- sccache -s


check-web-wasm: &test
stage: test
<<: *test-refs
Expand Down Expand Up @@ -182,14 +176,11 @@ build-wasm-release:
- mv ./target/wasm32-unknown-unknown/release/polkadot_cli.wasm ./artifacts/.
- sha256sum ./artifacts/polkadot_cli.wasm |
tee ./artifacts/polkadot_cli.wasm.sha256
- VERSION="${CI_COMMIT_TAG}"
- EXTRATAG="latest"
- echo "Polkadot version = ${VERSION} (EXTRATAG ${EXTRATAG})"
# Probably don't need these since build-linux-release will do it
# - echo -n ${VERSION} > ./artifacts/VERSION
# - echo -n ${EXTRATAG} > ./artifacts/EXTRATAG


build-linux-release: &build
stage: build
<<: *collect-artifacts
Expand Down Expand Up @@ -218,7 +209,6 @@ build-linux-release: &build
- cp -r scripts/docker/* ./artifacts
- sccache -s


.publish-build: &publish-build
stage: publish
dependencies:
Expand All @@ -234,13 +224,6 @@ build-linux-release: &build
- EXTRATAG="$(cat ./artifacts/EXTRATAG)"
- echo "Polkadot version = ${VERSION} (EXTRATAG ${EXTRATAG})"

list-all-artifacts:
<<: *publish-build
only:
- /^[0-9]+$/
script:
- find ./artifacts

publish-docker-release:
<<: *publish-build
image: docker:stable
Expand Down Expand Up @@ -271,9 +254,6 @@ publish-docker-release:
# only VERSION information is needed for the deployment
- find ./artifacts/ -depth -not -name VERSION -not -name artifacts -delete




publish-s3-release:
<<: *publish-build
image: parity/awscli:latest
Expand Down Expand Up @@ -304,12 +284,6 @@ publish-s3-release:
- aws s3 ls s3://${BUCKET}/${PREFIX}/${EXTRATAG}/
--recursive --human-readable --summarize







deploy-polkasync-kusama:
stage: deploy
<<: *build-refs
Expand Down