Merge pull request #137202 from tshaynik/jitsi-videobridge-updatescript

jitsi-meet: add passthru.updateScript for all jitsi server components
This commit is contained in:
Ryan Mulligan 2021-09-11 06:57:55 -07:00 committed by GitHub
commit 005994a94d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 70 additions and 0 deletions

View File

@ -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 = ''

View 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"

View File

@ -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
View 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"

View File

@ -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
View 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"

View File

@ -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 = ''

View 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"

View File

@ -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 = ''

View 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"