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

[Buildkite] Enable delete redshift clusters with dry_run false #1849

Merged
merged 19 commits into from
May 22, 2024

Conversation

mrodm
Copy link
Contributor

@mrodm mrodm commented May 21, 2024

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.

@mrodm mrodm self-assigned this May 21, 2024
Comment on lines 189 to 193
if ! aws redshift delete-cluster \
--cluster-identifier "${identifier}" \
--skip-final-cluster-snapshot \
--output json \
--query "Clusters[*].{ClusterStatus:ClusterStatus,ClusterIdentifier:ClusterIdentifier}" ; then
Copy link
Contributor Author

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.

@mrodm mrodm marked this pull request as ready for review May 22, 2024 11:40
@mrodm mrodm requested a review from a team May 22, 2024 11:40
@@ -10,76 +10,84 @@ env:
IMAGE_UBUNTU_X86_64: "family/core-ubuntu-2204"

steps:
- label: ":go: Run check-static"
Copy link
Contributor Author

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.

@@ -153,7 +153,7 @@ spec:
ingest-fp:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: BUILD_AND_READ
access_level: READ_ONLY
Copy link
Member

Choose a reason for hiding this comment

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

👍

@mrodm
Copy link
Contributor Author

mrodm commented May 22, 2024

/test

1 similar comment
@mrodm
Copy link
Contributor Author

mrodm commented May 22, 2024

/test

@mrodm mrodm enabled auto-merge (squash) May 22, 2024 16:45
@mrodm mrodm merged commit e27cfc0 into elastic:main May 22, 2024
3 checks passed
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @mrodm

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.

3 participants