Skip to content

Support several origins for the savecodenow end to end checks

Vincent Sellier requested to merge mr/scn-e2e into production

Related to infra/sysadm-environment#4672

/cc @teams/sysadmin /cc @anlambert

Tested in vagrant:

root@pergamon:/etc/icinga2/conf.d# grep check-savecodenow e2e-checks.conf 
object CheckCommand "staging-check-savecodenow-cmd-git-git" {
  command = [ "/usr/bin/swh", "icinga_plugins", "--prometheus-exporter", "--prometheus-exporter-directory", "/var/lib/prometheus/node-exporter", "--environment", "staging", "--warning", 300, "--critical", 600, "check-savecodenow", "--swh-web-url", "https://webapp.staging.swh.network", "origin", "https://github.com/rdicosmo/parmap", "https://github.com/SoftwareHeritage/swh-core", "https://github.com/SoftwareHeritage/swh-lister", "https://github.com/SoftwareHeritage/swh-loader-bzr", "https://github.com/SoftwareHeritage/swh-loader-core", "https://github.com/SoftwareHeritage/swh-loader-git", "https://github.com/SoftwareHeritage/swh-loader-mercurial", "https://github.com/SoftwareHeritage/swh-loader-svn", "https://github.com/SoftwareHeritage/swh-model", "https://github.com/SoftwareHeritage/swh-web", "--visit-type", "git", ]
object CheckCommand "staging-check-savecodenow-cmd-mercurial-hg" {
  command = [ "/usr/bin/swh", "icinga_plugins", "--prometheus-exporter", "--prometheus-exporter-directory", "/var/lib/prometheus/node-exporter", "--environment", "staging", "--warning", 300, "--critical", 600, "check-savecodenow", "--swh-web-url", "https://webapp.staging.swh.network", "origin", "https://foss.heptapod.net/mercurial/hgview", "https://foss.heptapod.net/mercurial/tortoisehg", "https://foss.heptapod.net/mercurial/evolve", "https://foss.heptapod.net/mercurial/hg-git", "https://foss.heptapod.net/mercurial/hg-docgraph", "https://foss.heptapod.net/mercurial/mercurial-devel", "https://foss.heptapod.net/mercurial/pytest", "https://foss.heptapod.net/mercurial/scmperf", "--visit-type", "hg", ]
object CheckCommand "staging-check-savecodenow-cmd-subversion-svn" {
  command = [ "/usr/bin/swh", "icinga_plugins", "--prometheus-exporter", "--prometheus-exporter-directory", "/var/lib/prometheus/node-exporter", "--environment", "staging", "--warning", 300, "--critical", 600, "check-savecodenow", "--swh-web-url", "https://webapp.staging.swh.network", "origin", "https://subversion.renater.fr/anonscm/svn/panda", "https://svn.code.sf.net/p/freeorion/code", "https://svn.code.sf.net/p/swig/code", "https://svn.code.sf.net/p/zookeeper/code", "https://svn.code.sf.net/p/esitools/code", "https://svn.code.sf.net/p/sauerbraten/code/", "https://svn.code.sf.net/p/civ4mods/code", "https://svn.code.sf.net/p/ldap-sdk/code", "--visit-type", "svn", ]

Merge request reports