Skip to content
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

Open
wants to merge 50 commits into
base: main
Choose a base branch
from
Open

Integration tests (#5) #15

wants to merge 50 commits into from

Conversation

antonengelhardt
Copy link
Owner

@antonengelhardt antonengelhardt commented Nov 5, 2023

Closes #5: Implement integration tests that simulate the normal behavior of a user.

@antonengelhardt antonengelhardt added the semver:minor Release in the next minor version label Nov 13, 2023
@antonengelhardt antonengelhardt force-pushed the integration-tests branch 26 times, most recently from 0e232b0 to 2c94f98 Compare November 16, 2023 14:29
Signed-off-by: Anton Engelhardt <[email protected]>
Signed-off-by: Anton Engelhardt <[email protected]>
Signed-off-by: Anton Engelhardt <[email protected]>
Signed-off-by: Anton Engelhardt <[email protected]>
Signed-off-by: Anton Engelhardt <[email protected]>
Signed-off-by: Anton Engelhardt <[email protected]>
Signed-off-by: Anton Engelhardt <[email protected]>
@antonengelhardt antonengelhardt force-pushed the integration-tests branch 8 times, most recently from 83cecff to de1d420 Compare March 30, 2024 17:19
Signed-off-by: Anton Engelhardt <[email protected]>

services:
envoy:
image: envoyproxy/envoy:v1.24-latest
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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:
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Then run build the plugin and run the tests:
Then build the plugin and run the tests:

Comment on lines +17 to +19
# 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"
Copy link
Owner Author

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

Comment on lines +80 to +83
# Change to httpbin if using local container
address: httpbin.org
port_value: 80
hostname: "httpbin.org"
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# 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

Comment on lines +1 to +5
admin:
address:
socket_address:
address: 0.0.0.0
port_value: 9901
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
admin:
address:
socket_address:
address: 0.0.0.0
port_value: 9901

Comment on lines +10 to +14
admin:
address:
socket_address:
address: 0.0.0.0
port_value: 9901
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
admin:
address:
socket_address:
address: 0.0.0.0
port_value: 9901

Comment on lines +1 to +5
admin:
address:
socket_address:
address: 0.0.0.0
port_value: 9901
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
admin:
address:
socket_address:
address: 0.0.0.0
port_value: 9901

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:minor Release in the next minor version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Testing
1 participant