python / psf-salt

PSF infrastructure configuration
MIT License
108 stars 57 forks source link

restore codespeed local development #335

Closed ewdurbin closed 5 months ago

ewdurbin commented 6 months ago

This allows users to get a (almost?) working codespeed instance up locally:

vagrant up salt-master
vagrant up loadbalancer
vagrant up codespeed

Currently when isolated, cpython codespeed even works!

$ curl -sk https://localhost:20010/ -H"Host: speed.python.org" | head

<!DOCTYPE html>
<html>
  <head>
    <title>
    Python Speed Center
</title>
    <meta name="description" content="A performance analysis tool for software projects. It shows performance regresions and allows comparing different applications or implementations">
    <meta name="keywords" content="performance, test, plots, charts">
    <meta charset="UTF-8">
ewdurbin commented 6 months ago

d'oh, one note: I did have to manually install psycopg2-binary into the cpython speed virtual environment in order to make the above work, but that is outside scope of the infra and should be handled in https://github.com/python/codespeed

ewdurbin commented 6 months ago

cc @ambv

ewdurbin commented 6 months ago

supersedes: #261