This repository has been archived by the owner on Nov 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[major] Support for MAS 8.8 & Maximo Curated Operator Catalog (#63)
- Loading branch information
Showing
61 changed files
with
761 additions
and
708 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
|
||
*.DS_Store* | ||
site | ||
ibm/mas_airgap/ibm-mas_airgap-*.tar.gz | ||
build/bin/downloads | ||
build/bin/digests | ||
ibm/mas_airgap/dev-*.yml | ||
image/ansible-airgap/ibm-mas_airgap.tar.gz | ||
ibm-mas_airgap-*.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
.PHONY: build install clean all | ||
|
||
.DEFAULT_GOAL := all | ||
|
||
build: | ||
ansible-galaxy collection build --output-path . ibm/mas_airgap --force | ||
install: | ||
ansible-galaxy collection install ibm-mas_airgap-2.0.0.tar.gz --force --no-deps | ||
clean: | ||
rm ibm-mas_airgap-2.0.0.tar.gz | ||
|
||
all: build install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/bin/bash | ||
|
||
# We can't access the image maps from the case bundles at install time, because we're likely running in | ||
# and environment with limited connectivity, so everything needs to be self-contained. | ||
# | ||
# Soon, we will improve our airgap implemention to not need these seperate digests, they were a | ||
# tactical solution to accelerate airgap delivery. | ||
|
||
function download_case() { | ||
case_name=$1 | ||
case_version=$2 | ||
inventory_name=$3 | ||
|
||
mkdir -p downloads | ||
if [[ ! -e "downloads/${case_name}-${case_version}.tgz" ]]; then | ||
wget -k https://github.com/IBM/cloud-pak/blob/master/repo/case/${case_name}/${case_version}/${case_name}-${case_version}.tgz?raw=true -O downloads/${case_name}-${case_version}.tgz | ||
fi | ||
|
||
mkdir -p digests/${case_name} | ||
tar -xvf downloads/${case_name}-${case_version}.tgz -C digests/${case_name} ${case_name}/inventory/${inventory_name}/files/image-map.yaml --strip-components 4 | ||
mv digests/${case_name}/image-map.yaml digests/${case_name}/${case_version}.yaml | ||
} | ||
|
||
# SLS | ||
# ----------------------------------------------------------------------------- | ||
download_case ibm-sls 3.4.0 ibmSlsSetup | ||
|
||
# Truststore Manager | ||
# ----------------------------------------------------------------------------- | ||
download_case ibm-truststore-mgr 1.3.0 ibmTrustStoreMgrSetup | ||
|
||
# MAS Core | ||
# ----------------------------------------------------------------------------- | ||
download_case ibm-mas 8.8.0 ibmMasSetup | ||
|
||
# MAS IoT | ||
# ----------------------------------------------------------------------------- | ||
download_case ibm-mas-iot 8.5.0 ibmMasIotSetup | ||
|
||
# MAS Manage | ||
# ----------------------------------------------------------------------------- | ||
download_case ibm-mas-manage 8.4.0 ibmMasManageSetup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
# Case bundle configuration for IBM Maximo Operator Catalog v20220727 | ||
# ----------------------------------------------------------------------------- | ||
# In the future this won't be necessary as we'll be able to mirror from the | ||
# catalog itself, but not everything in the catalog supports this yet (including MAS) | ||
# so we need to use the CASE bundle mirror process still. | ||
|
||
catalog_digest: sha256:1222697802a54640bbfd5e5cc86716319ef5c440902da8227599c9a5fe28d7b8 | ||
|
||
# Dependencies | ||
# ----------------------------------------------------------------------------- | ||
common_svcs_version: 1.15.1 # Operator version 3.19.1 | ||
db2u_version: 4.0.11 # Operator version 1.1.13 | ||
events_version: 4.2.0 # Operator version 4.2.0 | ||
uds_version: 2.0.8 # Operator version 2.0.8 | ||
sls_version: 3.4.0 # Operator version 3.4.0 | ||
tsm_version: 1.3.0 # Operator version 1.3.0 | ||
|
||
# Maximo Application Suite | ||
# ----------------------------------------------------------------------------- | ||
mas_core_version: 8.8.0 # Operator version 8.8.0 | ||
mas_iot_version: 8.5.0 # Operator version 8.5.0 | ||
mas_manage_version: 8.4.0 # Operator version 8.4.0 |
Oops, something went wrong.