Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
meowjesty committed Oct 14, 2024
2 parents a650961 + 2ad2a5a commit be0b83b
Show file tree
Hide file tree
Showing 11 changed files with 72 additions and 8,182 deletions.
40 changes: 19 additions & 21 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:
if: ${{needs.changed_files.outputs.rs_changed == 'true' || needs.changed_files.outputs.ci_changed == 'true'}}
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-protoc@v1
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Otherwise the arguments to the setup-rust-toolchain action are ignored.
Expand All @@ -154,8 +154,8 @@ jobs:
toolchain: nightly-2024-04-15
components: rustfmt, clippy
target: aarch64-unknown-linux-gnu,x86_64-unknown-linux-gnu
- uses: actions/setup-python@v3 # For http mirroring tests with Flask and FastAPI.
- run: pip3 install cargo-zigbuild # For http mirroring test with Flask.
- uses: actions/setup-python@v5 # For http mirroring tests with Flask and FastAPI.
- run: pip3 install --break-system-packages cargo-zigbuild # For http mirroring test with Flask.
- run: cargo fmt --all -- --check
# x64
- run: cargo-zigbuild clippy --lib --bins --all-features --target x86_64-unknown-linux-gnu --tests -- -Wclippy::indexing_slicing -D warnings
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
RUSTDOCFLAGS: "--enable-index-page -Zunstable-options -Dwarnings"
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-protoc@v1
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions-rust-lang/setup-rust-toolchain@v1
Expand All @@ -205,7 +205,7 @@ jobs:
image: ghcr.io/metalbear-co/ci-agent-build:f8330d35a2a4b9132138f6fa9a3f3f80768c7c32
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-protoc@v1
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: test
Expand All @@ -217,7 +217,7 @@ jobs:
if: ${{needs.changed_files.outputs.rs_changed == 'true' || needs.changed_files.outputs.ci_changed == 'true' || needs.changed_files.outputs.dockerfile_changed == 'true' }}
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3
- name: build and export
uses: docker/build-push-action@v6
with:
Expand All @@ -239,7 +239,7 @@ jobs:
if: ${{needs.changed_files.outputs.rs_changed == 'true' || needs.changed_files.outputs.ci_changed == 'true' || needs.changed_files.outputs.dockerfile_changed == 'true' }}
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3
- name: build and export
uses: docker/build-push-action@v6
with:
Expand Down Expand Up @@ -288,26 +288,26 @@ jobs:
with:
node-version: 14
- run: npm install express # For http mirroring test with node.
- uses: actions/setup-python@v3 # For http mirroring tests with Flask and FastAPI.
- run: pip3 install flask fastapi uvicorn[standard] # For http mirroring test with Flask.
- uses: actions/setup-python@v5 # For http mirroring tests with Flask and FastAPI.
- run: pip3 install --break-system-packages flask fastapi uvicorn[standard] # For http mirroring test with Flask.
# don't use "cache" for other Gos since it will try to overwrite and have bad results.
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
cache-dependency-path: tests/go-e2e/go.sum
- run: |
go version
- run: | # Build Go test apps.
./scripts/build_go_apps.sh 21
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
cache: false
- run: |
go version
- run: | # Build Go test apps.
./scripts/build_go_apps.sh 22
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23"
cache: false
Expand Down Expand Up @@ -386,7 +386,7 @@ jobs:
target: aarch64-apple-darwin
toolchain: nightly-2024-04-15
- name: Install Protoc
uses: arduino/setup-protoc@v2
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: clippy x64
Expand All @@ -411,7 +411,7 @@ jobs:
- run: |
cd mirrord/layer/tests/apps/issue2058
rustc issue2058.rs --out-dir target
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
cache-dependency-path: tests/go-e2e/go.sum
Expand All @@ -420,15 +420,15 @@ jobs:
# don't use "cache" for other Gos since it will try to overwrite and have bad results.
- run: | # Build Go test apps.
./scripts/build_go_apps.sh 21
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
cache: false
- run: |
go version
- run: | # Build Go test apps.
./scripts/build_go_apps.sh 22
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23"
cache: false
Expand Down Expand Up @@ -471,10 +471,8 @@ jobs:
candidate: java
version: 17.0.6-tem
- run: java -version
- uses: actions/setup-python@v3 # For http mirroring tests with Flask and FastAPI.
- run: pip3 install flask # For http mirroring test with Flask.
- run: pip3 install fastapi # For http mirroring test with FastAPI.
- run: pip3 install uvicorn[standard] # For http mirroring test with FastAPI.
- uses: actions/setup-python@v5 # For http mirroring tests with Flask and FastAPI.
- run: pip3 install --break-system-packages flask fastapi uvicorn[standard] # For http mirroring test with Flask.
- uses: actions/setup-node@v3
with:
node-version: 18
Expand Down Expand Up @@ -559,7 +557,7 @@ jobs:
if: ${{ needs.check_if_release_branch.outputs.release_branch == 'true' }}
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-protoc@v1
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions-rust-lang/setup-rust-toolchain@v1
Expand Down
41 changes: 40 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,43 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang

<!-- towncrier release notes start -->

## [3.120.1](https://github.com/metalbear-co/mirrord/tree/3.120.1) - 2024-10-14


### Removed

- Remove support for IPv6 sockets with mirrord.
[#2836](https://github.com/metalbear-co/mirrord/issues/2836)


### Internal

- Update github actions dependencies

## [3.120.0](https://github.com/metalbear-co/mirrord/tree/3.120.0) - 2024-10-13


### Added

- Added Kafka splitting feature.
[#2601](https://github.com/metalbear-co/mirrord/issues/2601)


### Changed

- Add analytics about usage of experimental features
- Add option to have logs when running ext commands
- update dependencies


### Fixed

- Fixed a bug where `all_of` and `any_of` HTTP filters were stealing all HTTP
traffic. [#2817](https://github.com/metalbear-co/mirrord/issues/2817)
- Handle IPv4 in IPv6, should help with regressions related to allowing
AF_INET6 [#2827](https://github.com/metalbear-co/mirrord/issues/2827)


## [3.119.1](https://github.com/metalbear-co/mirrord/tree/3.119.1) - 2024-10-09


Expand Down Expand Up @@ -41,7 +78,9 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang
```
mirrord port-forward [options] -R [remote_port:]local_port -f
config_file.toml
``` [#2609](https://github.com/metalbear-co/mirrord/issues/2609)
```

[#2609](https://github.com/metalbear-co/mirrord/issues/2609)


### Changed
Expand Down
Loading

0 comments on commit be0b83b

Please sign in to comment.