-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update README for CLI v4 beta #26
Conversation
cc5c954
to
8a3252d
Compare
8a3252d
to
3636365
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want, I can rejigger those test scripts, which are now referenced from .github/workflows and update this PR?
setup.sh
Outdated
fauna query --input seed/categories.fql --secret "$FAUNA_SECRET" | ||
echo -e "\n\n" | ||
fauna query --input seed/customers.fql --secret "$FAUNA_SECRET" | ||
echo -e "\n\n" | ||
fauna query --input seed/products.fql --secret "$FAUNA_SECRET" | ||
echo -e "\n\n" | ||
fauna query --input seed/orders.fql --secret "$FAUNA_SECRET" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You probably didn't see it, but I put a new file test/setup.sh
that somewhat duplicates this file, I think we need to rename that file, or this file. Maybe we could rename this one seed.sh
and put this script along with setup.sh
and validate.sh
in a directory called scripts
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I did the following:
- Renamed this file to
seed.sh
and placed it in/scripts
. - Moved
/test/*
files over to/scripts
. - Updated references in
test.yml
- Deleted some redundant data in
/seed/*.json
files.
There's some additional work needed to update test.yml
to the CLI v4 beta. Once that's done, we can just call seed.sh
from setup.sh
. However, that's a bit beyond the scope of this PR. I can tackle that in a separate PR if wanted.
Feel free to push changes to this PR/branch. Appreciate you taking a look!
.seed.sh
file so users can add test data.fql
files used for test data