questions.yaml 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868
  1. groups:
  2. - name: Woodpecker CI Configuration
  3. description: Configure Woodpecker CI
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Woodpecker CI
  6. - name: Network Configuration
  7. description: Configure Network for Woodpecker CI
  8. - name: Storage Configuration
  9. description: Configure Storage for Woodpecker CI
  10. - name: Labels Configuration
  11. description: Configure Labels for Woodpecker CI
  12. - name: Resources Configuration
  13. description: Configure Resources for Woodpecker CI
  14. questions:
  15. - variable: TZ
  16. group: Woodpecker CI Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: Etc/UTC
  21. required: true
  22. $ref:
  23. - definitions/timezone
  24. - variable: woodpecker
  25. label: ""
  26. group: Woodpecker CI Configuration
  27. schema:
  28. type: dict
  29. attrs:
  30. - variable: postgres_image_selector
  31. label: Postgres Image (CAUTION)
  32. description: |
  33. If you are changing this after the postgres directory has been initialized,</br>
  34. STOP! and make sure you have a backup of your data.</br>
  35. Changing this will trigger an one way database upgrade.</br>
  36. You can only select newer versions of postgres.</br>
  37. Selecting an older version will refuse to start.</br>
  38. If something goes wrong, you will have to restore from backup.
  39. schema:
  40. type: string
  41. default: postgres_17_image
  42. required: true
  43. enum:
  44. - value: postgres_17_image
  45. description: Postgres 17
  46. - variable: db_password
  47. label: Database Password
  48. description: The password for Woodpecker CI Database.
  49. schema:
  50. type: string
  51. default: ""
  52. required: true
  53. private: true
  54. - variable: external_url
  55. label: External URL
  56. description: |
  57. The URL that Woodpecker will be accessible from.</br>
  58. Example: </br>
  59. - http://server.ip:30166</br>
  60. - https://server.ip:30168</br>
  61. - https://woodpecker.example.com
  62. schema:
  63. type: uri
  64. default: ""
  65. required: true
  66. - variable: agent_secret
  67. label: Agent Secret
  68. description: The secret that the built-in agent will use to authenticate with the server.
  69. schema:
  70. type: string
  71. default: ""
  72. required: true
  73. private: true
  74. - variable: allow_registration
  75. label: Allow Registration
  76. description: |
  77. This will allow users from one of the Forges to be able to login for the first time.</br>
  78. Woodpecker does NOT have a built-in user management system.</br>
  79. See https://woodpecker-ci.org/docs/next/administration/configuration/server#forge-and-user-configuration
  80. schema:
  81. type: boolean
  82. default: false
  83. - variable: forge
  84. label: Forge Configuration
  85. schema:
  86. type: dict
  87. attrs:
  88. - variable: type
  89. label: Type
  90. schema:
  91. type: string
  92. required: true
  93. enum:
  94. - value: "github"
  95. description: GitHub
  96. - value: "gitea"
  97. description: Gitea
  98. - value: "forgejo"
  99. description: Forgejo
  100. - value: "bitbucket"
  101. description: Bitbucket
  102. - value: "gitlab"
  103. description: GitLab
  104. - variable: github
  105. label: GitHub Configuration
  106. description: See https://woodpecker-ci.org/docs/next/administration/configuration/forges/github
  107. schema:
  108. type: dict
  109. show_if: [["type", "=", "github"]]
  110. attrs:
  111. - variable: client_id
  112. label: Client ID
  113. description: The client ID for the GitHub application.
  114. schema:
  115. type: string
  116. required: true
  117. private: true
  118. - variable: client_secret
  119. label: Client Secret
  120. description: The client secret for the GitHub application.
  121. schema:
  122. type: string
  123. required: true
  124. private: true
  125. - variable: gitea
  126. label: Gitea Configuration
  127. description: See https://woodpecker-ci.org/docs/next/administration/configuration/forges/gitea
  128. schema:
  129. type: dict
  130. show_if: [["type", "=", "gitea"]]
  131. attrs:
  132. - variable: url
  133. label: URL
  134. description: The URL of the Gitea server.
  135. schema:
  136. type: string
  137. required: true
  138. - variable: client_id
  139. label: Client ID
  140. description: The client ID for the Gitea application.
  141. schema:
  142. type: string
  143. required: true
  144. private: true
  145. - variable: client_secret
  146. label: Client Secret
  147. description: The client secret for the Gitea application.
  148. schema:
  149. type: string
  150. required: true
  151. private: true
  152. - variable: skip_tls_verify
  153. label: Skip TLS Verify
  154. description: Skip TLS verification.
  155. schema:
  156. type: boolean
  157. default: false
  158. - variable: forgejo
  159. label: Forgejo Configuration
  160. description: See https://woodpecker-ci.org/docs/next/administration/configuration/forges/forgejo
  161. schema:
  162. type: dict
  163. show_if: [["type", "=", "forgejo"]]
  164. attrs:
  165. - variable: url
  166. label: URL
  167. description: The URL of the Forgejo server.
  168. schema:
  169. type: string
  170. required: true
  171. - variable: client_id
  172. label: Client ID
  173. description: The client ID for the Forgejo application.
  174. schema:
  175. type: string
  176. required: true
  177. private: true
  178. - variable: client_secret
  179. label: Client Secret
  180. description: The client secret for the Forgejo application.
  181. schema:
  182. type: string
  183. required: true
  184. private: true
  185. - variable: skip_tls_verify
  186. label: Skip TLS Verify
  187. description: Skip TLS verification.
  188. schema:
  189. type: boolean
  190. default: false
  191. - variable: bitbucket
  192. label: Bitbucket Configuration
  193. description: See https://woodpecker-ci.org/docs/next/administration/configuration/forges/bitbucket
  194. schema:
  195. type: dict
  196. show_if: [["type", "=", "bitbucket"]]
  197. attrs:
  198. - variable: client_id
  199. label: Client ID
  200. description: The client ID for the Bitbucket application.
  201. schema:
  202. type: string
  203. required: true
  204. private: true
  205. - variable: client_secret
  206. label: Client Secret
  207. description: The client secret for the Bitbucket application.
  208. schema:
  209. type: string
  210. required: true
  211. private: true
  212. - variable: gitlab
  213. label: GitLab Configuration
  214. description: See https://woodpecker-ci.org/docs/next/administration/configuration/forges/gitlab
  215. schema:
  216. type: dict
  217. show_if: [["type", "=", "gitlab"]]
  218. attrs:
  219. - variable: url
  220. label: URL
  221. description: The URL of the GitLab server.
  222. schema:
  223. type: string
  224. required: true
  225. - variable: client_id
  226. label: Client ID
  227. description: The client ID for the GitLab application.
  228. schema:
  229. type: string
  230. required: true
  231. private: true
  232. - variable: client_secret
  233. label: Client Secret
  234. description: The client secret for the GitLab application.
  235. schema:
  236. type: string
  237. required: true
  238. private: true
  239. - variable: skip_tls_verify
  240. label: Skip TLS Verify
  241. description: Skip TLS verification.
  242. schema:
  243. type: boolean
  244. default: false
  245. - variable: agent
  246. label: Agent Configuration
  247. schema:
  248. type: dict
  249. attrs:
  250. - variable: max_workflows
  251. label: Max Workflows
  252. description: The maximum number of workflows that the built-in agent can be run at the same time.
  253. schema:
  254. type: int
  255. default: 1
  256. min: 1
  257. required: true
  258. - variable: labels
  259. label: Agent Labels
  260. description: The labels that the built-in agent will be have.
  261. schema:
  262. type: list
  263. default: []
  264. items:
  265. - variable: label
  266. label: Label
  267. schema:
  268. type: dict
  269. attrs:
  270. - variable: key
  271. label: Key
  272. schema:
  273. type: string
  274. required: true
  275. - variable: value
  276. label: Value
  277. schema:
  278. type: string
  279. required: true
  280. - variable: server_additional_envs
  281. label: Additional Environment Variables for Server Container
  282. schema:
  283. type: list
  284. default: []
  285. items:
  286. - variable: env
  287. label: Environment Variable
  288. schema:
  289. type: dict
  290. attrs:
  291. - variable: name
  292. label: Name
  293. schema:
  294. type: string
  295. required: true
  296. - variable: value
  297. label: Value
  298. schema:
  299. type: string
  300. - variable: agent_additional_envs
  301. label: Additional Environment Variables for Agent Container
  302. schema:
  303. type: list
  304. default: []
  305. items:
  306. - variable: env
  307. label: Environment Variable
  308. schema:
  309. type: dict
  310. attrs:
  311. - variable: name
  312. label: Name
  313. schema:
  314. type: string
  315. required: true
  316. - variable: value
  317. label: Value
  318. schema:
  319. type: string
  320. - variable: run_as
  321. label: ""
  322. group: User and Group Configuration
  323. schema:
  324. type: dict
  325. attrs:
  326. - variable: user
  327. label: User ID
  328. description: The user id that Woodpecker CI files will be owned by.
  329. schema:
  330. type: int
  331. min: 568
  332. default: 568
  333. required: true
  334. - variable: group
  335. label: Group ID
  336. description: The group id that Woodpecker CI files will be owned by.
  337. schema:
  338. type: int
  339. min: 568
  340. default: 568
  341. required: true
  342. - variable: network
  343. label: ""
  344. group: Network Configuration
  345. schema:
  346. type: dict
  347. attrs:
  348. - variable: http_port
  349. label: HTTP Port
  350. schema:
  351. type: dict
  352. attrs:
  353. - variable: bind_mode
  354. label: Port Bind Mode
  355. description: |
  356. The port bind mode.</br>
  357. - Publish: The port will be published on the host for external access.</br>
  358. - Expose: The port will be exposed for inter-container communication.</br>
  359. - None: The port will not be exposed or published.</br>
  360. Note: If the Dockerfile defines an EXPOSE directive,
  361. the port will still be exposed for inter-container communication regardless of this setting.
  362. schema:
  363. type: string
  364. default: "published"
  365. enum:
  366. - value: "published"
  367. description: Publish port on the host for external access
  368. - value: "exposed"
  369. description: Expose port for inter-container communication
  370. - value: ""
  371. description: None
  372. - variable: port_number
  373. label: Port Number
  374. schema:
  375. type: int
  376. default: 30166
  377. min: 1
  378. max: 65535
  379. required: true
  380. - variable: host_ips
  381. label: Host IPs
  382. description: IPs on the host to bind this port
  383. schema:
  384. type: list
  385. show_if: [["bind_mode", "=", "published"]]
  386. default: []
  387. items:
  388. - variable: host_ip
  389. label: Host IP
  390. schema:
  391. type: string
  392. required: true
  393. $ref:
  394. - definitions/node_bind_ip
  395. - variable: grpc_port
  396. label: GRPC Port
  397. schema:
  398. type: dict
  399. attrs:
  400. - variable: bind_mode
  401. label: Port Bind Mode
  402. description: |
  403. The port bind mode.</br>
  404. - Publish: The port will be published on the host for external access.</br>
  405. - Expose: The port will be exposed for inter-container communication.</br>
  406. - None: The port will not be exposed or published.</br>
  407. Note: If the Dockerfile defines an EXPOSE directive,
  408. the port will still be exposed for inter-container communication regardless of this setting.
  409. schema:
  410. type: string
  411. default: ""
  412. enum:
  413. - value: "published"
  414. description: Publish port on the host for external access
  415. - value: "exposed"
  416. description: Expose port for inter-container communication
  417. - value: ""
  418. description: None
  419. - variable: port_number
  420. label: Port Number
  421. schema:
  422. type: int
  423. default: 30167
  424. min: 1
  425. max: 65535
  426. required: true
  427. - variable: host_ips
  428. label: Host IPs
  429. description: IPs on the host to bind this port
  430. schema:
  431. type: list
  432. show_if: [["bind_mode", "=", "published"]]
  433. default: []
  434. items:
  435. - variable: host_ip
  436. label: Host IP
  437. schema:
  438. type: string
  439. required: true
  440. $ref:
  441. - definitions/node_bind_ip
  442. - variable: https_port
  443. label: HTTPS Port
  444. schema:
  445. type: dict
  446. show_if: [["certificate_id", "!=", null]]
  447. attrs:
  448. - variable: bind_mode
  449. label: Port Bind Mode
  450. description: |
  451. The port bind mode.</br>
  452. - Publish: The port will be published on the host for external access.</br>
  453. - Expose: The port will be exposed for inter-container communication.</br>
  454. - None: The port will not be exposed or published.</br>
  455. Note: If the Dockerfile defines an EXPOSE directive,
  456. the port will still be exposed for inter-container communication regardless of this setting.
  457. schema:
  458. type: string
  459. default: "published"
  460. enum:
  461. - value: "published"
  462. description: Publish port on the host for external access
  463. - value: "exposed"
  464. description: Expose port for inter-container communication
  465. - value: ""
  466. description: None
  467. - variable: port_number
  468. label: Port Number
  469. schema:
  470. type: int
  471. default: 30168
  472. min: 1
  473. max: 65535
  474. required: true
  475. - variable: host_ips
  476. label: Host IPs
  477. description: IPs on the host to bind this port
  478. schema:
  479. type: list
  480. show_if: [["bind_mode", "=", "published"]]
  481. default: []
  482. items:
  483. - variable: host_ip
  484. label: Host IP
  485. schema:
  486. type: string
  487. required: true
  488. $ref:
  489. - definitions/node_bind_ip
  490. - variable: certificate_id
  491. label: Certificate
  492. description: The certificate to use for Concourse.
  493. schema:
  494. type: int
  495. "null": true
  496. $ref:
  497. - "definitions/certificate"
  498. - variable: storage
  499. label: ""
  500. group: Storage Configuration
  501. schema:
  502. type: dict
  503. attrs:
  504. - variable: agent_config
  505. label: Woodpecker CI Agent Configuration Storage
  506. schema:
  507. type: dict
  508. attrs:
  509. - variable: type
  510. label: Type
  511. description: |
  512. ixVolume: Is dataset created automatically by the system.</br>
  513. Host Path: Is a path that already exists on the system.
  514. schema:
  515. type: string
  516. required: true
  517. default: "ix_volume"
  518. enum:
  519. - value: "host_path"
  520. description: Host Path (Path that already exists on the system)
  521. - value: "ix_volume"
  522. description: ixVolume (Dataset created automatically by the system)
  523. - variable: ix_volume_config
  524. label: ixVolume Configuration
  525. description: The configuration for the ixVolume dataset.
  526. schema:
  527. type: dict
  528. show_if: [["type", "=", "ix_volume"]]
  529. $ref:
  530. - "normalize/ix_volume"
  531. attrs:
  532. - variable: acl_enable
  533. label: Enable ACL
  534. description: Enable ACL for the storage.
  535. schema:
  536. type: boolean
  537. default: false
  538. - variable: dataset_name
  539. label: Dataset Name
  540. description: The name of the dataset to use for storage.
  541. schema:
  542. type: string
  543. required: true
  544. hidden: true
  545. default: "agent_config"
  546. - variable: acl_entries
  547. label: ACL Configuration
  548. schema:
  549. type: dict
  550. show_if: [["acl_enable", "=", true]]
  551. attrs: []
  552. - variable: host_path_config
  553. label: Host Path Configuration
  554. schema:
  555. type: dict
  556. show_if: [["type", "=", "host_path"]]
  557. attrs:
  558. - variable: acl_enable
  559. label: Enable ACL
  560. description: Enable ACL for the storage.
  561. schema:
  562. type: boolean
  563. default: false
  564. - variable: acl
  565. label: ACL Configuration
  566. schema:
  567. type: dict
  568. show_if: [["acl_enable", "=", true]]
  569. attrs: []
  570. $ref:
  571. - "normalize/acl"
  572. - variable: path
  573. label: Host Path
  574. description: The host path to use for storage.
  575. schema:
  576. type: hostpath
  577. show_if: [["acl_enable", "=", false]]
  578. required: true
  579. - variable: postgres_data
  580. label: Postgres Data Storage
  581. description: The path to store Postgres Data.
  582. schema:
  583. type: dict
  584. attrs:
  585. - variable: type
  586. label: Type
  587. description: |
  588. ixVolume: Is dataset created automatically by the system.</br>
  589. Host Path: Is a path that already exists on the system.
  590. schema:
  591. type: string
  592. required: true
  593. default: "ix_volume"
  594. enum:
  595. - value: "host_path"
  596. description: Host Path (Path that already exists on the system)
  597. - value: "ix_volume"
  598. description: ixVolume (Dataset created automatically by the system)
  599. - variable: ix_volume_config
  600. label: ixVolume Configuration
  601. description: The configuration for the ixVolume dataset.
  602. schema:
  603. type: dict
  604. show_if: [["type", "=", "ix_volume"]]
  605. $ref:
  606. - "normalize/ix_volume"
  607. attrs:
  608. - variable: acl_enable
  609. label: Enable ACL
  610. description: Enable ACL for the storage.
  611. schema:
  612. type: boolean
  613. default: false
  614. - variable: dataset_name
  615. label: Dataset Name
  616. description: The name of the dataset to use for storage.
  617. schema:
  618. type: string
  619. required: true
  620. hidden: true
  621. default: "pg_data"
  622. - variable: acl_entries
  623. label: ACL Configuration
  624. schema:
  625. type: dict
  626. show_if: [["acl_enable", "=", true]]
  627. attrs: []
  628. - variable: host_path_config
  629. label: Host Path Configuration
  630. schema:
  631. type: dict
  632. show_if: [["type", "=", "host_path"]]
  633. attrs:
  634. - variable: acl_enable
  635. label: Enable ACL
  636. description: Enable ACL for the storage.
  637. schema:
  638. type: boolean
  639. default: false
  640. - variable: acl
  641. label: ACL Configuration
  642. schema:
  643. type: dict
  644. show_if: [["acl_enable", "=", true]]
  645. attrs: []
  646. $ref:
  647. - "normalize/acl"
  648. - variable: path
  649. label: Host Path
  650. description: The host path to use for storage.
  651. schema:
  652. type: hostpath
  653. show_if: [["acl_enable", "=", false]]
  654. required: true
  655. - variable: auto_permissions
  656. label: Automatic Permissions
  657. description: |
  658. Automatically set permissions for the host path.
  659. Enabling this, will check the top level directory,</br>
  660. If it finds incorrect permissions, it will `chown` the
  661. host path to the user and group required for the
  662. postgres container.
  663. schema:
  664. type: boolean
  665. default: false
  666. show_if: [["acl_enable", "=", false]]
  667. - variable: additional_storage
  668. label: Additional Storage
  669. schema:
  670. type: list
  671. default: []
  672. items:
  673. - variable: storageEntry
  674. label: Storage Entry
  675. schema:
  676. type: dict
  677. attrs:
  678. - variable: type
  679. label: Type
  680. description: |
  681. ixVolume: Is dataset created automatically by the system.</br>
  682. Host Path: Is a path that already exists on the system.</br>
  683. SMB Share: Is a SMB share that is mounted to as a volume.
  684. schema:
  685. type: string
  686. required: true
  687. default: "ix_volume"
  688. enum:
  689. - value: "host_path"
  690. description: Host Path (Path that already exists on the system)
  691. - value: "ix_volume"
  692. description: ixVolume (Dataset created automatically by the system)
  693. - value: "cifs"
  694. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  695. - variable: read_only
  696. label: Read Only
  697. description: Mount the volume as read only.
  698. schema:
  699. type: boolean
  700. default: false
  701. - variable: mount_path
  702. label: Mount Path
  703. description: The path inside the container to mount the storage.
  704. schema:
  705. type: path
  706. required: true
  707. - variable: host_path_config
  708. label: Host Path Configuration
  709. schema:
  710. type: dict
  711. show_if: [["type", "=", "host_path"]]
  712. attrs:
  713. - variable: acl_enable
  714. label: Enable ACL
  715. description: Enable ACL for the storage.
  716. schema:
  717. type: boolean
  718. default: false
  719. - variable: acl
  720. label: ACL Configuration
  721. schema:
  722. type: dict
  723. show_if: [["acl_enable", "=", true]]
  724. attrs: []
  725. $ref:
  726. - "normalize/acl"
  727. - variable: path
  728. label: Host Path
  729. description: The host path to use for storage.
  730. schema:
  731. type: hostpath
  732. show_if: [["acl_enable", "=", false]]
  733. required: true
  734. - variable: ix_volume_config
  735. label: ixVolume Configuration
  736. description: The configuration for the ixVolume dataset.
  737. schema:
  738. type: dict
  739. show_if: [["type", "=", "ix_volume"]]
  740. $ref:
  741. - "normalize/ix_volume"
  742. attrs:
  743. - variable: acl_enable
  744. label: Enable ACL
  745. description: Enable ACL for the storage.
  746. schema:
  747. type: boolean
  748. default: false
  749. - variable: dataset_name
  750. label: Dataset Name
  751. description: The name of the dataset to use for storage.
  752. schema:
  753. type: string
  754. required: true
  755. default: "storage_entry"
  756. - variable: acl_entries
  757. label: ACL Configuration
  758. schema:
  759. type: dict
  760. show_if: [["acl_enable", "=", true]]
  761. attrs: []
  762. $ref:
  763. - "normalize/acl"
  764. - variable: cifs_config
  765. label: SMB Configuration
  766. description: The configuration for the SMB dataset.
  767. schema:
  768. type: dict
  769. show_if: [["type", "=", "cifs"]]
  770. attrs:
  771. - variable: server
  772. label: Server
  773. description: The server to mount the SMB share.
  774. schema:
  775. type: string
  776. required: true
  777. - variable: path
  778. label: Path
  779. description: The path to mount the SMB share.
  780. schema:
  781. type: string
  782. required: true
  783. - variable: username
  784. label: Username
  785. description: The username to use for the SMB share.
  786. schema:
  787. type: string
  788. required: true
  789. - variable: password
  790. label: Password
  791. description: The password to use for the SMB share.
  792. schema:
  793. type: string
  794. required: true
  795. private: true
  796. - variable: domain
  797. label: Domain
  798. description: The domain to use for the SMB share.
  799. schema:
  800. type: string
  801. - variable: labels
  802. label: ""
  803. group: Labels Configuration
  804. schema:
  805. type: list
  806. default: []
  807. items:
  808. - variable: label
  809. label: Label
  810. schema:
  811. type: dict
  812. attrs:
  813. - variable: key
  814. label: Key
  815. schema:
  816. type: string
  817. required: true
  818. - variable: value
  819. label: Value
  820. schema:
  821. type: string
  822. required: true
  823. - variable: containers
  824. label: Containers
  825. description: Containers where the label should be applied
  826. schema:
  827. type: list
  828. items:
  829. - variable: container
  830. label: Container
  831. schema:
  832. type: string
  833. required: true
  834. enum:
  835. - value: server
  836. description: server
  837. - value: agent
  838. description: agent
  839. - value: postgres
  840. description: postgres
  841. - variable: resources
  842. label: ""
  843. group: Resources Configuration
  844. schema:
  845. type: dict
  846. attrs:
  847. - variable: limits
  848. label: Limits
  849. schema:
  850. type: dict
  851. attrs:
  852. - variable: cpus
  853. label: CPUs
  854. description: CPUs limit for Woodpecker CI.
  855. schema:
  856. type: int
  857. default: 2
  858. required: true
  859. - variable: memory
  860. label: Memory (in MB)
  861. description: Memory limit for Woodpecker CI.
  862. schema:
  863. type: int
  864. default: 4096
  865. required: true