Skip to content

Script or makefile for manual builds #266

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

Open
hugovk opened this issue Apr 11, 2025 · 2 comments
Open

Script or makefile for manual builds #266

hugovk opened this issue Apr 11, 2025 · 2 comments

Comments

@hugovk
Copy link
Member

hugovk commented Apr 11, 2025

Let's create an easy way to run manual rebuilds on the server. This can be for a single version or multiple.

We'll need to do it fairly regularly for the occasional security versions, which are not automatically rebuilt.

We need to make sure all the env vars are set, such as PYTHON_DOCS_ENABLE_ANALYTICS=1 (see #265).

This could be a bash script, or Makefile, or something else.

@AA-Turner
Copy link
Member

Currently, salt manages four environment variables: SENTRY_DSN (for Sentry reporting), FASTLY_SERVICE_ID and FASTLY_TOKEN (for purging the CDN), and PYTHON_DOCS_ENABLE_ANALYTICS=1, to add the analytics scripts.

We could add PYTHON_DOCS_ENABLE_ANALYTICS=1 to build_docs.py itself, but the other variables should be kept secret. Currently, we need to manually export them into a shell when doing rebuilds for everything to work as expected.

A

@ewdurbin
Copy link
Member

#269 (nice) is an option. if it's acceptable I can update psf-salt and I think we're done here.

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

No branches or pull requests

3 participants