Add deb-internal local and deb-custom virtual #72

Open
unkin-agent wants to merge 2 commits from benvin/deb-custom into main
6 changed files with 39 additions and 0 deletions
+5
View File
@@ -97,6 +97,11 @@ locals {
trimsuffix(basename(file_path), ".yaml") => content
if startswith(file_path, "local_helm/")
}
local_deb = {
for file_path, content in local.all_configs :
trimsuffix(basename(file_path), ".yaml") => content
if startswith(file_path, "local_deb/")
}
local_npm = {
for file_path, content in local.all_configs :
trimsuffix(basename(file_path), ".yaml") => content
+1
View File
@@ -0,0 +1 @@
description: "Internal Debian packages"
+17
View File
@@ -0,0 +1,17 @@
package_type: deb
description: "Custom flat-layout deb repo: internal and GitHub-release packages. Member order is priority order."
members:
- deb-internal
- cloudnative-pg-cloudnative-pg-deb
- storytold-cadcraft-deb
- storytold-deckcraft-deb
- storytold-effectcraft-deb
- storytold-filmcraft-deb
- storytold-gridcraft-deb
- storytold-lightcraft-deb
- storytold-pdfcraft-deb
- storytold-photocraft-deb
- storytold-soundcraft-deb
- storytold-vectorcraft-deb
- storytold-wordcraft-deb
- stablyai-orca-deb
@@ -35,6 +35,7 @@ inputs = {
local_pypi = local.config.local_pypi
local_rpm = local.config.local_rpm
local_helm = local.config.local_helm
local_deb = local.config.local_deb
local_npm = local.config.local_npm
local_goproxy = local.config.local_goproxy
local_gems = local.config.local_gems
+7
View File
@@ -215,6 +215,13 @@ resource "artifactapi_local_helm" "this" {
description = each.value.description
}
resource "artifactapi_local_deb" "this" {
for_each = var.local_deb
name = each.key
description = each.value.description
}
resource "artifactapi_local_npm" "this" {
for_each = var.local_npm
+8
View File
@@ -221,6 +221,14 @@ variable "local_helm" {
default = {}
}
variable "local_deb" {
description = "Map of local Debian repositories"
type = map(object({
description = optional(string, "")
}))
default = {}
}
variable "local_npm" {
description = "Map of local npm registries"
type = map(object({