-
Notifications
You must be signed in to change notification settings - Fork 132
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: show latest created packages in S3 Repository #1977
base: master
Are you sure you want to change the base?
Conversation
d25760a
to
c1ecf7f
Compare
c1ecf7f
to
ba31b37
Compare
Pull Request Test Coverage Report for Build 12482806931Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
workflow_dispatch: | ||
inputs: | ||
count: | ||
description: 'Amount of files to show' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Would it be clearer to use Number of files to show
?
default: '500' | ||
required: true | ||
date_time: | ||
description: 'Date and time to show files added before and after (YYYY-MM-DD HH:MM:SS)' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Would it be required to know that it is in UTC
timezone? Maybe the description can mention that.
|
||
- name: List files created before and after datetime in S3 | ||
run: | | ||
TZ="UTC" aws s3 ls s3://nr-downloads-main/infrastructure_agent/ --recursive | sort | grep --color -m 1 -C {{ github.event.inputs.count }} "^${{ github.event.inputs.date_time }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q: Is it only required for Prod?
GH Actions to:
deb|rpm
packages in S3 RepositoryExample jobs:
https://github.com/newrelic/infrastructure-agent/actions/runs/12482710904/job/34837305390
https://github.com/newrelic/infrastructure-agent/actions/runs/12482710908/job/34837305292