Skip to content

Commit

Permalink
Merge pull request #435 from bulwark-security/update-test-plugins
Browse files Browse the repository at this point in the history
Update all of the plugins and verify in CI that they've stayed up-to-date.
  • Loading branch information
sporkmonger authored Dec 30, 2024
2 parents 4e71c15 + 7d91e96 commit 1299d9e
Show file tree
Hide file tree
Showing 5 changed files with 407 additions and 540 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,28 @@ jobs:
- name: Kill Envoy service
run: /usr/bin/docker kill envoy

- name: Ensure test plugins are up-to-date
run: |
#!/bin/bash
set -euo pipefail
PLUGINS=(
"multi-phase-plugin-a"
"multi-phase-plugin-b"
"redis-plugin"
"smoke-test"
)
for plugin in "${PLUGINS[@]}"; do
echo "Updating plugin: $plugin"
(
cd "tests/plugins/$plugin"
if ! cargo update; then
echo "::error::Failed to update $plugin"
exit 1
fi
)
done
- name: Ensure non-dirty repo
run: git diff --exit-code
Loading

0 comments on commit 1299d9e

Please sign in to comment.