Поискать аналог гитхабовского dependabot для Forgejo #18

Open
opened 2026-07-04 17:51:09 +00:00 by grigorevde · 1 comment
Owner

Смотреть https://github.com/dependabot.

Смотреть [https://github.com/dependabot](https://github.com/dependabot).
grigorevde added this to the (deleted) project 2026-07-04 22:30:17 +00:00
grigorevde removed this from the (deleted) project 2026-07-04 22:30:20 +00:00
Author
Owner

Есть такая замечательная вещь как Renovate. Нужно:

  • Запустить ВМ с ней
  • Подключить её к Forgejo

На витруалке нужно настроить Podman, а в нём /etc/containers/systemd/renovate.container:

[Unit]
Description=Renovate dependency updater for Forgejo
Wants=network-online.target
After=network-online.target

[Container]
Image=docker.io/renovate/renovate:latest

ContainerName=renovate

EnvironmentFile=/etc/renovate/renovate.env

Environment=RENOVATE_PLATFORM=forgejo
Environment=RENOVATE_ENDPOINT=https://git.csit.sgu.ru/api/v1
Environment=RENOVATE_AUTODISCOVER=true
Environment=RENOVATE_AUTODISCOVER_FILTER=*
Environment=RENOVATE_ONBOARDING=true
Environment=RENOVATE_REQUIRE_CONFIG=optional
Environment=LOG_LEVEL=info

Volume=/var/cache/renovate:/tmp/renovate:Z

Pull=newer
NoNewPrivileges=true

[Service]
Type=oneshot
TimeoutStartSec=1h

И таймер /etc/systemd/system/renovate.timer:

[Unit]
Description=Periodic Renovate run

[Timer]
OnCalendar=*-*-* 03:00:00
RandomizedDelaySec=30m
Persistent=true
Unit=renovate.service

[Install]
WantedBy=timers.target
Есть такая замечательная вещь как Renovate. Нужно: - [ ] Запустить ВМ с ней - [ ] Подключить её к Forgejo На витруалке нужно настроить Podman, а в нём /etc/containers/systemd/renovate.container: ```toml [Unit] Description=Renovate dependency updater for Forgejo Wants=network-online.target After=network-online.target [Container] Image=docker.io/renovate/renovate:latest ContainerName=renovate EnvironmentFile=/etc/renovate/renovate.env Environment=RENOVATE_PLATFORM=forgejo Environment=RENOVATE_ENDPOINT=https://git.csit.sgu.ru/api/v1 Environment=RENOVATE_AUTODISCOVER=true Environment=RENOVATE_AUTODISCOVER_FILTER=* Environment=RENOVATE_ONBOARDING=true Environment=RENOVATE_REQUIRE_CONFIG=optional Environment=LOG_LEVEL=info Volume=/var/cache/renovate:/tmp/renovate:Z Pull=newer NoNewPrivileges=true [Service] Type=oneshot TimeoutStartSec=1h ``` И таймер /etc/systemd/system/renovate.timer: ```toml [Unit] Description=Periodic Renovate run [Timer] OnCalendar=*-*-* 03:00:00 RandomizedDelaySec=30m Persistent=true Unit=renovate.service [Install] WantedBy=timers.target ```
Sign in to join this conversation.
No description provided.