Skip to content
Snippets Groups Projects
  1. Dec 17, 2020
  2. Dec 08, 2020
    • Denis_P's avatar
      Remove waterfall CI trigger (#7519) · 29d7e0e6
      Denis_P authored
      * fix (CI): fix the triggered project name
      
      * fix (CI): debug run
      
      * fix (CI): debug run 2
      
      * fix (CI): revert debug2
      
      * Revert "fix (CI): debug run"
      
      This reverts commit 96866a953da797ef6e0689374eecc0d8cba4627d.
      
      * CI: remove the trigger
      29d7e0e6
  3. Nov 25, 2020
  4. Nov 24, 2020
    • Bastian Köcher's avatar
      Wasm-builder 3.0 (#7532) · 923cb8ee
      Bastian Köcher authored
      
      * Build every wasm crate in its own project with wasm-builder
      
      Building all wasm crates in one workspace was a nice idea, however it
      just introduced problems:
      
      1. We needed to prune old members, but this didn't worked for old git
      deps.
      2. We locked the whole wasm workspace while building one crate. This
      could lead to infinitely locking the workspace on a crash.
      
      Now we just build every crate in its own project, this means we will
      build the dependencies multiple times. While building the dependencies
      multiple times, we still decrease the build time by around 30 seconds
      for Polkadot and Substrate because of the new parallelism ;)
      
      * Remove the requirement on wasm-builder-runner
      
      This removes the requirement on wasm-builder-runner by using the new
      `build_dep` feature of cargo. We use nightly anyway and that enables us
      to use this feature. This solves the problem of not mixing
      build/proc-macro deps with normal deps. By doing this we get rid off
      this complicated project structure and can depend directly on
      `wasm-builder`. This also removes all the code from wasm-builder-runner
      and mentions that it is deprecated.
      
      * Copy the `Cargo.lock` to the correct folder
      
      * Remove wasm-builder-runner
      
      * Update docs
      
      * Fix deterministic check
      
      Modified-by: default avatarBastian Köcher <git@kchr.de>
      
      * Try to make the ui test happy
      
      * Switch to `SKIP_WASM_BUILD`
      
      * Rename `SKIP_WASM_BINARY` to the correct name...
      
      * Update utils/wasm-builder/src/builder.rs
      
      Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
      
      * Update utils/wasm-builder/src/builder.rs
      
      Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
      
      Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
      923cb8ee
  5. Oct 30, 2020
  6. Oct 14, 2020
  7. Sep 30, 2020
    • Denis_P's avatar
      WIP: remove deprecated only/except clauses (#7229) · cdff10e1
      Denis_P authored
      * change (CI): remove deprecated only/except clauses
      
      * change (CI): remove
      
      * change (CI): debug regex
      
      * change (CI): regex shouldn't be surrounded with quotes in `rules`
      
      * change (CI): no quotes in `rules`
      
      * change (CI): debug workflow
      
      * change (CI): almost equal
      
      * change (CI): splinters
      
      * change (CI): some details [chaos:basic]
      
      * change (CI): add manual substrate build on PRs
      
      * change (CI): mistake with publish-to-crates-io
      
      * change (CI): reapproach chaos-only; rename rules anchors [skip ci]
      
      * change (CI): add linux and mac to manual jobs for PRs [skip ci]
      
      * change (CI): remove `pre-v` tags rules [skip ci]
      
      * change (CI): add subkey for macos build as manual on PRs as well
      
      * change (CI): add glob to match every changed file in monitoring
      
      * test (CI): [chaos:basic]
      cdff10e1
  8. Sep 24, 2020
  9. Sep 22, 2020
  10. Sep 18, 2020
    • Benjamin Kampmann's avatar
      Tracing for wasm with bridging to native (#6916) · a9c73113
      Benjamin Kampmann authored
      
      * implement events handling, implement parent_id for spans & events
      
      * add events to sp_io::storage
      
      * update test
      
      * add tests
      
      * adjust limit
      
      * let tracing crate handle parent_ids
      
      * re-enable current-id tracking
      
      * add test for threads with CurrentSpan
      
      * fix log level
      
      * remove redundant check for non wasm traces
      
      * remove duplicate definition in test
      
      * Adding conditional events API
      
      * prefer explicit parent_id over current,
      
      enhance test
      
      * limit changes to client::tracing event implementation
      
      * remove From impl due to fallback required on parent_id
      
      * make tracing codecable
      
      * replace with global tracing
      
      * new tracing interface
      
      * impl TracingSubscriber in client
      
      * implement access to global TracingSubscriber from primitives
      
      * span for wasm
      
      * increment towards Wasm Tracing Subscriber implementation
      
      * increment, remove sp-tracing from runtime-interface
      
      * increment, it compiles
      
      * attained original functionality with new mechanism
      
      * implement remaining TracingSubscriber functions
      
      * remove spans from decl_module
      
      * add handling for encoded values
      
      * Revert "replace with global tracing"
      
      This reverts commit 8824a60deea54d9b437407a21c8ceaf6a1902ee5.
      
      * Wasm Side Tracing
      
      * tracing on wasm
      
      * enable tracing wasm on node-runtime
      
      * export all the macros in std
      
      * tracing subscriber on wasm-side only
      
      * pass spans and events over and record them
      
      * reactivate previous code and  cleanup
      
      * further cleaning up
      
      * extend the span macros, activate through executive
      
      * tracking the actual extrinsic, too
      
      * style
      
      * fixing tests
      
      * spaces -> tabs
      
      * attempting to reactivate params
      
      * activate our tests in CI
      
      * some passing
      
      * tests passing
      
      * with core lazy
      
      * global tracer for wasm side with pass over
      
      * fixing metadata referencing
      
      * remove const_fn feature requirement
      
      * reenable dispatch traces
      
      * reset client tracing
      
      * further cleaning up
      
      * fixing runtime-test
      
      * move tracing-build setup into runtime-test
      
      * Merge DebugWriter from tracing and frame-support, move to sp-std
      
      * remove dangling fixme
      
      * Docs for tracing primitives
      
      * cleaning up a bit more
      
      * Wasm interface docs
      
      * optimise docs.rs setup
      
      * adding tracing flags to uncomment
      
      * remove brace
      
      * fixing imports
      
      * fixing broken syntax
      
      * add required modules
      
      * nicer formatting
      
      * better target management
      
      * adding low level storage tracing events into frame
      
      * add custom Debug impl for WasmMetadata
      
      * cloning profiler
      
      * adding info about cloning profiler
      
      * using in-scope for within calls
      
      * proper time tracing, cleaning up println
      
      * allow to disable tracing on runtime_interface-macro
      
      * disable tracing for wasm-tracing-interface
      
      * simplify wasm-tracing-api
      
      * update client to new interface
      
      * fixing docs and tests for sp-tracing
      
      * update integration tests
      
      * re-activating enter_span
      
      * dropping FIXME, it's documented
      
      * fix formatting
      
      * fix formatting
      
      * fix imports
      
      * more debug info
      
      * inform wasm about it being disabled by returning 1
      
      * only one tracer, but enabled multi-all support
      
      * make trait pub again for tests
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>
      
      * fixing wasm doc tests for proper usage
      
      * remove unnecessary import
      
      * fixing formatting
      
      * minor style fixes
      
      * downgrading wabt
      
      * update error message for UI
      
      * Fix interface test
      
      * next attempt to fix macros
      
      * geee
      
      * revert tracing on hashed for future PR
      
      * remove local macros, use originals
      
      * we are able to convert to static items
      
      * implement more WasmValue types
      
      * adding support to convert str, debug and encoded values
      
      * more minor fixes
      
      * revert unsafe 'static making
      
      * fix indentation
      
      * remove commented lines
      
      * bump all them tracing versions
      
      * cleaning up docs and info
      
      * document new flag
      
      * the new layered system handles span cloning better
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarDavid <dvdplm@gmail.com>
      
      Co-authored-by: default avatarMatt Rutherford <mattrutherford@users.noreply.github.com>
      Co-authored-by: default avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>
      Co-authored-by: default avatarDavid <dvdplm@gmail.com>
      a9c73113
  11. Sep 11, 2020
  12. Sep 01, 2020
  13. Aug 12, 2020
  14. Jul 24, 2020
  15. Jul 23, 2020
    • HarryHong's avatar
      [CI]Chaostest suite initiation (#5793) · 36e31208
      HarryHong authored
      
      * Initiate chaostest cli test suite: singlenodeheight on one dev node
          Added chaostest stages in CI
          Added new docker/k8s resources and environments to CI
          Added new chaos-only tag to gitlab-ci.yml
      
      * Update .maintain/chaostest/src/commands/singlenodeheight/index.js
      
      Co-authored-by: default avatarMax Inden <mail@max-inden.de>
      
      * change nameSpace to namespace(one word)
      
      * update chaos ci job to match template
      
      * rename build-pr ci stage to docker [chaos:basic]
      
      * test gitlab-ci [chaos:basic]
      
      * Update .gitlab-ci.yml
      
      * add new build-chaos-only condition
      
      * add *default-vars to singlenodeheight [chaos:basic]
      
      * change build-only to build-rules on substrate jobs [chaos:basic]
      
      * test and change when:on_success to when:always [chaos:basic]
      
      * resolve conflicts and test [chaos:basic]
      
      Co-authored-by: default avatarMax Inden <mail@max-inden.de>
      Co-authored-by: default avatarDenis Pisarev <denis.pisarev@parity.io>
      36e31208
  16. Jul 21, 2020
    • Denis_P's avatar
      "cargo test" jobs optimization (#6606) · 3b6597e0
      Denis_P authored
      * change (ci): 3 jobs in 1 decreases concurrency and is more effectiv; w/o release it's ~20% faster, but needs testing on prod; wasmtest tests are already running within cargo test --workspace
      
      * fix (test): these ones were failing on nightly
      
      * save: cargo profiles [skip ci]
      
      * change (ci): one test to run them all
      
      * change (ci): rebase
      
      * Revert "change (ci): rebase"
      
      This reverts commit 8a6b7ea043a460bf71526ccaa4c7a68899a3b2bc.
      
      * fix (config): fix manifest
      
      * change (ci): bench release
      3b6597e0
  17. Jul 16, 2020
  18. Jul 14, 2020
  19. Jul 01, 2020
  20. Jun 19, 2020
  21. Jun 16, 2020
    • Max Inden's avatar
      .gitlab-ci.yml: Run promtool on Prometheus alerting rules (#6344) · b4221cc1
      Max Inden authored
      * .gitlab-ci.yml: Run promtool on Prometheus alerting rules
      
      Add a CI stage to test the Prometheus alerting rules within
      `.maintain/monitoring`.
      
      * .gitlab-ci.yml: Switch Prometheus stage to paritytech/tools image
      
      * .gitlab-ci.yml: Follow http redirects in Prometheus stage
      
      * .gitlab-ci.yml: Fix Prometheus stage promtool folder name
      b4221cc1
    • s3krit's avatar
      [CI] Add label enforcement (#6365) · 14ee618d
      s3krit authored
      * Add label enforcement
      
      * fix .gitlab-ci.yml
      
      * update check_labels.sh
      14ee618d
  22. Jun 10, 2020
    • Denis_P's avatar
      New CI image (#6223) · f9c0c6a7
      Denis_P authored
      
      * fix (ci): hotfix Docker release
      
      * change (ci): moving to the tested CI image with a proper name
      
      * change (ci): rename substrate-ci-linux
      
      * Reduce the lots_of_incoming_peers_works test load (#6314)
      
      * change (ci): moving to the tested CI image with a proper name
      
      * change (ci): rename substrate-ci-linux
      
      * Reduce the lots_of_incoming_peers_works test load (#6314)
      
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
      Co-authored-by: default avatarPierre Krieger <pierre.krieger1708@gmail.com>
      f9c0c6a7
  23. Jun 02, 2020
    • Denis_P's avatar
      refactor CI (#6176) · ffea1617
      Denis_P authored
      * fix (ci): hotfix Docker release
      
      * test (ci): run full ci  [skip ci]
      
      * change (ci): check stage; add default variables because they were overriden; test-dep-rules goes k8s
      
      * change (ci): move companion job to another stage
      
      * change (ci): no good way to avoid artifacts downloads without dependencies
      
      * fix (ci): typo
      
      * change (ci): all CI images were moved to paritytech registry
      
      * fix (ci): return to the prev image, new needs more testing
      ffea1617
  24. May 23, 2020
  25. May 18, 2020
  26. May 14, 2020
  27. May 11, 2020
  28. May 05, 2020
  29. Apr 29, 2020
  30. Apr 28, 2020
    • s3krit's avatar
      [CI] Add check for draft PRs (#5800) · 2d73ccd6
      s3krit authored
      
      * Add check for draft PRs
      
      * Add necessary gitlab-ci boilerplate
      
      * fix github API url (oops!)
      
      * Add github action to retrigger pipeline
      
      * fix workflow trigger
      
      * rename trigger job
      
      Co-authored-by: default avatarBenjamin Kampmann <ben@parity.io>
      2d73ccd6
    • Web3 Philosopher's avatar
      Move sc-client into sc-service (#5502) · 4fa5941f
      Web3 Philosopher authored
      * Drop client from sc-network and sc-client-db, move LongestChain to sc-client-api
      
      * move leaves, cht, in_mem to sc-client-api, drop client from sc-finality-grandpa
      
      * drop sc-service from sc-rpc
      
      * drop sc-service from sc-consensus-aura
      
      * drop sc-client from manual-seal and babe
      
      * drop sc-client from utils/frame/rpc/system and utils/frame/benchmarking-cli
      
      * drop sc-client from bin/node and bin/node-template
      
      * drop sc-client
      
      * fix tests
      
      * remove check -p sc-client from gitlab.yml
      
      * fix warnings
      
      * fixes ui test
      
      * fix light client tests
      
      * adds associated Client type to AbstractService
      
      * adds UsageProvider to Client
      
      * fixed ui test, again
      
      * tried and failed to get node-cli to compile for wasm
      
      * thanks to tomaka for helping me get node-cli to compile for wasmm
      
      * ui test pls pas :pray_tone4:
      
      
      
      * all tests passing 🪄
      
      * no_run documentation code
      
      * rm -f documentation code
      
      * ClientProvider
      
      * fix mega trait
      
      * move LongestChain to sc-consensus, use adds minimal bounds to AbstractService::Client
      
      * adds license to sc-consensus
      
      Co-authored-by: default avatarBenjamin Kampmann <ben@parity.io>
      4fa5941f