Giter Site home page Giter Site logo

simplytest's Introduction

8.x-3.x Build Status Stories in Ready

simplytest.me

An online service that provides on-demand sandbox environments for evaluating drupal.org projects like modules, themes and distributions.

Simple, fast and for free! Visit our website

Service architecture

Simplytest.me will build a shell script for setting up Drupal and use spawn.sh online service to create temporary containers. (spawn.sh was specifically created as independend abstraction layer for simplytest.me)

Contribute

  1. Ask Patrick nicely for a token (@patrickd_de on twitter). Spawn.sh is (currently) a closed service. You need an API token so that when you make requests, it allows your requests to pass. Patrick is in charge of spawn.sh and will manage who has tokens.
  2. Look for an issue. We are currently tracking all issues for the D8 development phase on github. Find an issue you are interested in and start working if it is not yet assigned to anyone. Feel free to ask questions!
  3. Boom! Start contributing...

Setup

  1. Install simplytest install profile. Simplytest for Drupal 8 is an install profile. Which means that when you install it, it will set up a log of configuration for you so that you don't have to. Simply download it from drupal.org and place the profile directory in [drupal_root]/profiles. The when installing (either via drush or through the web ui) choose simplytest as your installation profile.

  2. Set API token. The best way to do this is using Drush:

    drush sset simplytest_submission.service_token "TOKEN"

    If you haven't got drush, you can also place the token in your settings.php file:

$settings['simplytest_submission'] = [
  'service_token' => 'TOKEN',
];

simplytest's People

Contributors

davereid avatar decipher avatar m1ke avatar patrickd- avatar yanniboi avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

m1ke waffle-iron

simplytest's Issues

Manage progress and debug in PHP

It would be nice if we could listen to the progress websocket and update progress in PHP rather than in JS.

This would include being able to handle redirect better as well as store the container url on the submission entity.

Do permission review

Lets decide on a list of permissions that we need for front end users and admin for the site.

It might be as simple as admins can do everything ('administer simplytest') and anyone can create submissions (no permission needed).

Progress page stuck

screenshot from 2017-05-15 23-45-08

While testing opensocial after deploying the current 8.x-3.x on new.simplytest.me the progress page got stuck โ€“ the URL to the container was visible in the logs but the button wasn't shown.

I couldn't reproduce it so far. I unfortunately didn't have the network debug tab open while it happend and there were no errors in the console.
So all in all it sounds like impossible to fix.. ^^

Add statuses to the submission

It would be good to have statuses.

Eg.

  • Started
  • Build
  • Failed
  • etc.

Not sure how we want to use this yet, but would be good for reporting.

Remove field_group dependency

We still have field group as dependency in the modules.yaml file and composer file (in #3) although we don't use it anymore.

Task: Remove any references of field_group.

Re-enable Interpreter/Webserver selection

In the prototype you could select between using

Interpreter: php-fpm, php-mod
Webserver: apache2, nginx

for the submission. Problem is that you can mix them up in an incompatible manner.
php-fpm doesn't work with apache2 (yet)
php-mod doesn't work with nginx (not possible)

Can we use drupal form #state magic to ensure only compatible combinations can be selected?
Should we merge the two select boxes into a single one?

Improve UI wording

  • title of the submission page is ... "Thank your for your submission" :D maybe change it to something like submission is being processed?

  • submit button is now "deploy sandbox" โ€“ i personally don't disagree but i'm not sure if this would be understood by non-devs?

Disable form if no token configured

I'm able to try launching sandboxes although spawn.sh token hasn't been set (progress page is shown with websocket errors in console, watchdog logs: No settings found for simplytest_submission)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.