test: ensure catalogue
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
decentral1se 2024-07-07 12:03:43 +02:00
parent c5211fbd7e
commit 0f8f0f908f
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 10 additions and 2 deletions

View File

@ -9,7 +9,11 @@ steps:
- name: make test
image: golang:1.21
environment:
CATL_URL: https://git.coopcloud.tech/coop-cloud/recipes-catalogue-json.git
commands:
- mkdir -p $HOME/.abra
- git clone $CATL_URL $HOME/.abra/catalogue
- make test
depends_on:
- make check

View File

@ -7,9 +7,13 @@ import (
)
func TestGetVersionLabelLocalDoesNotUseTimeoutLabel(t *testing.T) {
t.Skip("TODO: CI refuses to pass this test: https://build.coopcloud.tech/coop-cloud/abra/1864/1/3")
offline := true
_, err := ReadRecipeCatalogue(offline)
if err != nil {
t.Fatal(err)
}
r, err := Get("traefik", offline)
if err != nil {
t.Fatal(err)