Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPSEXP-2503 Add possibility to change activemq image registry. #26

Merged
merged 3 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions deployments/uber-manifest.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ scms:
{{ $default_repo_image := "quay.io/alfresco/alfresco-content-repository" }}
{{ $default_search_image := "quay.io/alfresco/search-services" }}
{{ $default_share_image := "quay.io/alfresco/alfresco-share" }}
{{ $default_activemq_image := "quay.io/alfresco/alfresco-activemq" }}

sources:
{{- range .matrix }}
Expand Down Expand Up @@ -51,12 +52,15 @@ sources:
^{{ index . "adw" "version" }}{{ index . "adw" "pattern" }}$
{{- end }}
{{- if index . "activemq" }}
{{ $activemq_image := index . "activemq" "image" | default $default_activemq_image }}
activemqTag_{{ $id }}:
name: Alfresco ActiveMQ tag
kind: dockerimage
spec:
image: quay.io/alfresco/alfresco-activemq
image: {{ $activemq_image }}
{{ if eq (printf "%.8s" $activemq_image) "quay.io/" }}
{{ template "quay_auth" }}
{{ end }}
versionFilter:
kind: regex
pattern: >-
Expand Down Expand Up @@ -411,7 +415,7 @@ targets:
kind: yaml
sourceid: activemqTag_{{ $id }}
transformers:
- addprefix: "quay.io/alfresco/alfresco-activemq:"
- addprefix: "{{ index . "activemq" "image" | default $default_activemq_image }}:"
spec:
file: {{ .activemq.compose_target }}
key: >-
Expand Down
1 change: 1 addition & 0 deletions deployments/values/supported-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ matrix:
activemq:
version: "5.18"
pattern: *ga_activemq_pattern
image: docker.io/alfresco/alfresco-activemq
share:
version: *acs_ga_version
pattern: *ga_hotfixes_pattern
Expand Down
Loading