This is a Sandstorm app that runs the GNU MediaGoblin tests.
-
git clone https://github.com/paulproteus/gmg-tester
-
cd gmg-tester
-
vagrant-spk up
-
vagrant-spk dev
then make sure to visit the app in a browser at local.sandstorm.io:6080 and create a grain! -
export NEW_PUB_KEY=$(cd .sandstorm ; vagrant ssh -c 'spk keygen' | tail -n1)
-
sed -i "s,mtxy58x9sy8dq7d3jgp1uw1m7cv0y71wj396pmguay6uf2n2vtyh,$NEW_PUB_KEY," .sandstorm/sandstorm-pkgdef.capnp
-
vagrant-spk pack output.spk
-
Now you have
output.spk
and can run it anywhere.
Current status:
pre-v0.0.0
-
App exists and runs correctly in vagrant-spk.
-
App exists, and bundles a copy of the GMG source code in the SPK, and runs the tests on Sandstorm.
-
Within the grain, the
/
HTTP route contains information about if the build went OK.
- Each build gets a separate build log, and the top of the
index.html
page within the grain lists each build.
- App exports the status info over Sandstorm static publishing.
- App can use
git clone
to get a copy of the GMG code viahttp://git.savannah.gnu.org/cgit/mediagoblin.git/
by using the SandstormhttpGet
API. Note to self: Maybe can usedulwich
for git fetching, plus pycapnp.
- App can be pinged over basic auth HTTP, which must for now be done outside Sandstorm because there's no cron-like API in Sandstorm. When it receives the ping, the app updates some status note