-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: fix ci pipeline to test all envoy versions #124
Conversation
@@ -3,6 +3,7 @@ | |||
# SPDX-License-Identifier: Apache-2.0 | |||
ENVOY_HOST=${ENVOY_HOST:-"localhost:8080"} | |||
HTTPBIN_HOST=${HTTPBIN_HOST:-"localhost:8081"} | |||
TIMEOUT_SECS=${TIMEOUT_SECS:-5} |
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.
Envoy 1.24 is currently not working as the request gets trapped. This timeout allows to timeout the request in such case.
@@ -250,7 +250,7 @@ func Ftw() error { | |||
|
|||
// RunExample spins up the test environment, access at http://localhost:8080. Requires docker-compose. | |||
func RunExample() error { | |||
return sh.RunV("docker-compose", "--file", "example/docker-compose.yml", "up", "-d", "envoy-logs") | |||
return sh.RunWithV(map[string]string{"ENVOY_IMAGE": os.Getenv("ENVOY_IMAGE")}, "docker-compose", "--file", "example/docker-compose.yml", "up", "-d", "envoy-logs") |
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.
This allows to run the example with different envoy versions.
This PR is failing due to the changes introduced in envoyproxy/envoy#23049 |
No description provided.