containers / ai-lab-recipes

Examples for building and running LLM services and applications locally with Podman
Apache License 2.0
111 stars 110 forks source link

RHELAI-429: Adding upgrade informer service #689

Closed javipolo closed 3 months ago

javipolo commented 3 months ago

This is a duplication of https://github.com/containers/ai-lab-recipes/pull/663, since @tsorya is on PTO and we really need to push those changes

/cc @rhatdan /cc @jeremyeder

Upgrade informer will run every couple of our and will be triggered by systemd timer.

In order to start it on boot and run once i enabled it and timer. Disabling auto upgrade service in order to remove unexpected reboots. Service will run "bootc upgrade --check" and in case new version exists it will create motd file with upgrade info.

rhatdan commented 3 months ago

This should run only once per day. If you run it more often then that you will see complaints about flooding the logs.

We are not going to be updating that often that it requires more then once/day to run.

javipolo commented 3 months ago

This should run only once per day

Agree, changed the timer to 1day

romfreiman commented 3 months ago

/lgtm