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

Adding Cloud Pod release and test workflows #4

Open
wants to merge 32 commits into
base: main
Choose a base branch
from

Conversation

steffyP
Copy link
Collaborator

@steffyP steffyP commented Jun 19, 2023

This PR adds workflows to automatically create Cloud Pod releases, and to test the released Cloud Pods on a weekly basis.

Releasing Cloud Pods

  • cloudpod_release.yml can be run manually
    • set the release-tag for the release-version
    • be aware, that the release-tag is the same tag as the LocalStack version tag, that is used to create pod.
  • it will re-create a release for latest for any pushes on main (e.g. we assume that the code changed).
  • A release will automatically be created or updated, including pods for mariadb and mysql
  • The release notes contain a Cloud Pod Launchpad as well.
  • In theory, we can create a release for any LocalStack version by running the workflow, and setting the release-tag (which will be used for both: the LocalStack version and the version of the release)

Testing Cloud Pods

  • test_cloudpods.yml is scheduled to run weekly
  • it contains a slack notifications hook, which will notify our dedicated slack channel if anything fails
    • NOTE: I decided not include the diagnose file, as I think it will be too big.
    • If the tests fail, we have the chance identify any regression with cloud pods
    • new version of the cloud pod must be created manually then
  • the workflows checks every released version, and injects the pods (for each flavor), and runs the smoke tests
  • also added the gautamkrishnar/keepalive-workflow which will add empty commits to make sure the workflows stay active.

Known Issue

  • the cloudpod tests are not stable yet (sometimes the lambda cannot connect to the database for both engines)
  • we will tackle this issue later on, as it seems very specific to this sample
  • we could disable the cloudpod test workflow in the meantime
  • I tested the cloudpod (for mysql) on my local machine, it worked as expected.

README

  • updated the README to contain information about Cloud Pods and the Launchpad

@steffyP steffyP changed the title [wip] [wip] Adding Cloud Pod release and test workflows Jun 21, 2023
@steffyP steffyP changed the title [wip] Adding Cloud Pod release and test workflows Adding Cloud Pod release and test workflows Jun 21, 2023
@steffyP steffyP marked this pull request as ready for review June 21, 2023 13:07
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.

None yet

1 participant