Skip to content

Commit

Permalink
Support multiple repositories with different locations
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolst committed Aug 7, 2024
1 parent fa0f68a commit 9f0aa51
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions src/v1/kuben-team-definition.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,18 +128,23 @@
"artifact_registry": {
"type": "object",
"properties": {
"formats": {
"registries": {
"type": "array",
"description": "Set of formats - in upper case- to create artifact registries for, as defined in https://cloud.google.com/artifact-registry/docs/supported-formats . Examples is DOCKER, PYTHON",
"description": "A list of registries/repositories to create",
"items": {
"type": "string",
"pattern": "^[A-Z-_]*$"
"type": "object",
"properties": {
"format": {
"type": "string",
"description": "The format of the registry, in upper case. See https://cloud.google.com/artifact-registry/docs/supported-formats."
},
"location": {
"type": "string",
"description": "The location for the registry."
}
}
}
},
"location": {
"type": "string",
"description": "The location for the artifact registry repositories."
},
"repos": {
"type": "array",
"description": "A list of github repositories under Statistics Norway-organisation that is allowed to push to Artifact Registry repositories of the team.",
Expand Down

0 comments on commit 9f0aa51

Please sign in to comment.