Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Full check of Pull Requests
    • Static analysis via `cargo check` and `cargo clippy`
    • Builds via `cargo build` and `cargo build --release`
    • Tests via `cargo test` and `cargo bench`
    • Documentation spell-check by `cargo spell-check`
    • Documentation generation by `cargo doc`
    • Docker debug build (Dockerfile.debug + release)
    • Docker release build (Dockerfile)
  • Full check for "master" (the main branch (it is iroha2-dev for now)
    • Static analysis via `cargo check` and `cargo clippy`
    • Builds via `cargo build` and `cargo build --release`
    • Tests via `cargo test` and `cargo bench`
    • Regression comparison of `cargo bench` results via `criterion` and automatic issues creation if found (without pipeline failure)
    • Documentation generation by `cargo doc`
    • Docker build (debug + release)
  • Publishing of artifacts artefacts for "mastertags"
    • Code coverage (tarpauline or grcow)
    • Benchmarks results as HTML (better to be also deployed as a static page) via criterion https://bheisler.github.io/criterion.rs/book/user_guide/html_report.html
    • Builds via `cargo build --release` as GitHub artifactsartefacts
    • Builds via `cargo publish` as Crates.io crate
    • Documentation publishing on docs.rs (better to be also deployed as a static page) via `cargo publish`
    • Docker image publish to hub.docker.com (with the latest tag)
  • Additional testing for "master"
    • Deployment on K8S cluster via https://kompose.io/
    • Run of integration tests (TBD by Iroha team)
    • Automatic issue creation on fails

...

CI deployed private environment without static address for automatic tests and benchmarks.

Proposal

GitLab CI notation description of the Pipeline:

Graphical representation: