From b177d8206416105ea3123a9f387a1fb7e92cb1b2 Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Mon, 15 Apr 2024 09:39:58 +0200 Subject: [PATCH] Fix docs (#3615) from #3268 --- .github/renovate.json | 2 +- docs/docs/10-intro.md | 2 +- .../11-forges/60-bitbucket_datacenter.md | 31 +++++++++---------- 3 files changed, 17 insertions(+), 18 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index a5e92aba7..d3ea2d642 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -14,7 +14,7 @@ }, { "matchManagers": ["docker-compose"], - "matchFileNames": ["docker-compose.gitpod.yml"], + "matchFileNames": ["docker-compose.gitpod.yaml"], "addLabels": ["devx"] }, { diff --git a/docs/docs/10-intro.md b/docs/docs/10-intro.md index 2d7f70950..309c6f1af 100644 --- a/docs/docs/10-intro.md +++ b/docs/docs/10-intro.md @@ -75,7 +75,7 @@ kubectl apply -f $PLUGIN_TEMPLATE ```yaml title=".woodpecker.yaml" steps: - deploy-to-k8s: + - name: deploy-to-k8s image: laszlocloud/my-k8s-plugin settings: template: config/k8s/service.yaml diff --git a/docs/docs/30-administration/11-forges/60-bitbucket_datacenter.md b/docs/docs/30-administration/11-forges/60-bitbucket_datacenter.md index e85242c05..9304d13a1 100644 --- a/docs/docs/30-administration/11-forges/60-bitbucket_datacenter.md +++ b/docs/docs/30-administration/11-forges/60-bitbucket_datacenter.md @@ -10,24 +10,23 @@ Woodpecker comes with experimental support for Bitbucket Datacenter / Server, fo To enable Bitbucket Server you should configure the Woodpecker container using the following environment variables: -```diff -# docker-compose.yml -version: '3' +```diff title="docker-compose.yaml" + version: '3' -services: - woodpecker-server: - [...] - environment: - - [...] -+ - WOODPECKER_BITBUCKET_DC=true -+ - WOODPECKER_BITBUCKET_DC_GIT_USERNAME=foo -+ - WOODPECKER_BITBUCKET_DC_GIT_PASSWORD=bar -+ - WOODPECKER_BITBUCKET_DC_CLIENT_ID=xxx -+ - WOODPECKER_BITBUCKET_DC_CLIENT_SECRET=yyy -+ - WOODPECKER_BITBUCKET_DC_URL=http://stash.mycompany.com + services: + woodpecker-server: + [...] + environment: + - [...] ++ - WOODPECKER_BITBUCKET_DC=true ++ - WOODPECKER_BITBUCKET_DC_GIT_USERNAME=foo ++ - WOODPECKER_BITBUCKET_DC_GIT_PASSWORD=bar ++ - WOODPECKER_BITBUCKET_DC_CLIENT_ID=xxx ++ - WOODPECKER_BITBUCKET_DC_CLIENT_SECRET=yyy ++ - WOODPECKER_BITBUCKET_DC_URL=http://stash.mycompany.com - woodpecker-agent: - [...] + woodpecker-agent: + [...] ``` ## Service Account