From 4f055096e98284514846f551f4a8b19d4999fe68 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Sun, 15 Jan 2023 18:12:14 -0800 Subject: [PATCH] chore: fix Drone build, ignore auto-recipes-catalogue-json --- .drone.yml | 1 + cli/catalogue/catalogue.go | 71 +++++++++++++++++++------------------- pkg/recipe/recipe.go | 2 +- 3 files changed, 37 insertions(+), 37 deletions(-) diff --git a/.drone.yml b/.drone.yml index d34478f0..c45e4c58 100644 --- a/.drone.yml +++ b/.drone.yml @@ -68,6 +68,7 @@ steps: from_secret: git_coopcloud_tech_token_3wc repo: git.coopcloud.tech/coop-cloud/abra tags: latest + registry: git.coopcloud.tech when: event: exclude: diff --git a/cli/catalogue/catalogue.go b/cli/catalogue/catalogue.go index 72fde72f..0b1dcecb 100644 --- a/cli/catalogue/catalogue.go +++ b/cli/catalogue/catalogue.go @@ -20,42 +20,41 @@ import ( // CatalogueSkipList is all the repos that are not recipes. var CatalogueSkipList = map[string]bool{ - "abra": true, - "abra-apps": true, - "abra-aur": true, - "abra-bash": true, - "abra-capsul": true, - "abra-gandi": true, - "abra-hetzner": true, - "apps": true, - "aur-abra-git": true, - "auto-apps-json": true, - "auto-mirror": true, - "backup-bot": true, - "backup-bot-two": true, - "beta.coopcloud.tech": true, - "comrade-renovate-bot": true, - "coopcloud.tech": true, - "coturn": true, - "docker-cp-deploy": true, - "docker-dind-bats-kcov": true, - "docs.coopcloud.tech": true, - "drone-abra": true, - "example": true, - "gardening": true, - "go-abra": true, - "organising": true, - "outline-with-patch": true, - "pyabra": true, - "radicle-seed-node": true, - "recipes-catalogue-json": true, - "recipes-wishlist": true, - "recipes.coopcloud.tech": true, - "stack-ssh-deploy": true, - "swarm-cronjob": true, - "tagcmp": true, - "traefik-cert-dumper": true, - "tyop": true, + "abra": true, + "abra-apps": true, + "abra-aur": true, + "abra-bash": true, + "abra-capsul": true, + "abra-gandi": true, + "abra-hetzner": true, + "apps": true, + "aur-abra-git": true, + "auto-recipes-catalogue-json": true, + "auto-mirror": true, + "backup-bot": true, + "backup-bot-two": true, + "beta.coopcloud.tech": true, + "comrade-renovate-bot": true, + "coopcloud.tech": true, + "coturn": true, + "docker-cp-deploy": true, + "docker-dind-bats-kcov": true, + "docs.coopcloud.tech": true, + "drone-abra": true, + "example": true, + "gardening": true, + "go-abra": true, + "organising": true, + "pyabra": true, + "radicle-seed-node": true, + "recipes-catalogue-json": true, + "recipes-wishlist": true, + "recipes.coopcloud.tech": true, + "stack-ssh-deploy": true, + "swarm-cronjob": true, + "tagcmp": true, + "traefik-cert-dumper": true, + "tyop": true, } var catalogueGenerateCommand = cli.Command{ diff --git a/pkg/recipe/recipe.go b/pkg/recipe/recipe.go index 08384295..11ee06e0 100644 --- a/pkg/recipe/recipe.go +++ b/pkg/recipe/recipe.go @@ -8,8 +8,8 @@ import ( "os" "path" "path/filepath" - "strings" "strconv" + "strings" "time" "coopcloud.tech/abra/pkg/client"