Skip to content

chore(ci): add workflow to dispatch analytics fetching #248

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

Merged

Conversation

rubenfonseca
Copy link
Contributor

Please provide the issue number

Issue number: #247

Summary

Changes

Please provide a summary of what's being changed

This PR adds a new GitHub action workflow that runs every hour, and uses the GITHUB_TOKEN to dispatch the crawling of the analytics data.

User experience

Please share what the user experience looks like before and after this change

In order to merge this we'll need:

  • create a new GitHub environment called "analytics"
  • inside that new environment, create two new secrets (please contact me on Slack for the values):
    • AWS_ANALYTICS_ROLE_ARN
    • AWS_ANALYTICS_DISPATCHER_ARN

Checklist

Please leave checklist items unchecked if they do not apply to your change.

Is this a breaking change?

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@rubenfonseca rubenfonseca marked this pull request as ready for review April 25, 2023 12:44
@auto-assign auto-assign bot requested a review from amirkaws April 25, 2023 12:44
@rubenfonseca rubenfonseca linked an issue Apr 25, 2023 that may be closed by this pull request
1 task
@github-actions github-actions bot added the internal Maintenance changes label Apr 25, 2023
@codecov-commenter
Copy link

Codecov Report

Patch and project coverage have no change.

Comparison is base (8bb7863) 56.29% compared to head (45939f7) 56.29%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #248   +/-   ##
========================================
  Coverage    56.29%   56.29%           
========================================
  Files           41       41           
  Lines         1796     1796           
========================================
  Hits          1011     1011           
  Misses         785      785           
Flag Coverage Δ
unittests 56.29% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@rubenfonseca rubenfonseca merged commit e824ddd into aws-powertools:develop Apr 25, 2023
@rubenfonseca rubenfonseca deleted the rf/dispatch-analytics branch April 25, 2023 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Maintenance changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maintenance: introduce reporting workflow
3 participants