mirror of
https://seed.radicle.dev/rad:zwTxygwuz5LDGBq255RA2CbNGrz8.git
synced 2026-10-18 19:30:29 +08:00
feat: allow setting number of concurrent adapters
This commit is contained in:
@@ -16,3 +16,7 @@ radicle_ci_description: |
|
|||||||
# List of Radicle repositories to seed by default.
|
# List of Radicle repositories to seed by default.
|
||||||
radicle_ci_repositories:
|
radicle_ci_repositories:
|
||||||
- "rad:z28U8KUBvVSMQc13NydX3LBDsdEdQ"
|
- "rad:z28U8KUBvVSMQc13NydX3LBDsdEdQ"
|
||||||
|
|
||||||
|
# Number of concurrent adapters to run.
|
||||||
|
radicle_ci_concurrent_adapters: 1
|
||||||
|
|
||||||
|
|||||||
@@ -174,9 +174,9 @@
|
|||||||
loop: "{{ radicle_ci_repositories }}"
|
loop: "{{ radicle_ci_repositories }}"
|
||||||
when: radicle_ci_repositories is defined
|
when: radicle_ci_repositories is defined
|
||||||
|
|
||||||
- name: "restart CI broker"
|
- name: "start CI broker"
|
||||||
systemd:
|
systemd:
|
||||||
name: radicle-ci-broker
|
name: radicle-ci-broker
|
||||||
enabled: true
|
enabled: true
|
||||||
state: restarted
|
state: started
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ description: |
|
|||||||
{{ radicle_ci_description }}
|
{{ radicle_ci_description }}
|
||||||
db: /home/ci/ci.db
|
db: /home/ci/ci.db
|
||||||
report_dir: /srv/http
|
report_dir: /srv/http
|
||||||
concurrent_adapters: 1
|
concurrent_adapters: {{ radicle_ci_concurrent_adapters }}
|
||||||
adapters:
|
adapters:
|
||||||
ambient:
|
ambient:
|
||||||
command: /bin/radicle-ci-ambient
|
command: /bin/radicle-ci-ambient
|
||||||
|
|||||||
Reference in New Issue
Block a user