From 77c38eeda6eceab371bbe6c74620f7a237550842 Mon Sep 17 00:00:00 2001 From: ouwenkg <2630582710@qq.com> Date: Mon, 29 Jul 2019 11:26:22 +0800 Subject: [PATCH] [ci] add basic ci --- .circleci/config.yml | 156 +++++++++++++++++++++---------------------- Cargo.lock | 15 ++--- 2 files changed, 85 insertions(+), 86 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e0d6f6f34..24fbf4fb3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -141,12 +141,12 @@ jobs: name: Check Format command: make fmt - save_cache: *save-source-codes-cache - - run: *before-restore-security-audit-cache - - restore_cache: *restore-security-audit-cache - - run: - name: Check Security Audit - command: make security_audit - - save_cache: *save-security-audit-cache + # - run: *before-restore-security-audit-cache + # - restore_cache: *restore-security-audit-cache + # - run: + # name: Check Security Audit + # command: make security_audit + # - save_cache: *save-security-audit-cache "Check Contracts": docker: @@ -415,7 +415,7 @@ workflows: - "Check Basic" - - "Check Contracts" + # - "Check Contracts" # - "Test Coverage": # requires: @@ -428,81 +428,81 @@ workflows: requires: - "Check Basic" - - "Unit Test (sha3 & secp256k1)": - requires: - - "Release" + # - "Unit Test (sha3 & secp256k1)": + # requires: + # - "Release" - - "Basic Test": - requires: - - "Release" - - "Basic Tls Test": - requires: - - "Release" + # - "Basic Test": + # requires: + # - "Release" + # - "Basic Tls Test": + # requires: + # - "Release" - - "JSON-RPC Mock Test in Charge Mode": - requires: - - "Release" - - "JSON-RPC Mock Test in Quota Mode": - requires: - - "Release" - - "Test Transfer Value in Charge Mode": - requires: - - "Release" - - "Test System Features": - requires: - - "Release" - - "Test Snapshot Taking And Restoring": - requires: - - "Release" - - "Test Amend": - requires: - - "Release" - - "Test Executor Process Invalid Proof": - requires: - - "Release" + # - "JSON-RPC Mock Test in Charge Mode": + # requires: + # - "Release" + # - "JSON-RPC Mock Test in Quota Mode": + # requires: + # - "Release" + # - "Test Transfer Value in Charge Mode": + # requires: + # - "Release" + # - "Test System Features": + # requires: + # - "Release" + # - "Test Snapshot Taking And Restoring": + # requires: + # - "Release" + # - "Test Amend": + # requires: + # - "Release" + # - "Test Executor Process Invalid Proof": + # requires: + # - "Release" - - "Discovery Test for network": - requires: - - "Release" - - "Byzantine Test in Quota Mode": - requires: - - "Release" - - "Byzantine Test in Charge Mode": - requires: - - "Release" - - "Crosschain Test": - requires: - - "Release" - - "Robustness Test": - requires: - - "Release" - - "Genesis Test": - requires: - - "Release" + # - "Discovery Test for network": + # requires: + # - "Release" + # - "Byzantine Test in Quota Mode": + # requires: + # - "Release" + # - "Byzantine Test in Charge Mode": + # requires: + # - "Release" + # - "Crosschain Test": + # requires: + # - "Release" + # - "Robustness Test": + # requires: + # - "Release" + # - "Genesis Test": + # requires: + # - "Release" - - "Unit Test (blake2b & ed25519)": - requires: - - "Unit Test (sha3 & secp256k1)" - - "Unit Test (sm3 & sm2)": - requires: - - "Unit Test (sha3 & secp256k1)" + # - "Unit Test (blake2b & ed25519)": + # requires: + # - "Unit Test (sha3 & secp256k1)" + # - "Unit Test (sm3 & sm2)": + # requires: + # - "Unit Test (sha3 & secp256k1)" - "Passed": requires: - - "Basic Test" - - "Basic Tls Test" - - "JSON-RPC Mock Test in Charge Mode" - - "JSON-RPC Mock Test in Quota Mode" - - "Test Transfer Value in Charge Mode" - - "Test System Features" - - "Test Snapshot Taking And Restoring" - - "Test Amend" - - "Test Executor Process Invalid Proof" - - "Discovery Test for network" - - "Byzantine Test in Quota Mode" - - "Byzantine Test in Charge Mode" - - "Crosschain Test" - - "Robustness Test" - - "Genesis Test" - - "Unit Test (blake2b & ed25519)" - - "Unit Test (sm3 & sm2)" + # - "Basic Test" + # - "Basic Tls Test" + # - "JSON-RPC Mock Test in Charge Mode" + # - "JSON-RPC Mock Test in Quota Mode" + # - "Test Transfer Value in Charge Mode" + # - "Test System Features" + # - "Test Snapshot Taking And Restoring" + # - "Test Amend" + # - "Test Executor Process Invalid Proof" + # - "Discovery Test for network" + # - "Byzantine Test in Quota Mode" + # - "Byzantine Test in Charge Mode" + # - "Crosschain Test" + # - "Robustness Test" + # - "Genesis Test" + # - "Unit Test (blake2b & ed25519)" + # - "Unit Test (sm3 & sm2)" diff --git a/Cargo.lock b/Cargo.lock index 040bb0aa0..e296bcbf1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -622,7 +622,7 @@ version = "0.1.0" dependencies = [ "cita-logger 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-channel 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.6.0 (git+https://github.com/cryptape/cita-common.git?branch=remove-db)", @@ -1069,11 +1069,10 @@ dependencies = [ [[package]] name = "crossbeam-channel" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", - "smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1277,7 +1276,7 @@ source = "git+https://github.com/cryptape/cita-common.git?branch=remove-db#51fb6 dependencies = [ "cita-crypto 0.1.0 (git+https://github.com/cryptape/cita-common.git?branch=remove-db)", "cita-types 0.1.0 (git+https://github.com/cryptape/cita-common.git?branch=remove-db)", - "crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-channel 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", "libproto 0.6.0 (git+https://github.com/cryptape/cita-common.git?branch=remove-db)", "util 0.6.0 (git+https://github.com/cryptape/cita-common.git?branch=remove-db)", ] @@ -2800,7 +2799,7 @@ version = "0.1.0" source = "git+https://github.com/cryptape/cita-common.git?branch=remove-db#51fb6489f4dea17819ebaad28fbaa27a6eb909d4" dependencies = [ "cita-logger 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-channel 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", "futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", "rdkafka 0.12.0 (git+https://github.com/fede1024/rust-rdkafka.git?rev=84d4062)", @@ -2812,7 +2811,7 @@ version = "0.1.0" source = "git+https://github.com/cryptape/cita-common.git?branch=remove-db#51fb6489f4dea17819ebaad28fbaa27a6eb909d4" dependencies = [ "amqp 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-channel 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2821,7 +2820,7 @@ version = "0.1.0" source = "git+https://github.com/cryptape/cita-common.git?branch=remove-db#51fb6489f4dea17819ebaad28fbaa27a6eb909d4" dependencies = [ "cita-logger 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-channel 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", "zmq 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -4414,7 +4413,7 @@ dependencies = [ "checksum crossbeam 0.2.12 (registry+https://github.com/rust-lang/crates.io-index)" = "bd66663db5a988098a89599d4857919b3acf7f61402e61365acfd3919857b9be" "checksum crossbeam 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "24ce9782d4d5c53674646a6a4c1863a21a8fc0cb649b3c94dfc16e45071dea19" "checksum crossbeam-channel 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "7b85741761b7f160bc5e7e0c14986ef685b7f8bf9b7ad081c60c604bb4649827" -"checksum crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "0f0ed1a4de2235cabda8558ff5840bffb97fcb64c97827f354a451307df5f72b" +"checksum crossbeam-channel 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "c8ec7fcd21571dc78f96cc96243cab8d8f035247c3efd16c687be154c3fa9efa" "checksum crossbeam-deque 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f739f8c5363aca78cfb059edf753d8f0d36908c348f3d8d1503f03d8b75d9cf3" "checksum crossbeam-deque 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3486aefc4c0487b9cb52372c97df0a48b8c249514af1ee99703bf70d2f2ceda1" "checksum crossbeam-epoch 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "927121f5407de9956180ff5e936fe3cf4324279280001cd56b669d28ee7e9150"