ansible-woodpecker-role/defaults/main.yml

74 lines
2.6 KiB
YAML
Raw Normal View History

2021-12-19 23:44:51 +01:00
---
# Define the root directory for woodpecker files
woodpecker_rootdir: /opt/woodpecker
# Define the container version of woodpecker
woodpecker_version: latest-alpine
# Set to true to enable registration to all users in an organization
woodpecker_open_registration: true
# Define the organizations which should run pipelines
# woodpecker_allowed_organizations: org1,org2
# Define the admins for woodpecker
woodpecker_admins: user1,user2
# Define which repos should be synced. Especially for github
# woodpecker_repo_owners: repo1,repo2
# Define the woodpecker domain
woodpecker_host: https://ci.example.com
2021-12-20 17:40:29 +01:00
# Define the agent secret for the server and the agent: `openssl rand -hex 32`
2021-12-19 23:44:51 +01:00
woodpecker_agent_secret: "zueThahchohwee7ohvooqueSh8Pah8choodeibouyaing0mo5ang4xee0ong9bai"
# Define maximal processes for the agent
woodpecker_agent_max_procs: "2"
# Define another database as sqlite3. You can choose between MySQL/MariaDB and PostgreSQL.
# Set this to `mysql` or `postgres`
# woodpecker_database_driver: postgres
# Define the datasource for the matching driver.
# More information: https://woodpecker-ci.org/docs/administration/database
# woodpecker_database_datasource: postgres://root:password@1.2.3.4:5432/postgres?sslmode=disable
# Define your own docker config
# woodpecker_docker_config_path: /home/user/.docker/config.json
# Define github
woodpecker_github: false
woodpecker_github_url: https://github.com
woodpecker_github_client: 95c0282573633eb25e82
woodpecker_github_secret: 30f5064039e6b359e075
# Define gitea
woodpecker_gitea: true
woodpecker_gitea_url: https://codeberg.org
woodpecker_gitea_client: 95c0282573633eb25e82
woodpecker_gitea_secret: 30f5064039e6b359e075
# Define gitlab
woodpecker_gitlab: false
woodpecker_gitlab_url: http://gitlab.mycompany.com
woodpecker_gitlab_client: 95c0282573633eb25e82
woodpecker_gitlab_secret: 30f5064039e6b359e075
# Define bitbucket
woodpecker_bitbucket: false
woodpecker_bitbucket_client: 95c0282573633eb25e82
woodpecker_bitbucket_secret: 30f5064039e6b359e075
# Define bitbucket server
woodpecker_bitbucket_server: false
woodpecker_bitbucket_server_url: http://stash.mycompany.com
woodpecker_bitbucket_server_consumer_key: 95c0282573633eb25e82
woodpecker_bitbucket_server_consumer_rsa: /etc/bitbucket/key.pem
woodpecker_bitbucket_server_git_username: foo
woodpecker_bitbucket_server_git_password: bar
# Enable or disable watchtower for automatic updates of the containers
woodpecker_watchtower: true
# Define the schedule when watchtower should pull for new images and update the containers.
# "0 0 3 * * *" means every day at 3:00.
woodpecker_watchtower_schedule: "0 0 3 * * *"