For the e2e tests we use values.yaml to enable various exporters.
Adding additional commented out exporter instances to cover gitea, gitlab and bitbucket committime metrics allows to include tests using binary build annotations that are working with those exporters.
Each instance have different string for commenting it out that is specific to the backend and type of exporter. This allows to enable/disable various exporters during test execution using simple sed "s/#${EXPORTER_TYPE}@//g" option.
We will create separate namespace for each annotated build to easy cleanup process during e2e tests.
For the e2e tests we use values.yaml to enable various exporters.
Adding additional commented out exporter instances to cover gitea, gitlab and bitbucket committime metrics allows to include tests using binary build annotations that are working with those exporters.
Each instance have different string for commenting it out that is specific to the backend and type of exporter. This allows to enable/disable various exporters during test execution using simple
sed "s/#${EXPORTER_TYPE}@//g" option.
We will create separate namespace for each annotated build to easy cleanup process during e2e tests.