Merge pull request #137202 from tshaynik/jitsi-videobridge-updatescript
jitsi-meet: add passthru.updateScript for all jitsi server components
This commit is contained in:
commit
005994a94d
@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
|
||||
single-node-smoke-test = nixosTests.jitsi-meet;
|
||||
};
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Prosody configuration for Jitsi Meet";
|
||||
longDescription = ''
|
||||
|
12
pkgs/misc/jitsi-meet-prosody/update.sh
Executable file
12
pkgs/misc/jitsi-meet-prosody/update.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p curl pup common-updater-scripts
|
||||
|
||||
set -eu -o pipefail
|
||||
|
||||
version="$(curl https://download.jitsi.org/stable/ | \
|
||||
pup 'a[href] text{}' | \
|
||||
awk -F'[_-]' '/jitsi-meet-prosody/ {printf $4"\n"}' | \
|
||||
sort -u | \
|
||||
tail -n 1)"
|
||||
|
||||
update-source-version jitsi-meet-prosody "$version"
|
@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
|
||||
meta = with lib; {
|
||||
description = "JItsi BRoadcasting Infrastructure";
|
||||
longDescription = ''
|
||||
|
12
pkgs/servers/jibri/update.sh
Executable file
12
pkgs/servers/jibri/update.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p curl pup common-updater-scripts
|
||||
|
||||
set -eu -o pipefail
|
||||
|
||||
version="$(curl https://download.jitsi.org/stable/ | \
|
||||
pup 'a[href] text{}' | \
|
||||
awk -F'[_-]' '/jibri/ {printf $2"-"$3"-"$4"\n"}' | \
|
||||
sort -u | \
|
||||
tail -n 1)"
|
||||
|
||||
update-source-version jibri "$version"
|
@ -32,6 +32,8 @@ stdenv.mkDerivation {
|
||||
single-node-smoke-test = nixosTests.jitsi-meet;
|
||||
};
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A server side focus component used in Jitsi Meet conferences";
|
||||
longDescription = ''
|
||||
|
12
pkgs/servers/jicofo/update.sh
Executable file
12
pkgs/servers/jicofo/update.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p curl pup common-updater-scripts
|
||||
|
||||
set -eu -o pipefail
|
||||
|
||||
version="$(curl https://download.jitsi.org/stable/ | \
|
||||
pup 'a[href] text{}' | \
|
||||
awk -F'[_-]' '/jicofo/ {printf $2"-"$3"\n"}' | \
|
||||
sort -u | \
|
||||
tail -n 1)"
|
||||
|
||||
update-source-version jicofo "$version"
|
@ -38,6 +38,8 @@ stdenv.mkDerivation {
|
||||
single-host-smoke-test = nixosTests.jitsi-meet;
|
||||
};
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A WebRTC compatible video router";
|
||||
longDescription = ''
|
||||
|
12
pkgs/servers/jitsi-videobridge/update.sh
Executable file
12
pkgs/servers/jitsi-videobridge/update.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p curl pup common-updater-scripts
|
||||
|
||||
set -eu -o pipefail
|
||||
|
||||
version="$(curl https://download.jitsi.org/stable/ | \
|
||||
pup 'a[href] text{}' | \
|
||||
awk -F'[_-]' '/jitsi-videobridge2/ {printf $3"-"$4"-"$5"\n"}' | \
|
||||
sort -u | \
|
||||
tail -n 1)"
|
||||
|
||||
update-source-version jitsi-videobridge "$version"
|
@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
|
||||
single-host-smoke-test = nixosTests.jitsi-meet;
|
||||
};
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Secure, Simple and Scalable Video Conferences";
|
||||
longDescription = ''
|
||||
|
12
pkgs/servers/web-apps/jitsi-meet/update.sh
Executable file
12
pkgs/servers/web-apps/jitsi-meet/update.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p curl pup common-updater-scripts
|
||||
|
||||
set -eu -o pipefail
|
||||
|
||||
version="$(curl https://download.jitsi.org/stable/ | \
|
||||
pup 'a[href] text{}' | \
|
||||
awk -F'[_-]' '/jitsi-meet-web_/ {printf $4"\n"}' | \
|
||||
sort -u | \
|
||||
tail -n 1)"
|
||||
|
||||
update-source-version jitsi-meet "$version"
|
Loading…
Reference in New Issue
Block a user