Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
fix obtaining namespace - 2.0.0-alpha-2
Browse files Browse the repository at this point in the history
* switch to old containerd-client because new one throws transport error

* Add docker image build sanity to github actions
  • Loading branch information
aviramha committed Apr 30, 2022
1 parent bb50024 commit 46724b4
Show file tree
Hide file tree
Showing 6 changed files with 87 additions and 156 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ env:
jobs:
lint:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -23,7 +20,7 @@ jobs:
toolchain: stable
components: rustfmt, clippy
- run: cargo fmt --all -- --check
- run: sudo apt install libpcap-dev
- run: sudo apt install libpcap-dev cmake
- run: cargo clippy -- -D warnings

test:
Expand All @@ -36,3 +33,10 @@ jobs:
toolchain: stable
- run: sudo apt install -y libpcap-dev cmake
- run: sudo PATH=/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin:/usr/bin:/usr/sbin /home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo test

test_image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build image
run: docker build . --file Dockerfile
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Release
on:
on:
workflow_dispatch:
push:
branches:
- main
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
## [Unreleased]
## 2.0.0-alpha-2 - 30/4/2022
### Fixed
* Fixed obtaining namespace & setting it using container id (seems to be a bug in new containerd-client version?)
### Misc
* Add manual image build and push workflow
* Add docker image build sanity
## 2.0.0-alpha-1 - 28/4/2022
### Misc
* Fix image build lacks cmake
Expand Down
Loading

0 comments on commit 46724b4

Please sign in to comment.