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 test for chart values #31

Merged
merged 2 commits into from
Jul 13, 2022
Merged

Add test for chart values #31

merged 2 commits into from
Jul 13, 2022

Conversation

Itxaka
Copy link
Contributor

@Itxaka Itxaka commented Jul 12, 2022

Quick check for values in the built chart so we dont break it again,
especially on release

We check that the REPO is set correctly on the built chart, and on release we also check the TAG

Signed-off-by: Itxaka [email protected]

@Itxaka Itxaka force-pushed the chart_test_values branch 4 times, most recently from 8684742 to d106fea Compare July 12, 2022 08:26
Quick check for values in the built chart so we dont break it again,
especially on release

Signed-off-by: Itxaka <[email protected]>
@Itxaka Itxaka marked this pull request as ready for review July 12, 2022 08:30
@Itxaka Itxaka requested review from kkaempf and a team July 12, 2022 08:30
Copy link
Contributor

@mjura mjura left a comment

Choose a reason for hiding this comment

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

Besides that quay.io/costoolkit/elemental-operator is empty it looks great

run: |
REPO=$(helm show values ${{ steps.chart.outputs.chart_name }}|yq .image.repository)
TAG=$(helm show values ${{ steps.chart.outputs.chart_name }}|yq .image.tag)
if [ "$REPO" != "quay.io/costoolkit/elemental-operator" ];then
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems that quay.io/costoolkit/elemental-operator is empty, are we going to build there images

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep, on release, images tagged with a version should be pushed there, unfortunately we havent cut a release yet :D

@Itxaka Itxaka merged commit bcfe4d0 into main Jul 13, 2022
@Itxaka Itxaka deleted the chart_test_values branch July 13, 2022 08:12
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