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(chart-testing): Fix helm-chart testing workflow #113

Merged
merged 2 commits into from
Jul 10, 2023

Conversation

mjasion
Copy link
Contributor

@mjasion mjasion commented Jul 6, 2023

  • Add hidden variable ci which removes annotations and creates docker config secret
  • Add hidden variables to pass docker user, password and server

If this fix will work, we will have reliable install and upgrade test process :-)

Fixes https://github.com/iterative/itops/issues/1903

@mjasion mjasion requested review from 0x2b3bfa0 and jesper7 July 6, 2023 19:03
@mjasion mjasion self-assigned this Jul 6, 2023
@mjasion mjasion marked this pull request as draft July 6, 2023 19:03
@mjasion mjasion force-pushed the fix_github_workflow branch from cd7c659 to b0471b8 Compare July 6, 2023 19:26
- Add hidden variable `ci`  which removes annotations and creates docker config
- Add hidden variables to pass docker user, password and server
@mjasion mjasion force-pushed the fix_github_workflow branch from b0471b8 to 511d79b Compare July 6, 2023 19:41
@mjasion mjasion marked this pull request as ready for review July 7, 2023 06:38
@mjasion mjasion enabled auto-merge (squash) July 7, 2023 06:39
Copy link
Contributor

@jesper7 jesper7 left a comment

Choose a reason for hiding this comment

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

Nice, thanks!
Few comments

@@ -0,0 +1,9 @@
{{- if (hasKey .Values "ci") }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add a comment saying that this file is only used in the CI workflow?
Also, maybe rename the file to ci-secret-docker-registry.yaml

charts/studio/templates/_helpers.tpl Outdated Show resolved Hide resolved
@mjasion mjasion force-pushed the fix_github_workflow branch 2 times, most recently from 2f6bf9a to 1ec3645 Compare July 7, 2023 06:56
Copy link
Contributor

@jesper7 jesper7 left a comment

Choose a reason for hiding this comment

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

Small leftover 🙂

Co-authored-by: Jesper Svendsen <99078145+jesper7@users.noreply.github.com>
@mjasion mjasion force-pushed the fix_github_workflow branch from 1ec3645 to 312ee1e Compare July 7, 2023 09:03
Copy link
Member

@0x2b3bfa0 0x2b3bfa0 left a comment

Choose a reason for hiding this comment

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

Lint is not passing, though

@mjasion mjasion merged commit 06c1892 into main Jul 10, 2023
@mjasion mjasion deleted the fix_github_workflow branch July 10, 2023 13:02
{{- if (hasKey .Values "ci") }}
apiVersion: v1
data:
.dockerconfigjson: {{ include "dockerconfig" . | b64enc | quote }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

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.

3 participants