Skip to content

Commit

Permalink
Merge pull request #49 from hydroid7/iox-2-48-cargo-audit-ci
Browse files Browse the repository at this point in the history
[#48] Adding audit scripts
  • Loading branch information
elfenpiff authored Jan 5, 2024
2 parents 87d0d8f + 077cbf0 commit 8afd996
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ only_if: $CIRRUS_BRANCH == 'main' || ($CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH ==
preflight_check_task:
<<: *IOX2_CONTAINER_UBUNTU_22_04_X64
set_toolchain_script: rustup default stable
fingerprint_script:
- cargo audit
# TODO iox2-#8: add more preflight-checks here
<<: *IOX2_CARGO_FMT_AND_CLIPPY
<<: *IOX2_COMMON_BUILD_DEBUG # only build without tests to not slow down other tasks due to failures in flaky tests
Expand Down
2 changes: 1 addition & 1 deletion doc/release-notes/iceoryx2-unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

### Workflow

* Example [#1](https://github.com/eclipse-iceoryx/iceoryx2/issues/1)
* add `cargo audit` for security vulnerability checking in dependencies [#48](https://github.com/eclipse-iceoryx/iceoryx2/issues/48)

### New API features

Expand Down
2 changes: 2 additions & 0 deletions internal/docker/archlinux-base-devel
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ RUN echo "#### Installing dependencies" \
rustfmt \
&& echo "#### Installing cargo-nextest" \
&& cargo install cargo-nextest --locked \
&& echo "#### Installing cargo-audit" \
&& cargo install cargo-audit --locked \
&& echo "#### Creating users and groups required for tests" \
&& useradd testuser1 \
&& useradd testuser2 \
Expand Down
2 changes: 2 additions & 0 deletions internal/docker/ubuntu-22.04
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ RUN echo "#### Installing dependencies" \
rustfmt \
&& echo "#### Installing cargo-nextest" \
&& cargo install cargo-nextest --locked \
&& echo "#### Installing cargo-audit" \
&& cargo install cargo-audit --locked \
&& echo "Installing grcov" \
&& cargo install grcov \
&& echo "#### Creating users and groups required for tests" \
Expand Down

0 comments on commit 8afd996

Please sign in to comment.