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 CI to verify chart installing on test-namespace #125

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

jyje
Copy link
Contributor

@jyje jyje commented Dec 13, 2024

Opinion

Hello, folks. To resolve #124, we should remove the ambiguity between default and test-namespace, which stems from the namespaceOverride introduced in #122. This commit ensures proper completion of namespaceOverride. Proposed changes are followings:

  • Create the test-namespace namespace.
  • Deploy the application in the test-namespace namespace instead of the default namespace.
  • (Optional) Use kubectl wait to ensure pod/open-webui-0 is ready before proceeding.

And local test is following:

local test result for this PR

All resources became ready except open-webui-ollama-test-connection. That pod would be 'Completed' when recreated so we can ignore it.

If you think that using kubectl wait might cause delays or unintended lags, please let me know.


Copilot Summary

This pull request includes changes to the .github/workflows/helm-test-open-webui.yml file to enhance the deployment process for the open-webui. The most important changes include creating a new namespace, applying the configuration within that namespace, and ensuring the pod is ready before proceeding.

Deployment process improvements:

  • .github/workflows/helm-test-open-webui.yml: Added commands to create a test-namespace, apply the open-webui.yaml configuration within this namespace, and wait for the open-webui-0 pod to be ready with a timeout of 600 seconds.

Remove ambiguity for `default` and `test-namespace`. It comes from `namespaceOverride` after #122. This commit helps to complete `namespaceOverride`.

- create `test-namespace` namespace
- install app on `test-namespace` namespace instead of `default`
- (Optional) wait until `pod/open-webui-0` is ready
@0xThresh 0xThresh merged commit 0e6bc2b into open-webui:main Dec 16, 2024
@jyje jyje deleted the feat/open-webui branch December 17, 2024 02:00
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.

Test Chart Deployment Workflow Failing
2 participants