Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
aa38026
[patch] moving user timeout in the end
unnati-solanki-git Sep 5, 2024
fd1409a
Merge remote-tracking branch 'refs/remotes/origin/master'
unnati-solanki-git Oct 14, 2024
9ab074f
Merge remote-tracking branch 'refs/remotes/origin/master'
unnati-solanki-git Nov 11, 2024
9eef48d
Merge remote-tracking branch 'refs/remotes/origin/master'
unnati-solanki-git Nov 14, 2024
a1ba3a0
Merge remote-tracking branch 'refs/remotes/origin/master'
unnati-solanki-git Nov 17, 2024
c0e9d23
[patch] support attachments
unnati-solanki-git Nov 17, 2024
1fe47a8
[patch] temp python changes
unnati-solanki-git Nov 22, 2024
2f32911
[patch] added artifactory for for ivt pipeline
unnati-solanki-git Nov 28, 2024
0f2c721
Merge branch 'master' into maxmof-827
unnati-solanki-git Nov 28, 2024
beecb6b
Merge branch 'master' into maxmof-827
unnati-solanki-git Dec 2, 2024
0966bc6
Merge branch 'master' into maxmof-827
unnati-solanki-git Dec 3, 2024
77a357c
[patch] point to ansible devops
unnati-solanki-git Dec 3, 2024
247955c
[patch] remove defaults for attachments
unnati-solanki-git Dec 4, 2024
c6388f1
[patch] retrive ansible version latest
unnati-solanki-git Dec 5, 2024
f5b05b3
[patch] again change
unnati-solanki-git Dec 5, 2024
1764ad1
[patch] removed old python-devops
unnati-solanki-git Dec 6, 2024
ee17aef
Merge branch 'master' into maxmof-827
unnati-solanki-git Dec 6, 2024
986f3d6
[patch] new build python-devops
unnati-solanki-git Dec 6, 2024
2ffb6b4
[patch] new image python devops with 100
unnati-solanki-git Dec 6, 2024
0c53372
[patch] rename python devops bundle
svalluri-ibm Dec 6, 2024
30c2d86
Merge branch 'master' into maxmof-827
unnati-solanki-git Dec 7, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/build-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ jobs:
if [[ -e $GITHUB_WORKSPACE/image/cli/install/ibm-mas_devops.tar.gz ]]; then
echo "Found a local Ansible collection to be used in $GITHUB_WORKSPACE/image/cli/install/ibm-mas_devops.tar.gz! Skip download from Artifactory..."
else
echo "Downloading from ***/ibm-mas/ansible-devops/latest/ibm-mas_devops-latest.tar.gz"
wget --header="Authorization:Bearer $ARTIFACTORY_TOKEN" $ARTIFACTORY_GENERIC_RELEASE_URL/ibm-mas/ansible-devops/latest/ibm-mas_devops-latest.tar.gz -O $GITHUB_WORKSPACE/image/cli/install/ibm-mas_devops.tar.gz
echo "Downloading from ***/ibm-mas/ansible-devops/25.0.0-pre.maxmof-827/ibm-mas_devops-25.0.0-pre.maxmof-827.tar.gz"
wget --header="Authorization:Bearer $ARTIFACTORY_TOKEN" $ARTIFACTORY_GENERIC_RELEASE_URL/ibm-mas/ansible-devops/25.0.0-pre.maxmof-827/ibm-mas_devops-25.0.0-pre.maxmof-827.tar.gz -O $GITHUB_WORKSPACE/image/cli/install/ibm-mas_devops.tar.gz
fi

# 3. Download Built Artifacts
Expand Down
Binary file added image/cli/install/mas_devops.tar.gz
Binary file not shown.
6 changes: 6 additions & 0 deletions python/src/mas/cli/install/argBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,12 @@ def buildCommand(self) -> str:
if self.getParam('mas_app_settings_server_timezone') != "":
command += f" --manage-server-timezone \"{self.getParam('mas_app_settings_server_timezone')}\"{newline}"

if self.getParam('mas_manage_attachments_provider') != "":
command += f" --mas-manage-attachments-provider \"{self.getParam('mas_manage_attachments_provider')}\"{newline}"

if self.getParam('mas_manage_attachment_configuration_mode') != "":
command += f" --mas-manage-attachment-configuration-mode \"{self.getParam('mas_manage_attachment_configuration_mode')}\"{newline}"

# IBM Cloud Pak for Data
# -----------------------------------------------------------------------------
if self.getParam('cpd_product_version') != "":
Expand Down
19 changes: 17 additions & 2 deletions python/src/mas/cli/install/argParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ def isValidFile(parser, arg) -> str:
"--manage-jms",
dest="mas_app_settings_default_jms",
required=False,
help="",
help="Set JMS configuration",
action="store_const",
const="true"
)
Expand Down Expand Up @@ -651,6 +651,21 @@ def isValidFile(parser, arg) -> str:
help="Manage server timezone. Default is `GMT`"
)

# Manage Attachments
# -----------------------------------------------------------------------------
manageArgGroup.add_argument(
"--mas-manage-attachments-provider",
dest="mas_manage_attachments_provider",
required=False,
help="Defines the storage provider type to be used to store Manage application's attachments."
)
manageArgGroup.add_argument(
"--mas-manage-attachment-configuration-mode",
dest="mas_manage_attachment_configuration_mode",
required=False,
help="Defines how attachment properties will be configured in Manage. Possible values are: cr and db"
)

# IBM Cloud Pak for Data
# -----------------------------------------------------------------------------
cpdAppsArgGroup = installArgParser.add_argument_group("IBM Cloud Pak for Data")
Expand Down Expand Up @@ -906,7 +921,7 @@ def isValidFile(parser, arg) -> str:
)

# COS
# -----------------------------------------------------------------------------
# ------------------------------------------------------------------------------
cosArgGroup = installArgParser.add_argument_group("Cloud Object Storage")
cosArgGroup.add_argument(
"--cos",
Expand Down
3 changes: 3 additions & 0 deletions python/src/mas/cli/install/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@
"cos_type",
"cos_resourcegroup",
"cos_apikey",
# Attachments
"mas_manage_attachments_provider",
"mas_manage_attachment_configuration_mode",
# ECK
"eck_action",
"eck_enable_logstash",
Expand Down
21 changes: 21 additions & 0 deletions tekton/src/tasks/ivt/ivt-manage.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ spec:
type: string
description: FVT Digest - Shared Test Container
default: ""

# Test-specific Information (all optional)
# -------------------------------------------------------------------------
- name: artifactory_token
type: string
description: Artifactory API Key (required by fvt-ibm-mas-manage to upload test framework logs)
default: ""

stepTemplate:
name: 'ivt-manage'
Expand Down Expand Up @@ -112,6 +119,20 @@ spec:
optional: true
- name: IBMADMIN_ENABLED
value: "true"

# If this secret exists (with both ARTIFACTORY_TOKEN and ARTIFACTORY_UPLOAD_DIR keys set) Maximo Automation Framework logs will be automatically uploaded
- name: ARTIFACTORY_TOKEN
valueFrom:
secretKeyRef:
name: mas-devops
key: ARTIFACTORY_TOKEN
optional: true
- name: ARTIFACTORY_UPLOAD_DIR
valueFrom:
secretKeyRef:
name: mas-devops
key: ARTIFACTORY_UPLOAD_DIR
optional: true

volumes:
- name: dshm
Expand Down