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

Add script to prepare platform setup to run automation tests. #317

Merged
merged 5 commits into from
Oct 29, 2024

Conversation

kadewu
Copy link
Member

@kadewu kadewu commented Oct 15, 2024

The script takes the snapshot named: update-automation-snapshot.sql
and makes sure that it is running on public schema instead of defined one in the script.

Next it makes sure to correctly import the snapshot and fill missing migrations if new ones appeared after snapshot was taken.

@kadewu kadewu marked this pull request as ready for review October 15, 2024 12:38
@michalina-graczyk
Copy link
Member

Copy link
Member

@andrzejewsky andrzejewsky left a comment

Choose a reason for hiding this comment

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

Two things:

  1. please add a few line of comment in this script what is exactly for, mention that it is for loading database, that you need saleor platform repo with link to it etc.
  2. name is it really "run-automation", this file does the database loading & migration, perhaps "setup-e2e-db.sh" would be more accurate?

@andrzejewsky andrzejewsky merged commit d2627b5 into main Oct 29, 2024
2 checks passed
@andrzejewsky andrzejewsky deleted the run_automation branch October 29, 2024 11:34
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