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

Make platform integrations run idempotently #20

Merged
merged 11 commits into from
Jan 2, 2025
Merged

Conversation

DeeAjayi
Copy link
Contributor

No description provided.

…ng logic and improve error handling

Simplify the cluster provisioning process by consolidating HTTP requests
and error handling. Replace manual curl requests with the make_request
function for consistency. Comment out unused variable extraction and
introduce default values for log files. Enhance readability and maintainability
by reducing redundancy and improving logging.
…ding input from stdin for Terraform integration
… to return boolean status

refactor(setup_truefoundry_cluster.sh): remove redundant API_KEY and CONTROL_PLANE_URL checks in setup_provider_account function
feat(setup_truefoundry_cluster.sh): enhance logging for cluster status in main function
… and error handling for non-generic clusters
Copy link
Contributor

@dunefro dunefro left a comment

Choose a reason for hiding this comment

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

As a general note, we should pick one style

[ -z $VAR ] 

OR

if [ -z $VAR]

…ng and provider account setup by removing redundant echo statements and simplifying conditional checks
@sachincool sachincool merged commit 00eb302 into main Jan 2, 2025
6 checks passed
@sachincool sachincool deleted the add-cluster-check branch January 2, 2025 13:25
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