Skip to content

Commit 62c1ce2

Browse files
committed
[patch] Add mas_catalog_digest to pipelinerun-update template
1 parent e54c08d commit 62c1ce2

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v9-260625-amd64.yaml

src/mas/devops/templates/pipelinerun-update.yml.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ spec:
2727
# -------------------------------------------------------------------------
2828
- name: mas_catalog_version
2929
value: "{{ mas_catalog_version }}"
30+
{%- if mas_catalog_digest is defined and mas_catalog_digest != "" %}
31+
- name: mas_catalog_digest
32+
value: "{{ mas_catalog_digest }}"
33+
{%- endif %}
3034

3135
{%- if ibm_entitlement_key is defined and ibm_entitlement_key != "" %}
3236
# TODO: What even uses this, nothing in the update pipeline should be using this

src/mas/devops/templates/pipelinerun-upgrade.yml.j2

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ spec:
4141
- name: skip_pre_check
4242
value: "{{ skip_pre_check }}"
4343
{%- endif %}
44+
{%- if skip_compatibility_check is defined and skip_compatibility_check != "" %}
45+
# Skip compatibility check
46+
# -------------------------------------------------------------------------
47+
- name: skip_compatibility_check
48+
value: "{{ skip_compatibility_check }}"
49+
{%- endif %}
4450
{%- if artifactory_username is defined and artifactory_username != "" %}
4551

4652
# Enable development catalogs

0 commit comments

Comments
 (0)