From e6222abca713ef75c2de5cc9b919caeb08f894ea Mon Sep 17 00:00:00 2001 From: realaravinth Date: Wed, 29 Jun 2022 15:10:36 +0530 Subject: [PATCH] feat: read woodpecker config --- dashboard/local_settings.ci.py | 4 ++++ dashboard/settings.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/dashboard/local_settings.ci.py b/dashboard/local_settings.ci.py index ffc5388..e58bdeb 100644 --- a/dashboard/local_settings.ci.py +++ b/dashboard/local_settings.ci.py @@ -67,6 +67,10 @@ HOSTEA = { # Repository dedicated for handling support # ref: https://gitea.hostea.org/Hostea/july-mvp/issues/17 "SUPPORT_REPOSITORY": "support", + "WOODPECKER": { + "HOST": "https://woodpecker.hostea.org", # meta Woodpecker CI instance + "TOKEN": "woodpecker_ci_token", # WOodpecker authentication token + }, }, "INFRA": { "HOSTEA_REPO": { diff --git a/dashboard/settings.py b/dashboard/settings.py index 7dada47..b2a7838 100644 --- a/dashboard/settings.py +++ b/dashboard/settings.py @@ -180,6 +180,10 @@ HOSTEA = { # Repository dedicated for handling support # ref: https://gitea.hostea.org/Hostea/july-mvp/issues/17 "SUPPORT_REPOSITORY": "support", + "WOODPECKER": { + "HOST": "https://woodpecker.hostea.org", # meta Woodpecker CI instance + "TOKEN": "woodpecker_ci_token", # WOodpecker authentication token + }, }, "INFRA": { "HOSTEA_REPO": {