-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(integration): re-enable some tests by renaming their filename (#…
…9906) Co-authored-by: Michael Martin <flrgh@protonmail.com>
- Loading branch information
Showing
10 changed files
with
36 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
function red() { | ||
echo -e "\033[1;31m$*\033[0m" | ||
} | ||
|
||
readarray -t FOUND < \ | ||
<( | ||
git ls-files 'spec/[0-9]**.lua' \ | ||
| grep -vE \ | ||
-e '_spec.lua$' \ | ||
-f spec/on_demand_specs | ||
) | ||
|
||
if (( ${#FOUND[@]} > 0 )); then | ||
echo | ||
red "----------------------------------------------------------------" | ||
echo "Found some files in spec directory that do not have the _spec suffix, please check if you're misspelling them. If there is an exception, please add the coressponding files(or their path regexes) into the whitelist spec/on_demand_specs." | ||
echo | ||
echo "Possible misspelling file list:" | ||
echo | ||
printf "%s\n" "${FOUND[@]}" | ||
red "----------------------------------------------------------------" | ||
exit 1 | ||
fi |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Whitelist regexes representing file paths that will not be tested during running busted CI | ||
spec/02-integration/05-proxy/10-balancer/05-stress.lua | ||
spec/03-plugins/16-jwt/fixtures.lua | ||
spec/04-perf/.* |
2b8d444
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bazel Build
Docker image available kong/kong:2b8d44487a3f3919a9369549c62f42f75cc9313c
Artifacts available https://github.com/Kong/kong/actions/runs/3683292737
2b8d444
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docker image available kong/kong:master-deb
Artifacts avaialble https://github.com/Kong/kong/actions/runs/3683292737
2b8d444
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docker image available kong/kong:master-apk
Artifacts avaialble https://github.com/Kong/kong/actions/runs/3683292737
2b8d444
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docker image available kong/kong:master-rpm
Artifacts avaialble https://github.com/Kong/kong/actions/runs/3683292737