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

NOISSUE - Fix invalid chart directory in lint-test.yaml #156

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

JeffMboya
Copy link
Contributor

@JeffMboya JeffMboya commented Oct 1, 2024

What does this do?

This pull request fixes the issue where the provided chart directory was not being detected as a valid Helm chart directory during the ct lint step in the GitHub CI workflow.

Which issue(s) does this PR fix/relate to?

None

List any changes that modify/break current functionality

None

Have you included tests for your changes?

No

Did you document any new/modified functionality?

No

Notes

This is the received logs from the CI

Run ct lint --target-branch main --chart-dirs charts/magistrala/
Linting charts...
>>> helm version --template {{ .Version }}
>>> git rev-parse --is-inside-work-tree
>>> git rev-parse --verify origin/main
>>> git merge-base origin/main HEAD
>>> git diff --find-renames --name-only 277fe28b0343dafe56e8be88a69f5c8eec649e[18](https://github.com/absmach/magistrala/actions/runs/11127502755/job/30919951217?pr=103#step:9:19) -- charts/magistrala/
Directory "charts/magistrala" is not a valid chart directory. Skipping...
Directory "charts/magistrala" is not a valid chart directory. Skipping...
Directory "charts/magistrala" is not a valid chart directory. Skipping...
Directory "charts/magistrala" is not a valid chart directory. Skipping...
Directory "charts/magistrala" is not a valid chart directory. Skipping...
Directory "charts/magistrala/charts" is not a valid chart directory. Skipping...
Directory "charts/magistrala/templates" is not a valid chart directory. Skipping...
Directory "charts/magistrala/templates" is not a valid chart directory. Skipping...
Directory "charts/magistrala/templates" is not a valid chart directory. Skipping...
Directory "charts/magistrala/templates" is not a valid chart directory. Skipping...
Directory "charts/magistrala/templates" is not a valid chart directory. Skipping...
Directory "charts/magistrala/templates" is not a valid chart directory. Skipping...
Directory "charts/magistrala" is not a valid chart directory. Skipping...

------------------------------------------------------------------------------------------------------------------------
No chart changes detected.
------------------------------------------------------------------------------------------------------------------------
All charts linted successfully

This is the expected logs from the CI

Run ct lint --chart-dirs charts --target-branch main
Linting charts...

------------------------------------------------------------------------------------------------------------------------
 Charts to be processed:
------------------------------------------------------------------------------------------------------------------------
 magistrala => (version: "0.14.1", path: "charts/magistrala")
------------------------------------------------------------------------------------------------------------------------

Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "magistrala-devops" chart repository
...Successfully got an update from the "nats" chart repository
...Successfully got an update from the "hashicorp" chart repository
...Successfully got an update from the "jaegertracing" chart repository
...Successfully got an update from the "bitnami" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 1 charts
Downloading magistrala from repo https://absmach.github.io/devops/
Deleting outdated charts
Could not verify charts/magistrala/charts/.gitignore for deletion: file 'charts/magistrala/charts/.gitignore' does not appear to be a gzipped archive; got 'application/octet-stream' (Skipping)
Linting chart "magistrala => (version: \"1.0.0\", path: \"charts/magistrala\")"
Checking chart "magistrala => (version: \"1.0.0\", path: \"charts/magistrala\")" for a version bump...
Unable to find chart on main. New chart detected.
Validating /home/runner/work/magistrala/magistrala/charts/magistrala/Chart.yaml...
Validation success! 👍
Validating maintainers...
==> Linting charts/magistrala

1 chart(s) linted, 0 chart(s) failed

------------------------------------------------------------------------------------------------------------------------
 ✔︎ magistrala => (version: "1.0.0", path: "charts/magistrala")
------------------------------------------------------------------------------------------------------------------------
All charts linted successfully

@JeffMboya JeffMboya changed the title NOISSUE - Fix chart directory in lint-test.yaml NOISSUE - Fix invalid chart directory in lint-test.yaml Oct 1, 2024
Signed-off-by: JeffMboya <[email protected]>

Update README

Signed-off-by: JeffMboya <[email protected]>

increment chart version

Signed-off-by: JeffMboya <[email protected]>

Fix CI

Signed-off-by: JeffMboya <[email protected]>

Fix CI

Signed-off-by: JeffMboya <[email protected]>

increase timeout

Signed-off-by: JeffMboya <[email protected]>

remove extra space

Signed-off-by: JeffMboya <[email protected]>

Add debug statements

Signed-off-by: JeffMboya <[email protected]>

Add debug statements

Signed-off-by: JeffMboya <[email protected]>

reduce resource constraints

Signed-off-by: JeffMboya <[email protected]>

Fix linter

Signed-off-by: JeffMboya <[email protected]>

Fix linter

Signed-off-by: JeffMboya <[email protected]>
Comment on lines +102 to +103
| jaeger.collector.service.otlp.grpc.name | string | `"otlp-grpc"` | |
| jaeger.collector.service.otlp.grpc.port | int | `4317` | |
Copy link
Contributor

Choose a reason for hiding this comment

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

@JeffMboya Why do we need this values ?
Just asking to know the usage of values

Copy link
Contributor Author

@JeffMboya JeffMboya Oct 8, 2024

Choose a reason for hiding this comment

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

@arvindh123 They ensure that Jaeger is ready to receive and process data over the gRPC protocol

Copy link
Contributor

Choose a reason for hiding this comment

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

Got it , Thank you

@dborovcanin dborovcanin merged commit 71b636f into absmach:master Oct 10, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants