-
Notifications
You must be signed in to change notification settings - Fork 4
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
Integration tests (#5) #15
base: main
Are you sure you want to change the base?
Conversation
ba11033
to
dd34e6e
Compare
0e232b0
to
2c94f98
Compare
4bfa9d1
to
093fb72
Compare
Signed-off-by: Anton Engelhardt <[email protected]>
Signed-off-by: Anton Engelhardt <[email protected]>
48c8f01
to
ef3489c
Compare
Signed-off-by: Anton Engelhardt <[email protected]>
ef3489c
to
fcc404b
Compare
Signed-off-by: Anton Engelhardt <[email protected]>
Signed-off-by: Anton Engelhardt <[email protected]>
90f6b99
to
e3b43d5
Compare
Signed-off-by: Anton Engelhardt <[email protected]>
Signed-off-by: Anton Engelhardt <[email protected]>
f51f708
to
bf5d9e6
Compare
Signed-off-by: Anton Engelhardt <[email protected]>
370b9a4
to
12df230
Compare
Signed-off-by: Anton Engelhardt <[email protected]>
83cecff
to
de1d420
Compare
Signed-off-by: Anton Engelhardt <[email protected]>
de1d420
to
dda94ee
Compare
|
||
services: | ||
envoy: | ||
image: envoyproxy/envoy:v1.24-latest |
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.
image: envoyproxy/envoy:v1.24-latest | |
image: envoyproxy/envoy:v1.30-latest |
> [!IMPORTANT] | ||
> Adjust the `.env` and `envoy.yaml` files to your needs. You need to replace the `config_endpoint`, `client_id`, `client_secret`, `redirect_uri`, `issuer`, `audience` and `aes_key` with your own values. In the CI, [Auth0](https://auth0.com) is used as the identity provider. The `aes_key` can be generated with `openssl rand -base64 32`. | ||
|
||
Then run build the plugin and run the tests: |
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.
Then run build the plugin and run the tests: | |
Then build the plugin and run the tests: |
# If you wan to use this local image, change the option in envoy.yaml: | ||
# clusters.httpbin.load_assignment.endpoints[0].lb_endpoints[0].endpoint.address.socket_address.address | ||
# to "httpbin" |
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.
Change comment to use httpbin.org as alternative
# Change to httpbin if using local container | ||
address: httpbin.org | ||
port_value: 80 | ||
hostname: "httpbin.org" |
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.
# Change to httpbin if using local container | |
address: httpbin.org | |
port_value: 80 | |
hostname: "httpbin.org" | |
# Change to httpbin.org if using external site | |
address: httpbin | |
port_value: 80 |
admin: | ||
address: | ||
socket_address: | ||
address: 0.0.0.0 | ||
port_value: 9901 |
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.
admin: | |
address: | |
socket_address: | |
address: 0.0.0.0 | |
port_value: 9901 |
admin: | ||
address: | ||
socket_address: | ||
address: 0.0.0.0 | ||
port_value: 9901 |
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.
admin: | |
address: | |
socket_address: | |
address: 0.0.0.0 | |
port_value: 9901 |
admin: | ||
address: | ||
socket_address: | ||
address: 0.0.0.0 | ||
port_value: 9901 |
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.
admin: | |
address: | |
socket_address: | |
address: 0.0.0.0 | |
port_value: 9901 |
Closes #5: Implement integration tests that simulate the normal behavior of a user.