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 e2e-max-dim test #2028

Merged
merged 15 commits into from
May 17, 2023
Merged

Fix e2e-max-dim test #2028

merged 15 commits into from
May 17, 2023

Conversation

ykadowak
Copy link
Contributor

@ykadowak ykadowak commented May 16, 2023

Description:

This PR is another fix for the regression that introduced here #2024 following #2025. In addition, changed the default to use local charts, and testing of remote charts are performed after release.

More specifically this PR made the following changes:

  • Locally deploy and delete cluster for e2e-max-dim every time it changes the dimension.
  • Set use_local_charts: true as default
  • Add CRUD test on remote charts after a Vald release

Related Issue:

Versions:

  • Go Version: 1.20.3
  • Docker Version: 20.10.8
  • Kubernetes Version: 1.22.0
  • NGT Version: 2.0.9

Checklist:

Special notes for your reviewer:

@vdaas-ci
Copy link
Collaborator

[CHATOPS:HELP] ChatOps commands.

  • 🙆‍♀️ /approve - approve
  • 💌 /changelog - replace the PR body by changelog details
  • 🍱 /format - format codes and add licenses
  • /gen-test - generate test codes
  • 🏷️ /label - add labels
  • /rebase - rebase main
  • 🔚 2️⃣ 🔚 /label actions/e2e-deploy - run E2E deploy & integration test

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented May 16, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4852790
Status: ✅  Deploy successful!
Preview URL: https://13ed5b89.vald.pages.dev
Branch Preview URL: https://ci-helm-fix-max-dimensions.vald.pages.dev

View logs

@@ -125,9 +125,7 @@ runs:
echo "POD_NAME=${podname}" >> $GITHUB_OUTPUT
env:
VALUES: ${{ inputs.values }}
# TODO: currently, we can't pass helm options to the make command.
# Is it really necessary in the first place?
# HELM_EXTRA_OPTIONS: ${{ inputs.helm_extra_options }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

The "make k8s/vald/deploy" command is useful for building a Vald Cluster using the "Local Chart".

However, since the internal settings can only be changed statically by modifying values.yaml, I think it would be useful for CI if dynamic settings such as the number of vector dimensions could be changed on the command line.

For this reason, I believe the HELM_EXTRA_OPTS will be a very useful feature when using Local Charts in CI.

@vdaas-ci
Copy link
Collaborator

Profile Report

typevald-agent-ngtvald-lb-gatewayvald-discoverervald-manager-index
cpu
heap
other images

@@ -150,3 +150,86 @@ jobs:
env:
GITHUB_USER: ${{ secrets.DISPATCH_USER }}
GITHUB_TOKEN: ${{ secrets.DISPATCH_TOKEN }}
crud-on-remote-helm-chart:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should be tested on the next release.

@ykadowak ykadowak requested review from kpango, a team and vankichi and removed request for a team May 17, 2023 02:46
@ykadowak ykadowak changed the title [WIP] Ci/helm/fix max dimensions Fix e2e-max-dim test May 17, 2023
Copy link
Collaborator

@kpango kpango left a comment

Choose a reason for hiding this comment

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

LGTM

@kpango kpango merged commit 0d2d390 into main May 17, 2023
@kpango kpango deleted the ci/helm/fix-max-dimensions branch May 17, 2023 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants