tektoncd / results

Long term storage of execution results.
Apache License 2.0
77 stars 73 forks source link

Make e2e tests more configurable #437

Closed avinal closed 1 year ago

avinal commented 1 year ago

Feature request

Currently, the e2e test uses various hard-coded parameters for the scenarios around testing with kind clusters only. We do have some environment variables for fetching tokens and ssl certs. Following the same path, we should review other parameters that would make it easier to run tests with different kinds of setups.

Especially the serverName and serverAddress variables.

Refer here:

https://github.com/tektoncd/results/blob/fdc47542cc0ce52fadaa4389a01ff0c2b75fe6e5/test/e2e/e2e_test.go#L59-L70

Use case

adambkaplan commented 1 year ago

+1 on this - it would be great if the e2e test script allows the tests to be run against a real deployment on a production cluster.

Variables that probably need/should be tunable:

avinal commented 1 year ago

/assign