Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Revert setting PGPASSWORD for entire db/admin binary#7198

Merged
srijeet0406 merged 2 commits intoapache:masterfrom
zrhoffman:revert-admin-pass
Nov 16, 2022
Merged

Revert setting PGPASSWORD for entire db/admin binary#7198
srijeet0406 merged 2 commits intoapache:masterfrom
zrhoffman:revert-admin-pass

Conversation

@zrhoffman
Copy link
Copy Markdown
Member

This PR reverts 25483428a5, a commit in #7142 that set the PGPASSWORD environment variable for the entire db/admin, rather than only setting it for specific psql subprocesses. This has the effect of no longer breaking the T3C Integration Tests GHA workflow.

#7198 breaks Traffic Ops in CDN in a Box for Developers, so hopefully we can come up with a different solution that will work for both CDN in a Box for Developers and the T3C integration tests, like fixing #4954.


Which Traffic Control components are affected by this PR?

  • Traffic Control Cache Config (t3c, formerly ORT) - integration tests
  • Traffic Ops app/db

What is the best way to verify this PR?

Verify the T3C Integration Tests GHA workflow passes

If this is a bugfix, which Traffic Control versions contained the bug?

  • master

PR submission checklist

@zrhoffman zrhoffman added regression bug a bug in existing functionality introduced by a new version tests related to tests and/or testing infrastructure tools related to tools outside of main components, e.g. 'compare' database relating to setup/installation/structure of the Traffic Ops database cache-config Cache config generation labels Nov 16, 2022
@srijeet0406 srijeet0406 merged commit 83693b5 into apache:master Nov 16, 2022
Copy link
Copy Markdown
Contributor

@srijeet0406 srijeet0406 left a comment

Choose a reason for hiding this comment

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

LGTM!

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

Labels

cache-config Cache config generation database relating to setup/installation/structure of the Traffic Ops database regression bug a bug in existing functionality introduced by a new version tests related to tests and/or testing infrastructure tools related to tools outside of main components, e.g. 'compare'

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants