{"id":15061010,"url":"https://github.com/ocaml/ocaml.org-infratest","last_synced_at":"2025-10-04T19:32:21.330Z","repository":{"id":8891049,"uuid":"10610773","full_name":"ocaml/ocaml.org-infratest","owner":"ocaml","description":"Tests for ocaml.org websites and services.","archived":true,"fork":false,"pushed_at":"2013-06-12T22:49:53.000Z","size":116,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-01-23T15:37:35.367Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ocaml.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-10T22:23:40.000Z","updated_at":"2023-01-28T13:24:17.000Z","dependencies_parsed_at":"2022-08-28T05:01:57.564Z","dependency_job_id":null,"html_url":"https://github.com/ocaml/ocaml.org-infratest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ocaml/ocaml.org-infratest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocaml%2Focaml.org-infratest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocaml%2Focaml.org-infratest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocaml%2Focaml.org-infratest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocaml%2Focaml.org-infratest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ocaml","download_url":"https://codeload.github.com/ocaml/ocaml.org-infratest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocaml%2Focaml.org-infratest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278365981,"owners_count":25975087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T23:08:06.235Z","updated_at":"2025-10-04T19:32:21.059Z","avatar_url":"https://github.com/ocaml.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"ocaml.org-infratest\n===================\n\nRegression tests for ocaml.org websites and services.\n\nThe first goal of this repository is to gather tests to check that everything\nis running fine in OCaml webistes. There is a daily run on a Jenkins instance\nthat checks the health of services and websites.\n\nAs of writing this README, we mostly test forge.ocamlcore.org (one day will\nbecome forge.ocaml.org) and related services.\n\nInitialy this test suite has been designed to handle an OS migration (from lenny\nto squeeze). It helps to ensure that after the migration, everything is still\nworking\n\nTODO: jenkins instances.\n\nWhat is tested\n==============\n\nWe test has much things has possible:\n\n* forge.o.o:\n  * landing page\n  * project test-darcs: read-only access, write access, VCS viewer\n  * project test-git: git read-only access, write access, VCS viewer\n  * project test-svn: git read-only access, write access, VCS viewer\n  * sending email to test-darcs-devel mailing-list\n  * homepage test-darcs.forge.ocamlcore.org\n  * DNS zonecheck on forge.ocamlcore.org\n  * port SMTP, FTP, DNS, HTTP, HTTPS\n  * ssh connection to ssh.o.o\n* darcs.o.o: VCS viewer, existence of test-darcs project\n* git.o.o: VCS viewer, existence of test-git project\n* oasis-db:\n  * landing page\n  * existence of sekred v0.1.5\n  * API/list function, existence of project sekred\n* planet.o.o:\n  * landing page\n  * recent update\n\nHow to run it\n=============\n\nGo to the top of the source directory and run:\n\n$\u003e make\n\nSetting up the test environment\n===============================\n\nTODO: generalize HAS_SSH_ACCESS\n\nSetting up a specific user account:\n\n1. Goto forge.ocamlcore.org.\n2. Create a user \"test-$USER\".\n3. Enter a valid email.\n4. Wait for account creation.\n5. Create a ssh-key \"ssh-keygen -f test-$USER\".\n6. Add your SSH key to your\n   [account](https://forge.ocamlcore.org/account/editsshkeys.php).\n7. Rename the file \"test-$USER\" to \"test-$USER.key\".\n8. Wait for your SSH key to become effective (i.e. you are able to login into\n   ssh.ocamlcore.org with \"test-$USER\" and your SSH key).\n9. Request for your new user to be added to project test-darcs, test-git, test-svn.\n10. Wait for effective addition to the projects.\n11. Create a file vars.sh at the top, with the following content:\n\nTODO\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focaml%2Focaml.org-infratest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Focaml%2Focaml.org-infratest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focaml%2Focaml.org-infratest/lists"}