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

Add actions to build Helm charts to the operators and retire os package building. #7

Merged
merged 27 commits into from
Nov 24, 2021

Conversation

soenkeliebau
Copy link
Member

@soenkeliebau soenkeliebau commented Nov 18, 2021

fixes #4
fixes stackabletech/issues#135

Tested with:

  • Druid
  • Superset
  • Hive
  • Trino
  • Zookeeper
  • Regorule
  • Opa
  • Kafka
  • Nifi
  • Spark
  • HDFS
  • HBase

@soenkeliebau soenkeliebau requested a review from razvan November 18, 2021 16:14
Copy link
Member

@razvan razvan left a comment

Choose a reason for hiding this comment

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

Needs work.

template/.github/workflows/publish_dev_artifacts.yml.j2 Outdated Show resolved Hide resolved
template/.github/workflows/publish_dev_artifacts.yml.j2 Outdated Show resolved Hide resolved
template/deploy/helm/[[product]]-operator/README.md.j2 Outdated Show resolved Hide resolved
template/deploy/helm/[[product]]-operator/README.md.j2 Outdated Show resolved Hide resolved
repositories.yaml Outdated Show resolved Hide resolved
repositories.yaml Outdated Show resolved Hide resolved
template/.github/workflows/publish_dev_artifacts.yml.j2 Outdated Show resolved Hide resolved
template/.github/workflows/publish_dev_artifacts.yml.j2 Outdated Show resolved Hide resolved
template/Makefile.j2 Outdated Show resolved Hide resolved
template/Makefile.j2 Outdated Show resolved Hide resolved
template/Makefile.j2 Outdated Show resolved Hide resolved
template/deploy/helm/[[product]]-operator/values.yaml.j2 Outdated Show resolved Hide resolved
soenkeliebau and others added 13 commits November 19, 2021 11:23
Co-authored-by: Teo Klestrup Röijezon <teo.roijezon@stackable.de>
Co-authored-by: Teo Klestrup Röijezon <teo.roijezon@stackable.de>
Co-authored-by: Teo Klestrup Röijezon <teo.roijezon@stackable.de>
Co-authored-by: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com>
Co-authored-by: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com>
Co-authored-by: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com>
Co-authored-by: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com>
…ount.yaml.j2

Co-authored-by: Siegfried Weber <mail@siegfriedweber.net>
Added chart linting config back in.
@soenkeliebau
Copy link
Member Author

I've discussed this PR with @siegfriedweber and we agreed that the best way forward would be to include parts in the template, but also allowing to add parts directly in the operator repositories.

I've addressed the comments as best I could. Sigi will have a look at the Hive operator and do some additional testing before we merge this.

@razvan razvan requested a review from maltesander November 24, 2021 14:43
Copy link
Member

@maltesander maltesander left a comment

Choose a reason for hiding this comment

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

Tested and works. LGTM.

@razvan razvan merged commit 2ce5e08 into main Nov 24, 2021
@razvan razvan deleted the helm branch November 24, 2021 14:47
NickLarsenNZ added a commit that referenced this pull request Jan 30, 2025
Add the dynamic `checksum/config` annotation back in.

Previously, this annotation only appeared when `.Values.podAnnotations` was set.

It was only discovered broken by adding podAnnotations and seeing that the `include` context was invalid, leading to this error:

```
Error: template: trino-operator/templates/deployment.yaml:20:28: executing "trino-operator/templates/deployment.yaml" at <include (print $.Template.BasePath "/configmap.yaml") .>: error calling include: template: trino-operator/templates/configmap.yaml:4:10: executing "trino-operator/templates/configmap.yaml" at <.Files.Glob>: nil pointer evaluating interface {}.Glob
```

Note, this was always broken since inception in #7.
github-merge-queue bot pushed a commit that referenced this pull request Feb 3, 2025
Add the dynamic `checksum/config` annotation back in.

Previously, this annotation only appeared when `.Values.podAnnotations` was set.

It was only discovered broken by adding podAnnotations and seeing that the `include` context was invalid, leading to this error:

```
Error: template: trino-operator/templates/deployment.yaml:20:28: executing "trino-operator/templates/deployment.yaml" at <include (print $.Template.BasePath "/configmap.yaml") .>: error calling include: template: trino-operator/templates/configmap.yaml:4:10: executing "trino-operator/templates/configmap.yaml" at <.Files.Glob>: nil pointer evaluating interface {}.Glob
```

Note, this was always broken since inception in #7.
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.

Add Helm Chart to template Stop building RPM & Deb packages
6 participants