2.Image.Builder/Registry/config.auto.tfvars (112 lines of code) (raw):
resourceGroupName = "ArtistAnywhere.Image.Registry"
######################################################################################################
# Container Registry (https://learn.microsoft.com/azure/container-registry/container-registry-intro) #
######################################################################################################
containerRegistry = {
name = "xstudio"
tier = "Premium"
adminUser = {
enable = true
}
dataEndpoint = {
enable = true
}
zoneRedundancy = {
enable = true
}
quarantinePolicy = {
enable = true
}
exportPolicy = {
enable = true
}
trustPolicy = {
enable = true
}
anonymousPull = {
enable = true
}
encryption = {
enable = false
}
retentionPolicy = {
days = 7
}
firewallRules = [
{
action = "Allow" # Task Agent
ipRange = "40.124.64.0/25"
}
]
replicationRegions = [
{
name = "WestUS"
regionEndpoint = {
enable = true
}
zoneRedundancy = {
enable = false
}
}
]
tasks = [
{
enable = true
name = "LnxClusterCPU"
type = "Linux"
docker = {
context = {
hostUrl = "https://github.com/Azure/ArtistAnywhere.git"
accessToken = " "
}
filePath = "2.Image.Builder/Registry/Docker/LnxClusterCPU"
imageNames = [
"lnx-cluster-cpu"
]
cache = {
enable = false
}
}
agentPool = {
enable = true
name = "xstudio"
}
timeout = {
seconds = 3600
}
},
{
enable = true
name = "WinClusterCPU"
type = "Windows"
docker = {
context = {
hostUrl = "https://github.com/Azure/ArtistAnywhere.git"
accessToken = " "
}
filePath = "2.Image.Builder/Registry/Docker/WinClusterCPU"
imageNames = [
"win-cluster-cpu"
]
cache = {
enable = false
}
}
agentPool = {
enable = true
name = "xstudio"
}
timeout = {
seconds = 3600
}
}
]
agentPools =[
{
enable = true
name = "xstudio"
type = "S1"
count = 1
}
]
}