Skip to content

Commit

Permalink
enable ACM prerelease cache in ACR (#719)
Browse files Browse the repository at this point in the history
Jira: https://issues.redhat.com/browse/ARO-10315

Signed-off-by: Gerd Oberlechner <[email protected]>
  • Loading branch information
geoberle authored Oct 23, 2024
1 parent c3c4aea commit 6db562c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions dev-infrastructure/configurations/mvp-dev-acr.bicepparam
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ param quayRepositoriesToCache = [
userIdentifier: 'quay-componentsync-username'
passwordIdentifier: 'quay-componentsync-password'
}
{
ruleName: 'acm-d-mce'
sourceRepo: 'quay.io/acm-d/*'
targetRepo: 'acm-d-mce/multicluster-engine/*'
userIdentifier: 'acm-d-componentsync-username'
passwordIdentifier: 'acm-d-componentsync-password'
}
]

param purgeJobs = [
Expand Down
2 changes: 1 addition & 1 deletion dev-infrastructure/templates/dev-acr.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ resource purgeCached 'Microsoft.ContainerRegistry/registries/tasks@2019-04-01' =
encodedTaskContent: base64(format(
'''
version: v1.1.0
steps:
steps:
- cmd: acr purge --filter "{0}" --keep {1} --ago {2}
disableWorkingDirectoryOverride: true
timeout: 3600
Expand Down

0 comments on commit 6db562c

Please sign in to comment.