Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: upsert admin team and create repo #196

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

fix: upsert admin team and create repo #196

wants to merge 2 commits into from

Conversation

merll
Copy link
Contributor

@merll merll commented Feb 18, 2025

This PR changes the behavior of the Gitea operator so that it also ensures existence of the team-admin organization and creates a repository to deploy manifests through ArgoCD.
Error handling has been changed to raise exceptions directly (since any errors eventually lead to calling exit anyway).

Copy link

github-actions bot commented Feb 18, 2025

Coverage report

St.
Category Percentage Covered / Total
🔴 Statements
34.06% (-0.27% 🔻)
342/1004
🔴 Branches
16.81% (-0.36% 🔻)
40/238
🔴 Functions
18.68% (+0.69% 🔼)
34/182
🔴 Lines
34.33% (-0.34% 🔻)
311/906
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🔴 operator/gitea.ts
28.31% (-0.86% 🔻)
10.13% (-0.68% 🔻)
21.54% (+2.09% 🔼)
27.98% (-1.08% 🔻)

Test suite run success

20 tests passing in 4 suites.

Report generated by 🧪jest coverage report action from 1881868

@merll
Copy link
Contributor Author

merll commented Feb 18, 2025

Setting this to draft until #192 is merged. Likely to conflict.

@merll merll marked this pull request as draft February 18, 2025 14:05
@merll merll marked this pull request as ready for review February 24, 2025 08:20
Copy link
Contributor

@ElderMatt ElderMatt left a comment

Choose a reason for hiding this comment

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

I have tested and it works now for team-admin, I did have to refresh team-admin in argocd myself.

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.

2 participants