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

Om 191 #115

Merged
merged 6 commits into from
May 9, 2024
Merged

Om 191 #115

merged 6 commits into from
May 9, 2024

Conversation

mphanias
Copy link
Contributor

@mphanias mphanias commented May 9, 2024

added GitHub action to create and upload aerospike-grafana-dashboards-$VERSION.tar.gz to GitHub release tags

mphanias added 3 commits May 6, 2024 11:35
added github action to upload tar.gz and zip artefacts to release tag
kept only zip files ( & removed tar.gz files of dashboards)
modified zip filename with pattern aerospike-grafana-dashboard-<version>.zip
updated artefact as tar.gz files
@mphanias mphanias requested a review from sunilvirus May 9, 2024 02:33
cd config/grafana
echo "Tar & GZipping tar files"
VERSION=${GITHUB_REF_NAME#v}
tar cvf aerospike-grafana-dashboards-$VERSION.tar dashboards/*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not single step with 'tar czf' ?

# echo "tag_name $TAG_NAME"
echo

files=$(find config/grafana -type f -name "aerospike-grafana-dashboards*" -printf "$(realpath -s %p) ")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You know the exact path. why find ?

mphanias and others added 3 commits May 9, 2024 12:49
removed unnecessary code
unified tar and gzip in single step
Copy link
Member

@sunilvirus sunilvirus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final version looks good.

@sunilvirus sunilvirus merged commit 8e190ff into dev May 9, 2024
1 check passed
@sunilvirus sunilvirus deleted the OM-191 branch May 9, 2024 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants