Skip to content

Commit 02a88cd

Browse files
committed
Merge branch 'stable' of https://github.com/ibm-mas/python-devops into mcpi-cli-install
2 parents b5c8292 + da32dd4 commit 02a88cd

10 files changed

Lines changed: 364 additions & 144 deletions

‎src/mas/devops/data/catalogs/v9-261007-amd64.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,5 +205,5 @@ editorial:
205205
whats_new:
206206
- title: '**Security updates and bug fixes**'
207207
details:
208-
- Security fix available for CVE-2026-105052 (Path Traversal, CVSS 7.5) Details: https://www.ibm.com/support/pages/node/7289766
209-
- IBM Maximo Application Suite Core Platform [v9.0.33], [v9.1.27] and [v9.2.8]
208+
- Security fix available for CVE-2026-105052 (Path Traversal, CVSS 7.5) [Security-Bulletin](https://www.ibm.com/support/pages/node/7290791)
209+
- IBM Maximo Application Suite Core Platform [v9.0.33], [v9.1.27] and [v9.2.8]

‎src/mas/devops/data/catalogs/v9-261007-ppc64le.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@ editorial:
7272
whats_new:
7373
- title: '**Security updates and bug fixes**'
7474
details:
75-
- Security fix available for CVE-2026-105052 (Path Traversal, CVSS 7.5) Details: https://www.ibm.com/support/pages/node/7289766
75+
- Security fix available for CVE-2026-105052 (Path Traversal, CVSS 7.5) [Security-Bulletin](https://www.ibm.com/support/pages/node/7290791)
7676
- IBM Maximo Application Suite Core Platform [v9.0.33], [v9.1.27] and [v9.2.8]

‎src/mas/devops/data/catalogs/v9-261007-s390x.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@ editorial:
7272
whats_new:
7373
- title: '**Security updates and bug fixes**'
7474
details:
75-
- Security fix available for CVE-2026-105052 (Path Traversal, CVSS 7.5) Details: https://www.ibm.com/support/pages/node/7289766
75+
- Security fix available for CVE-2026-105052 (Path Traversal, CVSS 7.5) [Security-Bulletin](https://www.ibm.com/support/pages/node/7290791)
7676
- IBM Maximo Application Suite Core Platform [v9.0.33], [v9.1.27] and [v9.2.8]

‎src/mas/devops/tekton.py‎

Lines changed: 327 additions & 62 deletions
Large diffs are not rendered by default.

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

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,34 +15,24 @@ spec:
1515
pipeline: "0"
1616

1717
params:
18+
# Registry Credentials Secret
19+
# -------------------------------------------------------------------------
20+
- name: pipeline_registry_secret_name
21+
value: "mas-aiservice-upgrade-secrets"
22+
1823
# Target AI Service Instance
1924
# -------------------------------------------------------------------------
2025
- name: aiservice_instance_id
2126
value: "{{ aiservice_instance_id }}"
2227
- name: aiservice_channel
2328
value: "{{ aiservice_channel }}"
2429

25-
# IBM Entitlement Key
26-
# -------------------------------------------------------------------------
27-
- name: ibm_entitlement_key
28-
value: "{{ ibm_entitlement_key }}"
29-
3030
{%- if skip_pre_check is defined and skip_pre_check != "" %}
3131
# Skip pre-check
3232
# -------------------------------------------------------------------------
3333
- name: skip_pre_check
3434
value: "{{ skip_pre_check }}"
3535
{%- endif %}
36-
{%- if artifactory_username is defined and artifactory_username != "" %}
37-
38-
# Enable development catalogs
39-
# -------------------------------------------------------------------------
40-
- name: artifactory_username
41-
value: "{{ artifactory_username }}"
42-
- name: artifactory_token
43-
value: "{{ artifactory_token }}"
44-
{%- endif %}
45-
4636
workspaces:
4737
# The generated configuration files
4838
# -------------------------------------------------------------------------

‎src/mas/devops/templates/pipelinerun-backup.yml.j2‎

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ spec:
1717
persistentVolumeClaim:
1818
claimName: backup-pvc
1919
params:
20+
# Registry Credentials Secret
21+
# -------------------------------------------------------------------------
22+
- name: pipeline_registry_secret_name
23+
value: "mas-backup-secrets"
24+
2025
# Common Parameters
2126
- name: image_pull_policy
2227
value: IfNotPresent
@@ -74,16 +79,6 @@ spec:
7479
value: "{{ cert_manager_provider }}"
7580
{% endif %}
7681

77-
# Development Build Support
78-
{% if artifactory_username is defined and artifactory_username != "" %}
79-
- name: artifactory_username
80-
value: "{{ artifactory_username }}"
81-
{% endif %}
82-
{% if artifactory_token is defined and artifactory_token != "" %}
83-
- name: artifactory_token
84-
value: "{{ artifactory_token }}"
85-
{% endif %}
86-
8782
# Upload Configuration
8883
{% if upload_backup is defined and upload_backup != "" %}
8984
- name: upload_backup

‎src/mas/devops/templates/pipelinerun-install.yml.j2‎

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,15 @@ spec:
1919
pipeline: "0"
2020

2121
params:
22-
# IBM Entitlement Key
22+
# Registry Credentials Secret
2323
# -------------------------------------------------------------------------
24-
- name: ibm_entitlement_key
25-
value: "{{ ibm_entitlement_key }}"
24+
- name: pipeline_registry_secret_name
25+
{%- if mas_instance_id is defined and mas_instance_id != "" %}
26+
value: "mas-install-secrets"
27+
{%- else %}
28+
value: "mas-aiservice-install-secrets"
29+
{%- endif %}
30+
2631
{%- if skip_pre_check is defined and skip_pre_check != "" %}
2732

2833
# Pipeline config
@@ -44,15 +49,6 @@ spec:
4449
- name: ocp_ingress_tls_secret_name
4550
value: "{{ ocp_ingress_tls_secret_name }}"
4651
{%- endif %}
47-
{%- if artifactory_username is defined and artifactory_username != "" %}
48-
49-
# Enable development catalogs
50-
# -------------------------------------------------------------------------
51-
- name: artifactory_username
52-
value: "{{ artifactory_username }}"
53-
- name: artifactory_token
54-
value: "{{ artifactory_token }}"
55-
{%- endif %}
5652
{%- if ibmcloud_apikey is defined and ibmcloud_resourcegroup != "" %}
5753

5854
# IBM Cloud

‎src/mas/devops/templates/pipelinerun-restore.yml.j2‎

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ spec:
2020
secret:
2121
secretName: pipeline-restore-configs
2222
params:
23+
# Registry Credentials Secret
24+
# -------------------------------------------------------------------------
25+
- name: pipeline_registry_secret_name
26+
value: "mas-restore-secrets"
27+
2328
# Common Parameters
2429
- name: image_pull_policy
2530
value: IfNotPresent
@@ -99,10 +104,6 @@ spec:
99104
- name: dro_contact_lastname
100105
value: "{{ dro_contact_lastname }}"
101106
{% endif %}
102-
{% if ibm_entitlement_key is defined and ibm_entitlement_key != "" %}
103-
- name: ibm_entitlement_key
104-
value: "{{ ibm_entitlement_key }}"
105-
{% endif %}
106107
{% if dro_namespace is defined and dro_namespace != "" %}
107108
- name: dro_namespace
108109
value: "{{ dro_namespace }}"
@@ -148,16 +149,6 @@ spec:
148149
value: "{{ cert_manager_provider }}"
149150
{% endif %}
150151

151-
# Development Build Support
152-
{% if artifactory_username is defined and artifactory_username != "" %}
153-
- name: artifactory_username
154-
value: "{{ artifactory_username }}"
155-
{% endif %}
156-
{% if artifactory_token is defined and artifactory_token != "" %}
157-
- name: artifactory_token
158-
value: "{{ artifactory_token }}"
159-
{% endif %}
160-
161152
# Download Configuration
162153
{% if backup_archive_name is defined and backup_archive_name != "" %}
163154
- name: backup_archive_name

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

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ spec:
1515
pipeline: "0"
1616

1717
params:
18+
# Registry Credentials Secret
19+
# -------------------------------------------------------------------------
20+
- name: pipeline_registry_secret_name
21+
value: "mas-update-secrets"
22+
1823
{%- if image_pull_policy is defined and image_pull_policy != "" %}
1924

2025
# Image Pull Policy
@@ -28,19 +33,6 @@ spec:
2833
- name: mas_catalog_version
2934
value: "{{ mas_catalog_version }}"
3035

31-
{%- if ibm_entitlement_key is defined and ibm_entitlement_key != "" %}
32-
# TODO: What even uses this, nothing in the update pipeline should be using this
33-
- name: ibm_entitlement_key
34-
value: "{{ ibm_entitlement_key }}"
35-
{%- endif %}
36-
{%- if artifactory_username is defined and artifactory_username != "" %}
37-
# Enable development catalogs
38-
# -------------------------------------------------------------------------
39-
- name: artifactory_username
40-
value: "{{ artifactory_username }}"
41-
- name: artifactory_token
42-
value: "{{ artifactory_token }}"
43-
{%- endif %}
4436
{%- if skip_pre_check is defined and skip_pre_check != "" %}
4537
# Skip pre-check
4638
# -------------------------------------------------------------------------

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

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ spec:
1515
pipeline: "0"
1616

1717
params:
18+
# Registry Credentials Secret
19+
# -------------------------------------------------------------------------
20+
- name: pipeline_registry_secret_name
21+
value: "mas-upgrade-secrets"
22+
1823
{%- if image_pull_policy is defined and image_pull_policy != "" %}
1924

2025
# Image Pull Policy
@@ -30,26 +35,12 @@ spec:
3035
- name: mas_channel
3136
value: "{{ mas_channel }}"
3237

33-
# IBM Entitlement Key
34-
# -------------------------------------------------------------------------
35-
- name: ibm_entitlement_key
36-
value: "{{ ibm_entitlement_key }}"
37-
3838
{%- if skip_pre_check is defined and skip_pre_check != "" %}
3939
# Skip pre-check
4040
# -------------------------------------------------------------------------
4141
- name: skip_pre_check
4242
value: "{{ skip_pre_check }}"
4343
{%- endif %}
44-
{%- if artifactory_username is defined and artifactory_username != "" %}
45-
46-
# Enable development catalogs
47-
# -------------------------------------------------------------------------
48-
- name: artifactory_username
49-
value: "{{ artifactory_username }}"
50-
- name: artifactory_token
51-
value: "{{ artifactory_token }}"
52-
{%- endif %}
5344
{%- if storage_class_rwo is defined and storage_class_rwo != "" %}
5445
- name: storage_class_rwo
5546
value: "{{ storage_class_rwo }}"

0 commit comments

Comments
 (0)