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

[cloud images] rename build_id to creation_timestamp tag #523

Merged
merged 1 commit into from
May 7, 2024

Conversation

yaronkaikov
Copy link
Collaborator

As part of my work in https://github.com/scylladb/scylla-pkg/issues/3827, i need to delete old Azure images based on creation date, it seems that Azure doesn't have this information (make no sense), to overcome this we should have a creation_timestamp date tag so we can use.

Also noticed that we don't really use the build_id tag, so replacing it for all cloud images

@yaronkaikov yaronkaikov requested a review from a team May 1, 2024 15:00
@yaronkaikov
Copy link
Collaborator Author

@yaronkaikov yaronkaikov self-assigned this May 1, 2024
@fruch
Copy link
Collaborator

fruch commented May 1, 2024

build_id is used by SCT, but I think we can drop it, or also replace it with the timestamp like in this change

@@ -76,8 +76,8 @@ while [ $# -gt 0 ]; do
shift 2
;;
"--build-id")
Copy link
Contributor

Choose a reason for hiding this comment

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

If the build-id renamed everywhere, change it here as well

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we can completely remove it as we now use date as default

benipeled
benipeled previously approved these changes May 2, 2024
As part of my work in scylladb/scylla-pkg#3827, i need to delete old
Azure images based on creation date, it seems that Azure doesn't have this information (make no sense),
to overcome this we should have a creation_timestamp date tag so we can use.

Also noticed that we don't really use the `build_id` tag, so replacing it for all cloud images and make it internal parameter
@yaronkaikov
Copy link
Collaborator Author

Waiting for scylladb/scylla-cluster-tests#7397

@yaronkaikov
Copy link
Collaborator Author

@yaronkaikov yaronkaikov merged commit be4692a into scylladb:next May 7, 2024
1 check passed
@yaronkaikov yaronkaikov deleted the timestamp-tag branch May 7, 2024 03:46
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.

4 participants