From ef496d1538cd3e175a619fb7dcdec16576691b8f Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Mon, 21 Mar 2022 22:58:41 +1000 Subject: [PATCH] pipeline: fail if notifications.cfg is outdated --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8818e7d16..50aee9dcb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,6 +32,11 @@ test_sv_game: - wget -O data/maps/stormkeep.waypoints https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/stormkeep.waypoints - wget -O data/maps/stormkeep.waypoints.cache https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/stormkeep.waypoints.cache - make + + - $ENGINE -noconfig -nohome +map stormkeep +dumpnotifs +wait +quit + - diff notifications.cfg data/data/notifications_dump.cfg || + { echo 'Please update notifications.cfg using `dumpnotifs`!'; exit 1; } + - EXPECT=d4060caf37a2e60bab68d1f83bc57368 - HASH=$(${ENGINE} -noconfig -nohome +timestamps 1 +exec serverbench.cfg | tee /dev/stderr -- 2.39.2