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

Automate the TypeSense crawler search index updates #814

Open
1 task done
fharper opened this issue Oct 31, 2024 · 0 comments
Open
1 task done

Automate the TypeSense crawler search index updates #814

fharper opened this issue Oct 31, 2024 · 0 comments

Comments

@fharper
Copy link
Contributor

fharper commented Oct 31, 2024

What type of suggestions?

Something's not working

What page is concerned?

No response

What version of the docs?

No response

What is the issue?

Right now to update the search index after changes have been made in the docs, you need to wait for the new chart to be released, and Argo CD to deploy the new version in production. Once it's done, one can run this GitHub Workflow.

So the process is easier than doing it manually on your machine, but it's not automated. The best-case scenario would be to have this workflow run when we know the new docs version is deployed, which would require the release process to fire the workflow, and having this one check with the Argo CD CLI the deployment status, and ran the crawler when the docs is updated. We do not have a CWFT that let us get that information, so it's the easiest way I found so far. Here is an internal question I had to be able to do that.

The second-best way to do that is to have the workflow run automatically every X hours/day, so in most cases it would run without any need to update the index, but nobody would have to run it manually.

For now, keep in mind that every time the docs is updated, the docs owner needs to run the workflow manually to update the search index.

Code of Conduct

  • I agree to follow this project's Code of Conduct
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

No branches or pull requests

1 participant