Skip to content

Commit

Permalink
ci: 🚀 Fix CI after importing redbpf
Browse files Browse the repository at this point in the history
Temporally remove ebpf related CI
  • Loading branch information
Forsworns committed Feb 22, 2022
1 parent d3eb84a commit ffcf7ad
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: check
args: --all-features
args: --all-features --workspace --exclude sentinel-envoy-module --exclude ebpf-probes --exclude ebpf-userspace

- name: Unit Tests
uses: actions-rs/cargo@v1
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/grcov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ jobs:
run: cargo install grcov
- name: install llvm tools
run: rustup component add llvm-tools-preview
- name: build project
run: cargo build
- name: test project
run: cargo test --workspace --exclude sentinel-envoy-module --exclude ebpf-probes --exclude ebpf-userspace
- name: test project
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: check
args: --target=${{ matrix.RUSTC_TARGET }}
args: --target=${{ matrix.RUSTC_TARGET }} --workspace --exclude sentinel-envoy-module --exclude ebpf-probes --exclude ebpf-userspace

- name: Unit Tests
uses: actions-rs/cargo@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: cargo doc --lib --no-deps --all-features --document-private-items
- run: cargo doc --lib --no-deps --all-features --document-private-items --workspace --exclude sentinel-envoy-module --exclude ebpf-probes --exclude ebpf-userspace

check-readme:
name: Check README # for correct README file on crates.io
Expand All @@ -74,5 +74,5 @@ jobs:
- name: Install clippy
run: rustup component add clippy
- name: "clippy --all"
run: cargo clippy --all-targets
run: cargo clippy --all-targets --workspace --exclude sentinel-envoy-module --exclude ebpf-probes --exclude ebpf-userspace

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ SRC_FILES := $(shell find . -path '*/target' -prune -o -name '*.rs' -print)
KERNEL_VERSION?=$(shell ls /lib/modules | grep generic | head -1)

check:
cargo check --all-features
cargo check --all-features --workspace --exclude sentinel-envoy-module --exclude ebpf-probes --exclude ebpf-userspace

clippy:
cargo clippy --all-targets
cargo clippy --all-targets --workspace --exclude sentinel-envoy-module --exclude ebpf-probes --exclude ebpf-userspace

doc: clean
cargo doc --no-deps
Expand Down
1 change: 0 additions & 1 deletion examples/ebpf/probes/src/port/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#![no_std]
#![no_main]
use ebpf_probes::port::PortEvent;
use redbpf_probes::helpers::bpf_trace_printk;
use redbpf_probes::maps::Array;
use redbpf_probes::xdp::prelude::*;

Expand Down
2 changes: 2 additions & 0 deletions examples/rules/circuit_breaker/slow_request.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(clippy::needless_update)]

use rand::prelude::*;
use sentinel_macros::circuitbreaker;
use sentinel_rs::base::Snapshot;
Expand Down

0 comments on commit ffcf7ad

Please sign in to comment.