[bug#78109,Cuirass,3/3] forges: Use %default-forges-channels instead of %default-channels.
Commit Message
* src/cuirass/forges/forgejo.scm (forgejo-pull-request->specification), src/cuirass/forges/gitlab.scm (gitlab-merge-request->specification): Use %default-forges-channels instead of %default-channels.
* tests/forgejo.scm, tests/forges-notification.scm, tests/gitlab.scm : Update tests.
---
src/cuirass/forges/forgejo.scm | 2 +-
src/cuirass/forges/gitlab.scm | 2 +-
tests/forgejo.scm | 2 +-
tests/forges-notification.scm | 7 ++++---
tests/gitlab.scm | 10 +++++-----
5 files changed, 12 insertions(+), 11 deletions(-)
@@ -168,7 +168,7 @@
(name project-name)
(url source-url)
(branch source-branch))
- %default-channels))
+ (%default-forges-channels)))
(priority priority)
(period period)
(systems systems)
@@ -139,7 +139,7 @@
(name project-name)
(url source-url)
(branch source-branch))
- %default-channels))
+ (%default-forges-channels)))
(priority priority)
(period period)
(systems systems)
@@ -88,7 +88,7 @@
(name 'project-name)
(url "https://forgejo.instance.test/source-repo/fork-name.git")
(branch "test-branch"))
- %default-channels))
+ (%default-forges-channels)))
(priority %default-jobset-options-priority)
(period %default-jobset-options-period)
(systems %default-jobset-options-systems)
@@ -17,6 +17,7 @@
;;; along with Cuirass. If not, see <http://www.gnu.org/
(use-modules (cuirass forges notification)
+ (cuirass forges)
(cuirass specification)
(cuirass tests http)
(fibers)
@@ -34,7 +35,7 @@
(name 'project-name)
(url "https://instance.local/path/to/channel")
(branch "test-branch"))
- %default-channels)))))
+ (%default-forges-channels))))))
(run-fibers (lambda ()
(spawn-forge-notification-service spec)))))
@@ -48,7 +49,7 @@
(name 'project-name)
(url "https://instance.local/path/to/channel")
(branch "test-branch"))
- %default-channels))
+ (%default-forges-channels)))
(properties '((forge-type . unsupported-forge))))))
(run-fibers (lambda ()
(spawn-forge-notification-service spec)))))
@@ -65,7 +66,7 @@
(name 'project-name)
(url "https://instance.local/path/to/channel")
(branch "test-branch"))
- %default-channels))
+ (%default-forges-channels)))
(properties `((forge-type . ,forge-type)))))
(channel (make-channel))
(%handler-values '())
@@ -208,7 +208,7 @@
(name 'project-name)
(url "https://gitlab.instance.test/source-repo/fork-name.git")
(branch "test-branch"))
- %default-channels))
+ (%default-forges-channels)))
(priority %default-jobset-options-priority)
(period %default-jobset-options-period)
(systems %default-jobset-options-systems)
@@ -232,7 +232,7 @@
(name 'project-name)
(url "https://gitlab.instance.test/source-repo/fork-name.git")
(branch "test-branch"))
- %default-channels))
+ (%default-forges-channels)))
(priority 3)
(period 25)
(systems (list "x86_64-linux"
@@ -257,7 +257,7 @@
(name 'project-name)
(url "https://gitlab.instance.test/source-repo/fork-name.git")
(branch "test-branch"))
- %default-channels))
+ (%default-forges-channels)))
(priority %default-jobset-options-priority)
(period %default-jobset-options-period)
(systems %default-jobset-options-systems)
@@ -281,7 +281,7 @@
(name 'project-name)
(url "https://gitlab.instance.test/source-repo/fork-name.git")
(branch "test-branch"))
- %default-channels))
+ (%default-forges-channels)))
(priority %default-jobset-options-priority)
(period %default-jobset-options-period)
(systems %default-jobset-options-systems)
@@ -305,7 +305,7 @@
(name 'project-name)
(url "https://gitlab.instance.test/source-repo/fork-name.git")
(branch "test-branch"))
- %default-channels))
+ (%default-forges-channels)))
(priority 3)
(period 25)
(systems (list "x86_64-linux"