Giter VIP home page Giter VIP logo

ocaml.org-infratest's Introduction

ocaml.org-infratest

Regression tests for ocaml.org websites and services.

The first goal of this repository is to gather tests to check that everything is running fine in OCaml webistes. There is a daily run on a Jenkins instance that checks the health of services and websites.

As of writing this README, we mostly test forge.ocamlcore.org (one day will become forge.ocaml.org) and related services.

Initialy this test suite has been designed to handle an OS migration (from lenny to squeeze). It helps to ensure that after the migration, everything is still working

TODO: jenkins instances.

What is tested

We test has much things has possible:

  • forge.o.o:
    • landing page
    • project test-darcs: read-only access, write access, VCS viewer
    • project test-git: git read-only access, write access, VCS viewer
    • project test-svn: git read-only access, write access, VCS viewer
    • sending email to test-darcs-devel mailing-list
    • homepage test-darcs.forge.ocamlcore.org
    • DNS zonecheck on forge.ocamlcore.org
    • port SMTP, FTP, DNS, HTTP, HTTPS
    • ssh connection to ssh.o.o
  • darcs.o.o: VCS viewer, existence of test-darcs project
  • git.o.o: VCS viewer, existence of test-git project
  • oasis-db:
    • landing page
    • existence of sekred v0.1.5
    • API/list function, existence of project sekred
  • planet.o.o:
    • landing page
    • recent update

How to run it

Go to the top of the source directory and run:

$> make

Setting up the test environment

TODO: generalize HAS_SSH_ACCESS

Setting up a specific user account:

  1. Goto forge.ocamlcore.org.
  2. Create a user "test-$USER".
  3. Enter a valid email.
  4. Wait for account creation.
  5. Create a ssh-key "ssh-keygen -f test-$USER".
  6. Add your SSH key to your account.
  7. Rename the file "test-$USER" to "test-$USER.key".
  8. Wait for your SSH key to become effective (i.e. you are able to login into ssh.ocamlcore.org with "test-$USER" and your SSH key).
  9. Request for your new user to be added to project test-darcs, test-git, test-svn.
  10. Wait for effective addition to the projects.
  11. Create a file vars.sh at the top, with the following content:

TODO

ocaml.org-infratest's People

Watchers

 avatar  avatar

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.