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 argocd controller tests #66

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Conversation

nabuskey
Copy link
Collaborator

➜  cnoe/idpbuilder git:(fix/tests) ✗ yq ea '[.] | length' pkg/controllers/localbuild/resources/argo/install.yaml
55
➜  cnoe/idpbuilder git:(fix/tests) ✗ ls -lh pkg/controllers/localbuild/resources/argo/
total 2152
-rw-r--r--  1 mccloman  staff   1.0M Sep 29 10:06 install.yaml

So the number of resources should be 1 and the number of objects in the argocd resource file should be 55.

We will need to make a bit more robust tests in the future but I want to fix these tests so that they don't show up as failures every PR.

Signed-off-by: Manabu Mccloskey <[email protected]>
@nimakaviani nimakaviani self-requested a review October 25, 2023 23:59
Copy link
Contributor

@nimakaviani nimakaviani left a comment

Choose a reason for hiding this comment

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

LGTM

@nimakaviani nimakaviani merged commit 10c5e45 into cnoe-io:main Oct 26, 2023
1 of 2 checks passed
@nimakaviani nimakaviani added this to the v0.1 release milestone Oct 26, 2023
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