Repository navigation
fix(k8s): Resolve cluster secrets fixture in installed package - #6949
Merged
Merged
Conversation
dan-petty
force-pushed
the
fix/6948-resolve-cluster-secrets-fixture
branch
2 times, most recently
from
November 24, 2026 02:31
b418600 to
0c4699c
Compare
When devops_cli is installed as a package in a container image, such as /app/.venv in devops-cli-service:local, Path(__file__).resolve().parents[3] points to the Python installation directory instead of the repository root. load_cluster_secrets_table() fails to find tests/fixtures/cluster-secrets.toml and returns an incomplete cluster secrets table, causing Service Image Tests to fail. Add repository fixture resolution to EnvironmentTree.cluster_secrets and fallback fixture file resolution in cluster_secrets.py. Closes #6948
dan-petty
force-pushed
the
fix/6948-resolve-cluster-secrets-fixture
branch
from
November 24, 2026 02:32
0c4699c to
9b8bbb9
Compare
dan-petty
marked this pull request as ready for review
November 24, 2026 02:50
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 24, 2026
🤖 I have created a release *beep* *boop* --- ## [0.206.1](v0.206.0...v0.206.1) (2026-11-24) ### Bug Fixes * **k8s:** Resolve cluster secrets fixture in installed package ([#6949](#6949)) ([d8cdab0](d8cdab0)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When
devops_cliis installed as a package in a container image, such as/app/.venvindevops-cli-service:local,Path(__file__).resolve().parents[3]points to the Python installation directory instead of the repository root.load_cluster_secrets_table()fails to findtests/fixtures/cluster-secrets.tomland returns an incomplete cluster secrets table, causing Service Image Tests to fail.Closes #6948
Change:
openspec/changes/archive/2026-11-24-6948-resolve-cluster-secrets-fixture/