Radish alpha
r
rad:zwTxygwuz5LDGBq255RA2CbNGrz8
Radicle CI broker
Radicle
Git
fix(ci-broker.md): drop unused embedded file
Lars Wirzenius committed 7 months ago
commit 4f8865b771f5341975a097a9fc375530ee85e333
parent acd3dd0
3 files changed +61 -17
modified ci-broker.md
@@ -116,23 +116,6 @@ triggers:
        - !Repository "rad:zwTxygwuz5LDGBq255RA2CbNGrz8"
~~~

-
~~~{#broker-with-concurrent-adapters.yaml .file .yaml}
-
db: ci-broker.db
-
report_dir: reports
-
queue_len_interval: 1min
-
adapters:
-
  mcadapterface:
-
    command: ./adapter.sh
-
    env:
-
      RADICLE_NATIVE_CI: native-ci.yaml
-
    sensitive_env:
-
      API_KEY: xyzzy
-
triggers:
-
  - adapter: mcadapterface
-
    filters:
-
      - !Branch "main"
-
~~~
-

~~~{#broker-with-two-triggers.yaml .file .yaml}
db: ci-broker.db
report_dir: reports
added test.yaml
@@ -0,0 +1,24 @@
+
db: ci-broker.db
+
report_dir: reports
+
queue_len_interval: 1min
+
adapters:
+
  mcadapterface:
+
    command: ./adapter.sh
+
    env:
+
      RADICLE_NATIVE_CI: native-ci.yaml
+
    sensitive_env:
+
      API_KEY: xyzzy
+
filters:
+
  - !And
+
    - !Or
+
      - !BranchUpdated
+
      - !PatchCreated
+
      - !PatchUpdated
+
      - !TagCreated
+
      - !TagUpdated
+
      - !TagDeleted
+
    - !Or
+
      # lars
+
      - !Node z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV
+
      # fintan
+
      # 
added test2.yaml
@@ -0,0 +1,37 @@
+
db: ci-broker.db
+
report_dir: reports
+
queue_len_interval: 1min
+
adapters:
+
  mcadapterface:
+
    command: ./adapter.sh
+
    env:
+
      RADICLE_NATIVE_CI: native-ci.yaml
+
    sensitive_env:
+
      API_KEY: xyzzy
+
triggers:
+
  - adapter: mcadapterface
+
    filters:
+
      - !And
+
        - !NoneOf
+
          - !Branch "main"
+
          - !TagCreated
+
        - !Or
+
          - Allow
+
        - !AnyOf
+
          - BranchCreated
+
        - !Not
+
          - BranchDeleted
+
        - !BranchUpdated
+
        - !TagCreated
+
        - !TagDeleted
+
        - !TagUpdated
+
        - !Branch "a2dec1a5b3ab5b34cea16c07b632023d9ce535fc"
+
        - !DefaultBranch
+
        - !Deny
+
        - !HasFile "xyzzy"
+
        - !Node "z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
+
        - !PatchCreated
+
        - !PatchUpdated
+
        - !Patch "a2dec1a5b3ab5b34cea16c07b632023d9ce535fc"
+
        - !Repository "rad:zwTxygwuz5LDGBq255RA2CbNGrz8"
+