forked from toolshed/abra
test: ensure catalogue
This commit is contained in:
parent
c5211fbd7e
commit
0f8f0f908f
@ -9,7 +9,11 @@ steps:
|
|||||||
|
|
||||||
- name: make test
|
- name: make test
|
||||||
image: golang:1.21
|
image: golang:1.21
|
||||||
|
environment:
|
||||||
|
CATL_URL: https://git.coopcloud.tech/coop-cloud/recipes-catalogue-json.git
|
||||||
commands:
|
commands:
|
||||||
|
- mkdir -p $HOME/.abra
|
||||||
|
- git clone $CATL_URL $HOME/.abra/catalogue
|
||||||
- make test
|
- make test
|
||||||
depends_on:
|
depends_on:
|
||||||
- make check
|
- make check
|
||||||
|
@ -7,9 +7,13 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestGetVersionLabelLocalDoesNotUseTimeoutLabel(t *testing.T) {
|
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
|
offline := true
|
||||||
|
|
||||||
|
_, err := ReadRecipeCatalogue(offline)
|
||||||
|
if err != nil {
|
||||||
|
t.Fatal(err)
|
||||||
|
}
|
||||||
|
|
||||||
r, err := Get("traefik", offline)
|
r, err := Get("traefik", offline)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user