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

Create or designate test apps for Node, Meteor, and Go stacks #298

Open
ocdtrekkie opened this issue Apr 9, 2021 · 3 comments
Open

Create or designate test apps for Node, Meteor, and Go stacks #298

ocdtrekkie opened this issue Apr 9, 2021 · 3 comments

Comments

@ocdtrekkie
Copy link
Collaborator

Generally, upon any radical vagrant-spk changes, I test against php-app-to-package-for-sandstorm and python-app-to-package-for-sandstorm, which are both excellent baseline test apps that use the base stack scripts for lemp and uwsgi respectively. (lesp is basically a simpler version of the lemp stack, so I also feel it is adequately tested this way.)

However, I do not have good test cases for our other stacks, which occasionally means they are broken until someone has a bad experience trying to use them. I think we need "Hello, world" level test apps that run with unmodified (or minimally modified) stack scripts for the Node, Meteor, and Go stacks.

@zenhack
Copy link
Collaborator

zenhack commented Jul 14, 2022

Where do we want to collect these? I'd like to not just have half a dozen repos in random people's accounts that we have to separately keep track of, do we want to collect these hello world apps in a single repo somewhere?

...or I guess we could pull stuff in as submodules.

Ideally, I'd like to have this be semi-automated, but that's non-trivial given the combination of (1) interacting with grains programmatically is a bit of work and (2) launching VMs in CI would require a lot of setup and probably couldn't use GitHub actions (I wouldn't mind moving to something non-proprietary, but I do not want to shave this yak is the point).

@ocdtrekkie
Copy link
Collaborator Author

In the short term, I'd maybe just throw together a list in a Markdown file in the repo. Since our current test apps are https://github.com/sandstorm-io/php-app-to-package-for-sandstorm/ and https://github.com/sandstorm-io/python-app-to-package-for-sandstorm/ they are pretty easy to find, and hence not listed anywhere.

I really just want something that's a reasonably good idea to validate any given stack against that's kinda "just the basics". Not sure if that would best be done by... literally just making more hello world apps like above or not. (But if so, we can transfer them to the sandstorm-io org)

@ocdtrekkie
Copy link
Collaborator Author

Some of these are probably really good projects for newcomers to tackle, because it doesn't require deep understanding of Sandstorm, just how to build some small one-pager web apps in these platform stacks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants