beaver-X-beaver / devops-test

Test task for DevOps engineer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jolocom DevOps CI test

Main Branch CI

Progress:

  • Lint Stage Done
  • Builds For MacOS, Windows and Linux Done
  • Status Badge Done
  • Publishing to Github and Crates.io Done

Description

Create CI, which will run unit tests, build with release configuration, collect platform specific binary libraries and publish them as release artefact.

Detailed steps

  • fork this repository;
  • this repository is Rust's workspace - should be built like one;
  • each step should continue only if previous one succeeded;
  • use SHELL script for post-build binaries collection step;
  • can use cargo based snippet (may require editing), but be careful with double outputs:
cargo b -q --message-format json | jq -r '
    select (
         .reason == "compiler-artifact"
     ) | select(
         .target.kind | any(
             . == "cdylib"
         )
     ) | .filenames |
     unique | .[]
'
  • completing this task in any other way, but with desired result is acceptable;

Extra points (not mandatory)

  • add formatter check as first step;
  • CI badge[s] in the README;
  • auto publish to crates.io;
  • CI for different targets [Windows/Linux/MacOS/etc.];

GL/HF

About

Test task for DevOps engineer


Languages

Language:Shell 65.2%Language:Rust 34.8%