Fix missing parenthesis;Attempt parsing argo-cd chart
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9eb5fbd0a3
commit
72202d9f21
@ -39,8 +39,8 @@
|
||||
|
||||
- name: Compress tarballs
|
||||
community.general.archive:
|
||||
dest: /opt/metacluster/container-images/{{ item | regex_findall('[^/:]+'))[-2] }}.tar.gz
|
||||
path: /opt/metacluster/container-images/{{ item | regex_findall('[^/:]+'))[-2] }}.tar
|
||||
dest: /opt/metacluster/container-images/{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar.gz
|
||||
path: /opt/metacluster/container-images/{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar
|
||||
remove: yes
|
||||
ignore_errors: yes
|
||||
loop: "{{ containerimages.results | map(attribute='stdout_lines') | flatten }}"
|
||||
|
@ -28,7 +28,7 @@ components:
|
||||
helm:
|
||||
version: 4.9.7 # (= ArgoCD v2.4.2)
|
||||
chart: argo/argo-cd
|
||||
parse_logic: yq e '.. | select(has("repository")) | .repository + ":" + (.tag // "v2.4.2")'
|
||||
parse_logic: yq e '.. | select(has("repository")) |= (with(select(.tag == "" or .tag == null); .repository + ":v2.4.2") | with(select(.tag != "" and .tag != null); .repository + ":" + .tag))'
|
||||
|
||||
dependencies:
|
||||
|
||||
@ -43,7 +43,7 @@ dependencies:
|
||||
archive: compressed
|
||||
extra_opts: --strip-components=1
|
||||
- filename: yq
|
||||
url: http://github.com/mikefarah/yq/releases/download/v4.25.2/yq_linux_amd64
|
||||
url: http://github.com/mikefarah/yq/releases/download/v4.25.3/yq_linux_amd64
|
||||
|
||||
packages:
|
||||
- skopeo
|
||||
|
Loading…
Reference in New Issue
Block a user