Skip to content

Commit

Permalink
bw: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Mar 28, 2024
1 parent 28b07d8 commit 662f999
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 2 deletions.
2 changes: 2 additions & 0 deletions bundlewrap/bundles/crs-worker/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
'crs-worker/secrets/meta',
)
def derive_secrets_from_encoding(metadata):
if node.dummy:
raise DoNotRunAgain
return {
'crs-worker': {
'secrets': {
Expand Down
2 changes: 1 addition & 1 deletion bundlewrap/bundles/pygtk-atem-switcher/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}

files['/opt/pygtk-atem-switcher/config.toml'] = {
'content': repo.libs.faults.dict_as_toml(node.metadata.get('pygtk-atem-switcher')-,
'content': repo.libs.faults.dict_as_toml(node.metadata.get('pygtk-atem-switcher')),
'triggers': {
'svc_systemd:pygtk-atem-switcher:restart',
}
Expand Down
1 change: 1 addition & 0 deletions bundlewrap/nodes/encoder80.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dummy = true
3 changes: 2 additions & 1 deletion bundlewrap/nodes/encoder81.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ dhcp = true
high_dpi = true

[metadata.voctocore]
streaming_endpoint = "!kee_pass:ansible|stream-api|encoders|hacc"
streaming_endpoint = "hacc"
streaming_auth_key = "!decrypt:encrypt$gAAAAABmBTUmTYXkCzR1bpxUd5VmNevZYF8EA9GFoZOY3CJ-q3AT2Cb1i4HOj51a8Wpln5IGtgMvqcitdspJJPTJDvq9v0w3PgajUsGvSeZ3LxdjlYqg234="

[metadata.voctocore.sources.cam1]
devicenumber = "4"
Expand Down
3 changes: 3 additions & 0 deletions bundlewrap/nodes/encoder98.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ room_name = "Saal 98"
ips = ["10.73.98.3/16"]
gateway4 = "10.73.0.254"

[metadata.voctocore]
streaming_auth_key = "" # TODO

[metadata.voctocore.sources.cam1]
devicenumber = 0
mode = "1080p25"
Expand Down
1 change: 1 addition & 0 deletions bundlewrap/nodes/minion80.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dummy = true
1 change: 1 addition & 0 deletions bundlewrap/nodes/minion81.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dummy = true
1 change: 1 addition & 0 deletions bundlewrap/nodes/mixer23.toml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# does not exist, just a dummy
dummy = true
1 change: 1 addition & 0 deletions bundlewrap/nodes/mixer80.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dummy = true
1 change: 1 addition & 0 deletions bundlewrap/nodes/mixer81.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dummy = true

0 comments on commit 662f999

Please sign in to comment.