Drone CI build pipeline #101

Merged
glyph merged 16 commits from drone_ci_test into main 2022-04-15 09:05:10 +00:00
Owner

Here's a PR to address issue #98.

Drone has been quite easy to setup and navigate (https://build.coopcloud.tech/).

So far I'm using the Rust Docker image for Debian Buster and running the following steps:

  • rustfmt
  • clippy
  • cargo check
  • cargo test
  • cargo build

The clippy step is run with the -D flag which means the run will fail if a clippy warning is encountered.

The steps are run for amd64 and arm64 architectures. The cargo check is currently failing due to a lint warning in peach-lib (I'll fix that once this PR is merged and then fine-tune the CI config if necessary).

Once thing I noticed after adding the arm64 part to the config is that the amd64 pipeline keeps running after it fails the cargo check step; it doesn't move onto the next steps but it doesn't stop either...it keeps ticking along and needs to be manually cancelled. I'd like to figure out how to prevent that happening.

Here's a PR to address [issue #98](https://git.coopcloud.tech/PeachCloud/peach-workspace/issues/98). Drone has been quite easy to setup and navigate (https://build.coopcloud.tech/). So far I'm using the Rust Docker image for Debian Buster and running the following steps: - `rustfmt` - `clippy` - `cargo check` - `cargo test` - `cargo build` The `clippy` step is run with the `-D` flag which means the run will fail if a `clippy` warning is encountered. The steps are run for `amd64` and `arm64` architectures. The `cargo check` is currently failing due to a lint warning in `peach-lib` (I'll fix that once this PR is merged and then fine-tune the CI config if necessary). Once thing I noticed after adding the `arm64` part to the config is that the `amd64` pipeline keeps running after it fails the `cargo check` step; it doesn't move onto the next steps but it doesn't stop either...it keeps ticking along and needs to be manually cancelled. I'd like to figure out how to prevent that happening.
glyph added 11 commits 2022-04-06 11:44:29 +00:00
continuous-integration/drone/push Build is failing Details
a76ec08da6
move drone config to repo root and add triggers
continuous-integration/drone/push Build is failing Details
9ad580b86f
install clippy in pipeline
continuous-integration/drone/push Build is failing Details
27e9a8295c
update probes and lockfile to fix time build error
continuous-integration/drone/push Build is passing Details
defb8f5f09
try to fix probes build issue again
continuous-integration/drone/push Build is failing Details
d31825f688
add tests to ci and fail on clippy warnings
continuous-integration/drone/push Build is failing Details
271aa14322
add build status badge to root readme
continuous-integration/drone/push Build is failing Details
da8d8f0ec3
add rustfmt and cargo check to ci pipeline
continuous-integration/drone/push Build is failing Details
b158fba147
separate ci pipeline into discreet steps
continuous-integration/drone/push Build was killed Details
c792aea2f6
add build step and arm64 pipeline
continuous-integration/drone/push Build was killed Details
continuous-integration/drone/pr Build was killed Details
abde4ce1b4
only specify triggers once
glyph requested review from notplants 2022-04-06 11:44:41 +00:00
glyph added the
maintenance
label 2022-04-06 11:44:50 +00:00
Owner

wow so cool that a 77 line yml file can do all that

wow so cool that a 77 line yml file can do all that
Author
Owner

Yeah it's pretty powerful! Maybe tomorrow I'll spend some time trying to understand why it hangs after the amd64 run (without moving onto the arm64 section).

Yeah it's pretty powerful! Maybe tomorrow I'll spend some time trying to understand why it hangs after the amd64 run (without moving onto the arm64 section).
glyph added 4 commits 2022-04-15 08:25:33 +00:00
continuous-integration/drone/push Build was killed Details
4662b15ba3
remove unnecessary to_owned
continuous-integration/drone/push Build was killed Details
e4078bd1ba
specify triggers twice
continuous-integration/drone/push Build was killed Details
126609a605
try arm64 ci only
continuous-integration/drone/pr Build is passing Details
00d33c2c69
remove arm64 pipeline [CI SKIP]
glyph added 1 commit 2022-04-15 08:47:04 +00:00
glyph merged commit 92c7d7daa9 into main 2022-04-15 09:05:10 +00:00
glyph deleted branch drone_ci_test 2022-04-15 09:05:11 +00:00
Sign in to join this conversation.
No description provided.