From ebfc2c4b816eaf940fa82afb0613284954fbe525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pola=C5=84ski?= Date: Sat, 11 Jul 2020 00:01:00 +0200 Subject: [PATCH] testing/traefik: add check for version codename --- testing/traefik/APKBUILD | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/testing/traefik/APKBUILD b/testing/traefik/APKBUILD index b690a22c67d..f87f3471451 100644 --- a/testing/traefik/APKBUILD +++ b/testing/traefik/APKBUILD @@ -37,12 +37,16 @@ build() { } check() { - # Unit tests + # unit tests go test ./... - # Integration tests + # integration tests cd integration go test -integration ./... + + # ensure correct version codename + local codename_from_ci=$(grep "CODENAME" "$builddir"/.travis.yml | cut -d= -f2) + [ "$_codename" = "$codename_from_ci" ] || die "outdated codename" } package() {