fix: CI: UID and custom config file
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
4773c97187
commit
afa6fd0c6a
1 changed files with 14 additions and 1 deletions
|
@ -9,6 +9,7 @@ steps:
|
||||||
build:
|
build:
|
||||||
image: node:18
|
image: node:18
|
||||||
commands:
|
commands:
|
||||||
|
- curl http://forgejo:3000
|
||||||
- corepack enable
|
- corepack enable
|
||||||
- corepack prepare pnpm@latest-8 --activate
|
- corepack prepare pnpm@latest-8 --activate
|
||||||
- pnpm install
|
- pnpm install
|
||||||
|
@ -21,9 +22,21 @@ services:
|
||||||
forgejo:
|
forgejo:
|
||||||
image: codeberg.org/forgejo/forgejo:1.20.1-0
|
image: codeberg.org/forgejo/forgejo:1.20.1-0
|
||||||
environment:
|
environment:
|
||||||
|
- USER_UID=1000
|
||||||
|
- USER_GID=1000
|
||||||
- FORGEJO_cors_ENABLED=true
|
- FORGEJO_cors_ENABLED=true
|
||||||
- FORGEJO_cors_ALLOW_DOMAIN="*"
|
- FORGEJO_cors_ALLOW_DOMAIN="*"
|
||||||
- FORGEJO_cors_METHODS="GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS"
|
- FORGEJO_cors_METHODS="GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS"
|
||||||
- FORGEJO_cors_ALLOW_CREDENTIALS=false
|
- FORGEJO_cors_ALLOW_CREDENTIALS=false
|
||||||
volumes:
|
volumes:
|
||||||
- /woodpecker/src/git.batsense.net/realaravinth/forgejo-notifications-core:/data/gitea/conf/ci/app.ini
|
- /woodpecker/src/git.batsense.net/realaravinth/forgejo-notifications-core/integration/conf/ci/app.ini:/data/gitea/conf/app.ini
|
||||||
|
#
|
||||||
|
# deploy_docs:
|
||||||
|
# image: python
|
||||||
|
# when:
|
||||||
|
# event: [push, pull_request, tag, deployment]
|
||||||
|
# commands:
|
||||||
|
# - make env
|
||||||
|
# - make
|
||||||
|
# - make ci-deploy
|
||||||
|
# secrets: [GITEA_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET]
|
||||||
|
|
Loading…
Reference in a new issue