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
move drone config to repo root and add triggers
Some checks failed
continuous-integration/drone/push Build is failing
a76ec08da6
install clippy in pipeline
Some checks failed
continuous-integration/drone/push Build is failing
9ad580b86f
update probes and lockfile to fix time build error
Some checks failed
continuous-integration/drone/push Build is failing
27e9a8295c
try to fix probes build issue again
All checks were successful
continuous-integration/drone/push Build is passing
defb8f5f09
add tests to ci and fail on clippy warnings
Some checks failed
continuous-integration/drone/push Build is failing
d31825f688
add build status badge to root readme
Some checks failed
continuous-integration/drone/push Build is failing
271aa14322
add rustfmt and cargo check to ci pipeline
Some checks failed
continuous-integration/drone/push Build is failing
da8d8f0ec3
separate ci pipeline into discreet steps
Some checks failed
continuous-integration/drone/push Build is failing
b158fba147
add build step and arm64 pipeline
Some checks reported errors
continuous-integration/drone/push Build was killed
c792aea2f6
only specify triggers once
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
abde4ce1b4
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
remove unnecessary to_owned
Some checks reported errors
continuous-integration/drone/push Build was killed
4662b15ba3
specify triggers twice
Some checks reported errors
continuous-integration/drone/push Build was killed
e4078bd1ba
try arm64 ci only
Some checks reported errors
continuous-integration/drone/push Build was killed
126609a605
remove arm64 pipeline [CI SKIP]
All checks were successful
continuous-integration/drone/pr Build is passing
00d33c2c69
glyph added 1 commit 2022-04-15 08:47:04 +00:00
only run ci on pull request and add docs to readme [CI SKIP]
All checks were successful
continuous-integration/drone/pr Build is passing
5a95ade8b9
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.