Skip to content

Script or makefile for manual builds #266

Closed

Description

@hugovk

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.

Activity

  1. AA-Turner commented on Apr 11, 2025

    @AA-Turner
    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

  2. ewdurbin commented on Apr 11, 2025

    @ewdurbin
    Member

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

  3. StanFromIreland commented on Apr 4, 2026

    @StanFromIreland
    Member

    I think this is complete, I didn't have to set anything when running manual rebuilds, and Ee's psf-salt PR is merged. Please reopen if I'm incorrect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions