From a2116774e87a52c9b0d1d27a7c9532f1c922e5c3 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Tue, 16 Jul 2024 23:46:02 +0200 Subject: [PATCH] test: ensure catalogue in place [ci skip] --- tests/integration/app_deploy.bats | 1 + tests/integration/helpers/recipe.bash | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/tests/integration/app_deploy.bats b/tests/integration/app_deploy.bats index 0c2eb2c3..940f016b 100644 --- a/tests/integration/app_deploy.bats +++ b/tests/integration/app_deploy.bats @@ -16,6 +16,7 @@ teardown_file(){ setup(){ load "$PWD/tests/integration/helpers/common" _common_setup + _ensure_catalogue } teardown(){ diff --git a/tests/integration/helpers/recipe.bash b/tests/integration/helpers/recipe.bash index 17e48f19..0e7009b9 100644 --- a/tests/integration/helpers/recipe.bash +++ b/tests/integration/helpers/recipe.bash @@ -26,3 +26,8 @@ _ensure_latest_version(){ return 1 fi } + +_ensure_catalogue(){ + run git clone https://git.coopcloud.tech/coop-cloud/recipes-catalogue-json.git $ABRA_DIR/catalogue + assert_success +}