-
Notifications
You must be signed in to change notification settings - Fork 116
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
[Buildkite] Enable delete redshift clusters with dry_run false #1849
Conversation
Add trap function to ensure all files created during this process are deleted.
.buildkite/scripts/cloud-cleanup.sh
Outdated
if ! aws redshift delete-cluster \ | ||
--cluster-identifier "${identifier}" \ | ||
--skip-final-cluster-snapshot \ | ||
--output json \ | ||
--query "Clusters[*].{ClusterStatus:ClusterStatus,ClusterIdentifier:ClusterIdentifier}" ; then |
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.
Just show those values from the response.
.buildkite/pipeline.yml
Outdated
@@ -10,76 +10,84 @@ env: | |||
IMAGE_UBUNTU_X86_64: "family/core-ubuntu-2204" | |||
|
|||
steps: | |||
- label: ":go: Run check-static" |
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.
I would restore this file before merging, in case it is needed to do more tests.
catalog-info.yaml
Outdated
@@ -153,7 +153,7 @@ spec: | |||
ingest-fp: | |||
access_level: MANAGE_BUILD_AND_READ | |||
everyone: | |||
access_level: BUILD_AND_READ | |||
access_level: READ_ONLY |
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.
👍
/test |
1 similar comment
/test |
💚 Build Succeeded
History
cc @mrodm |
Enable in cloud cleanup pipeline the action to delete Redshift Clusters when DRY_RUN is set to false.
Currently, keep DRY_RUN=true by default when it is triggered the pipeline automatically, since it has not been tested for the other resources.