From b14691356991ec809e77223d32bf9568adecf99b Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Mon, 18 Sep 2023 21:01:08 +0530 Subject: [PATCH] feat: CI: configure forgejo service --- .woodpecker.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..ff4f4bc --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,24 @@ +steps: + build: + image: codeberg.org/woodpecker-plugins/node-pm + settings: + run: # script name + - install + - build + - doc + - test + +services: + forgejo: + image: codeberg.org/forgejo/forgejo:1.20.1-0 + environment: + - USER_UID=1001 + - USER_GID=1001 + - FORGEJO_cors_ENABLED=true + - FORGEJO_cors_ALLOW_DOMAIN="*" + - FORGEJO_cors_METHODS="GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS" + - FORGEJO_cors_ALLOW_CREDENTIALS=false + volumes: + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + - ./integration/conf/app.ini:/data/gitea/conf/app.ini:wo