From: bones_was_here Date: Mon, 21 Mar 2022 12:58:41 +0000 (+1000) Subject: pipeline: fail if notifications.cfg is outdated X-Git-Tag: xonotic-v0.8.5~135^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ef496d1538cd3e175a619fb7dcdec16576691b8f;p=xonotic%2Fxonotic-data.pk3dir.git pipeline: fail if notifications.cfg is outdated --- 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