Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add performance testing workflow for PR workflow (#1079)
# Description This pull request introduces a new job for performance testing and modifies the existing workflow for network performance measurement. The main changes include adding a new performance test job to the `images.yaml` workflow and updating the `perf.yaml` workflow to streamline its execution. New performance test job: * [`.github/workflows/images.yaml`](diffhunk://#diff-d0a3d6684c78a148cbf0725d5fe8b5aab6431da05b698a82c9e015516f3020baR334-R366): Added a new job `perf` to run Retina Performance Tests after the `manifests` job completes successfully. This job includes steps for checking out the code, setting up Go, logging into Azure CLI, and running end-to-end tests with performance tags. Updates to network performance measurement workflow: * [`.github/workflows/perf.yaml`](diffhunk://#diff-1aa140a875fcb7cae6b4ada7e6e973c4d55179ad046f56465f9f0ec592f283caL4-L7): Removed the `workflow_run` trigger and replaced it with a scheduled trigger to run the workflow every 12 hours. * [`.github/workflows/perf.yaml`](diffhunk://#diff-1aa140a875fcb7cae6b4ada7e6e973c4d55179ad046f56465f9f0ec592f283caL23): Removed the condition to check for `workflow_run` or `merge_group` events in the `perf_test` job. * [`.github/workflows/perf.yaml`](diffhunk://#diff-1aa140a875fcb7cae6b4ada7e6e973c4d55179ad046f56465f9f0ec592f283caL54-R52): Updated the `TAG` assignment logic to exclude the `merge_group` event and set the image registry to `ghcr.io`. ## Checklist - [X] I have read the [contributing documentation](https://retina.sh/docs/contributing). - [X] I signed and signed-off the commits (`git commit -S -s ...`). See [this documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification) on signing commits. - [X] I have correctly attributed the author(s) of the code. - [X] I have tested the changes locally. - [X] I have followed the project's style guidelines. - [X] I have updated the documentation, if necessary. - [X] I have added tests, if applicable. ## Screenshots (if applicable) or Testing Completed Please add any relevant screenshots or GIFs to showcase the changes made. ## Additional Notes Add any additional notes or context about the pull request here. --- Please refer to the [CONTRIBUTING.md](../CONTRIBUTING.md) file for more information on how to contribute to this project.
- Loading branch information