From 97c2b82fa7c5c338f8e6eb6d5cb26d8579462fd9 Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Sat, 20 May 2023 10:26:05 +0100 Subject: [PATCH] ci: print flatland revision for gnome-graphical-test in Discord message --- flake.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index c158ff4..1f650f0 100644 --- a/flake.nix +++ b/flake.nix @@ -16,7 +16,7 @@ inputs.hercules-ci-effects.url = "github:hercules-ci/hercules-ci-effects"; - outputs = { self, nixpkgs, fenix, hercules-ci-effects, ... }: + outputs = { self, nixpkgs, fenix, hercules-ci-effects, flatland, ... }: let name = "server"; pkgs = system: import nixpkgs { @@ -120,9 +120,10 @@ set +x export ADDRESS="https://ipfs.stardustxr.org/ipfs/$CID" ${pkgs.discord-sh}/bin/discord.sh \ - --description "\`stardustxr/server\` has been modified, here's how it renders inside of the \`gnome-graphical-test\`" \ + --description "\`stardustxr/server\` has been modified, here's how it renders \`weston-cliptest\` on \`flatland\` via \`monado-service\` inside of the \`gnome-graphical-test\`" \ --field "Branch;${branch}" \ --field "Commit ID;${rev}" \ + --field "Flatland Revision;${flatland.rev}" \ --field "Reproducer;\`nix build github:stardustxr/server/${rev}#gnome-graphical-test\`" \ --image "$ADDRESS" '';