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

ci: Emit benchmark metrics from scheduled runs #5064

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

goatgoose
Copy link
Contributor

@goatgoose goatgoose commented Jan 27, 2025

Description of changes:

#5007 updated the bench github action to build and run the benchmarks on PRs, but not publish any metrics. The condition I used to skip this step in the workflow was if: github.event_name == 'push'. This did succeed in preventing the metrics from emitting on PRs, but also prevented the metrics from emitting on scheduled runs.

This PR updates the metric emit condition to anything but PRs, so it will run on both pushes to main and on scheduled runs.

Call-outs:

None

Testing:

The bench action on this PR skips the emit steps:
https://github.com/aws/s2n-tls/actions/runs/13014897818/job/36301511926?pr=5064

This indicates that it will emit in all other circumstances.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Jan 27, 2025
@goatgoose goatgoose force-pushed the fix-scheduled-bench branch from c2380a8 to 620c147 Compare January 27, 2025 23:21
@goatgoose goatgoose force-pushed the fix-scheduled-bench branch from 620c147 to 5b5e944 Compare January 28, 2025 16:22
@goatgoose goatgoose marked this pull request as ready for review January 28, 2025 18:16
@goatgoose goatgoose added this pull request to the merge queue Jan 30, 2025
Merged via the queue into aws:main with commit 3e57b05 Jan 30, 2025
44 checks passed
@goatgoose goatgoose deleted the fix-scheduled-bench branch January 30, 2025 19:42
johubertj pushed a commit to johubertj/s2n-tls that referenced this pull request Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants