mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-25 11:21:02 +00:00
parent
f211a780f3
commit
b177d82064
3 changed files with 17 additions and 18 deletions
2
.github/renovate.json
vendored
2
.github/renovate.json
vendored
|
@ -14,7 +14,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchManagers": ["docker-compose"],
|
"matchManagers": ["docker-compose"],
|
||||||
"matchFileNames": ["docker-compose.gitpod.yml"],
|
"matchFileNames": ["docker-compose.gitpod.yaml"],
|
||||||
"addLabels": ["devx"]
|
"addLabels": ["devx"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -75,7 +75,7 @@ kubectl apply -f $PLUGIN_TEMPLATE
|
||||||
|
|
||||||
```yaml title=".woodpecker.yaml"
|
```yaml title=".woodpecker.yaml"
|
||||||
steps:
|
steps:
|
||||||
deploy-to-k8s:
|
- name: deploy-to-k8s
|
||||||
image: laszlocloud/my-k8s-plugin
|
image: laszlocloud/my-k8s-plugin
|
||||||
settings:
|
settings:
|
||||||
template: config/k8s/service.yaml
|
template: config/k8s/service.yaml
|
||||||
|
|
|
@ -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:
|
To enable Bitbucket Server you should configure the Woodpecker container using the following environment variables:
|
||||||
|
|
||||||
```diff
|
```diff title="docker-compose.yaml"
|
||||||
# docker-compose.yml
|
version: '3'
|
||||||
version: '3'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
woodpecker-server:
|
woodpecker-server:
|
||||||
[...]
|
[...]
|
||||||
environment:
|
environment:
|
||||||
- [...]
|
- [...]
|
||||||
+ - WOODPECKER_BITBUCKET_DC=true
|
+ - WOODPECKER_BITBUCKET_DC=true
|
||||||
+ - WOODPECKER_BITBUCKET_DC_GIT_USERNAME=foo
|
+ - WOODPECKER_BITBUCKET_DC_GIT_USERNAME=foo
|
||||||
+ - WOODPECKER_BITBUCKET_DC_GIT_PASSWORD=bar
|
+ - WOODPECKER_BITBUCKET_DC_GIT_PASSWORD=bar
|
||||||
+ - WOODPECKER_BITBUCKET_DC_CLIENT_ID=xxx
|
+ - WOODPECKER_BITBUCKET_DC_CLIENT_ID=xxx
|
||||||
+ - WOODPECKER_BITBUCKET_DC_CLIENT_SECRET=yyy
|
+ - WOODPECKER_BITBUCKET_DC_CLIENT_SECRET=yyy
|
||||||
+ - WOODPECKER_BITBUCKET_DC_URL=http://stash.mycompany.com
|
+ - WOODPECKER_BITBUCKET_DC_URL=http://stash.mycompany.com
|
||||||
|
|
||||||
woodpecker-agent:
|
woodpecker-agent:
|
||||||
[...]
|
[...]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Service Account
|
## Service Account
|
||||||
|
|
Loading…
Reference in a new issue