Merge pull request 'artifactapi module: plumb mirror_strategy on rpm/apk remotes' (#26) from benvin/mirror-strategy-config into main
ci/woodpecker/push/apply Pipeline was successful
ci/woodpecker/push/apply Pipeline was successful
Reviewed-on: #26
This commit was merged in pull request #26.
This commit is contained in:
@@ -10,6 +10,7 @@ resource "artifactapi_remote_alpine" "this" {
|
||||
mutable_patterns = each.value.mutable_patterns
|
||||
stale_on_error = each.value.stale_on_error
|
||||
mirrorlist = each.value.mirrorlist
|
||||
mirror_strategy = each.value.mirror_strategy
|
||||
}
|
||||
|
||||
resource "artifactapi_remote_docker" "this" {
|
||||
@@ -76,6 +77,7 @@ resource "artifactapi_remote_rpm" "this" {
|
||||
mutable_patterns = each.value.mutable_patterns
|
||||
stale_on_error = each.value.stale_on_error
|
||||
mirrorlist = each.value.mirrorlist
|
||||
mirror_strategy = each.value.mirror_strategy
|
||||
}
|
||||
|
||||
resource "artifactapi_remote_pypi" "this" {
|
||||
|
||||
@@ -9,6 +9,7 @@ variable "remote_alpine" {
|
||||
mutable_patterns = optional(list(string), [])
|
||||
stale_on_error = optional(bool, true)
|
||||
mirrorlist = optional(list(string), [])
|
||||
mirror_strategy = optional(string, null)
|
||||
}))
|
||||
default = {}
|
||||
}
|
||||
@@ -80,6 +81,7 @@ variable "remote_rpm" {
|
||||
mutable_patterns = optional(list(string), [])
|
||||
stale_on_error = optional(bool, true)
|
||||
mirrorlist = optional(list(string), [])
|
||||
mirror_strategy = optional(string, null)
|
||||
}))
|
||||
default = {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user