Skip to content

fix(argocd-pr-env-deploy): deploy customer-labeled PRs again - #89

Draft
hamishfagg wants to merge 2 commits into
mainfrom
fix/customer-envs-label-driven
Draft

hamishfagg wants to merge 2 commits into
mainfrom
fix/customer-envs-label-driven

Conversation

@hamishfagg

Copy link
Copy Markdown
Contributor

The deploy action stopped at a customer: label and left the env to an admin, because the ci-pr-envs token could only read a customer's parent. mindsdb/Kubernetes-Foundational-Services#224 lets the token update and sync that parent, so a customer anchor PR deploys like any other.

This reverts #77 and #76, in that order. Both reverts applied without conflict. The label check stays where it was before them: a customer: label that disagrees with the existing env still gets the "PR-env deploy blocked" comment.

Test plan

  • uv run --with pyyaml --with pytest --python 3.12 -m pytest tests/ -q: 329 pass.
  • Not run: a deploy against newdev. It needs mindsdb/Kubernetes-Foundational-Services#224 applied first; before that, a customer PR's deploy job retries argocd app set and fails.

🤖 Generated with Claude Code

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

Successfully merging this pull request may close these issues.

1 participant