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

Adds status checks for integration test Redshift cluster #1255

Merged
merged 13 commits into from
Apr 28, 2023

Conversation

saurav-c
Copy link
Contributor

@saurav-c saurav-c commented Apr 27, 2023

Describe your changes and why you are making these changes

This PR adds some extra checking to make sure the Redshift cluster is in the correct state when resuming and pausing it before/after the data integration tests.

See example github action here as a test: https://github.com/aqueducthq/aqueduct/actions/runs/4825449922/jobs/8596314618

Related issue number (if any)

ENG 2776

Loom demo (if any)

Checklist before requesting a review

  • I have created a descriptive PR title. The PR title should complete the sentence "This PR...".
  • I have performed a self-review of my code.
  • I have included a small demo of the changes. For the UI, this would be a screenshot or a Loom video.
  • If this is a new feature, I have added unit tests and integration tests.
  • I have run the integration tests locally and they are passing.
  • I have run the linter script locally (See python3 scripts/run_linters.py -h for usage).
  • All features on the UI continue to work correctly.
  • Added one of the following CI labels:
    • run_integration_test: Runs integration tests
    • skip_integration_test: Skips integration tests (Should be used when changes are ONLY documentation/UI)

@saurav-c saurav-c added the skip_integration_test Skips required integration test (only documentation/UI changes) label Apr 27, 2023
scripts/data/redshift_test.py Show resolved Hide resolved
mention_users: ${{ env.ONCALL_SLACK_MEMBER_ID }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
# - name: Get the Slack ID for the current oncall
Copy link
Contributor

Choose a reason for hiding this comment

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

It's probably good for us to set timeouts for both the setup and teardown steps here.

@saurav-c saurav-c merged commit eec2c78 into main Apr 28, 2023
@saurav-c saurav-c deleted the eng-2776-make-redshift-start-and-pause-in-github branch April 28, 2023 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip_integration_test Skips required integration test (only documentation/UI changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants