From 148f933eb51b158e673dd41e21c631c925ab3899 Mon Sep 17 00:00:00 2001 From: Eric Meehan Date: Thu, 13 Feb 2025 13:56:00 -0500 Subject: [PATCH] Discourse plugins and Gitea act runner labels --- tasks/discourse.yaml | 9 ++++++--- tasks/gitea.yaml | 13 +++++++++++++ tasks/main.yaml | 2 +- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/tasks/discourse.yaml b/tasks/discourse.yaml index 0c56c04..008cba5 100644 --- a/tasks/discourse.yaml +++ b/tasks/discourse.yaml @@ -25,14 +25,17 @@ discourse: skipInstall: false plugins: - - https://github.com/discourse/discourse-activity-pub /opt/bitnami/discourse/plugins/discourse-activity-pub - - https://github.com/discourse/discourse-openid-connect /opt/bitnami/discourse/plugins/discourse-openid-connect - - https://github.com/jonmbake/discourse-ldap-auth /opt/bitnami/discourse/plugins/discourse-ldap-auth + - https://github.com/discourse/discourse-adplugin + - https://github.com/discourse/discourse-subscriptions + - https://github.com/discourse/discourse-activity-pub + - https://github.com/discourse/discourse-openid-connect + - https://github.com/jonmbake/discourse-ldap-auth command: - /bin/bash args: - -c - | + rm -r /opt/bitnami/discourse/plugins/chat chown -R discourse:root /opt/bitnami/discourse/plugins /opt/bitnami/scripts/discourse/entrypoint.sh /opt/bitnami/scripts/discourse/run.sh persistPlugins: false diff --git a/tasks/gitea.yaml b/tasks/gitea.yaml index 91d60e8..13a1548 100644 --- a/tasks/gitea.yaml +++ b/tasks/gitea.yaml @@ -42,6 +42,19 @@ enabled: true provisioning: enabled: true + statefulset: + actRunner: + config: | + log: + level: debug + cache: + enabled: false + runner: + labels: + - "ubuntu-latest:docker://node:16-bullseye" + - "ubuntu-22.04:docker://node:16-bullseye" + - "ubuntu-20.04:docker://node:16-bullseye" + - "ubuntu-18.04:docker://node:16-buster" gitea: metrics: enabled: true diff --git a/tasks/main.yaml b/tasks/main.yaml index 2642ef6..6b5801e 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -3,4 +3,4 @@ - name: Deploy include_tasks: "{{ item }}" loop: - - discourse.yaml + - gitea.yaml