Skip to content

Add ssl options to postgres pillar - #68831

Open
dwoz wants to merge 5 commits into
saltstack:masterfrom
dwoz:gou177_master
Open

Add ssl options to postgres pillar#68831
dwoz wants to merge 5 commits into
saltstack:masterfrom
dwoz:gou177_master

Conversation

@dwoz

@dwoz dwoz commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

Rebase of #67721

@themavik themavik left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the changes — the fix looks correct and follows the existing code patterns.

twangboy
twangboy previously approved these changes Mar 19, 2026
@twangboy

Copy link
Copy Markdown
Contributor

Looks like psycopg2 is difficult to build on 32bit Windows. The last version of psycopg2-binary that had a 32bit Windows build was 2.9.10. That's why it's failing to build.

@dwoz
dwoz force-pushed the gou177_master branch from ae2966e to 1732f92 Compare June 7, 2026 22:23
twangboy
twangboy previously approved these changes Jun 30, 2026
The salt_onedir step calls `git add -f salt/_version.txt` with
`cwd=str(salt_archive)`, but `salt_archive` is a path to a `.tar.gz`
file, not a directory. Python's subprocess implementation calls
`chdir()` on `cwd` and raises:

    NotADirectoryError: [Errno 20] Not a directory:
    '/.../salt-3008.0+NNN.gSHA.tar.gz'

This blocks the Build Salt Onedir job on Linux and macOS, which in
turn cascades to every dependent Build Onedir Packages job.

Use `tools.utils.REPO_ROOT` instead so the subprocess runs in the
salt source checkout, which is a real git repository containing
`salt/_version.txt`. This mirrors the fix already landed on master
in commit eba196e.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants