Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restore codespeed local development #335

Merged
merged 2 commits into from
Jan 18, 2024
Merged

restore codespeed local development #335

merged 2 commits into from
Jan 18, 2024

Conversation

ewdurbin
Copy link
Member

@ewdurbin ewdurbin commented Jan 16, 2024

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
Copy link
Member Author

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
Copy link
Member Author

cc @ambv

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

```
vagrant up salt-master
vagrant up postgresql-primary
vagrant up loadbalancer
vagrant up codespeed
```

Currently when isolated, cpython codespeed even works!

```shell
$ 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
Copy link
Member Author

supersedes: #261

we no longer run our own pg infra, so don't act like it.

the pg install on salt-master could be dramatically streamlined... but for now just use the remnant
@cegerhardson cegerhardson merged commit 13984a9 into main Jan 18, 2024
2 checks passed
@cegerhardson cegerhardson deleted the codespeed_upgrade branch January 18, 2024 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants