zowe / zowe-install-packaging

Packaging repository for the Zowe install scripts and files
Eclipse Public License 2.0
27 stars 51 forks source link

Automate the build process for Zowe z/OS compoments as z/OSMF Portable Software Instance #1174

Closed jp669844 closed 1 year ago

jp669844 commented 4 years ago

@muzikovam Please describe the process here.

muzikovam commented 4 years ago

The intention is to provide a Portable Software Instance that can be added to z/OSMF. It will be another way how to install Zowe besides SMP/E installation and regular convenient build.

REXX script that is creating Portable Software Instance using z/OS client web enablement toolkit and z/OSMF REST APIs:

  1. Add Software Instance with SMP/E CSI, target zone name and system nickname, where the SMP/E was installed(CIZT_SMPE_HLQ_CSI, CIZT_SMPE_TARGET_ZONE, CIZT_ZOSMF_SYSTEM). For calling z/OSMF REST API there is needed host, port(CIZT_ZOSMF_PORT), userid, password and SAF KeyRing (using the default CIZT_ZOSMF_SAFKEYRING).
  2. Load the information about installed products, features, and FMIDs into the z/OSMF Software Management task database.
  3. Check if loading finished otherwise the Portable Software Instance wouldn't be complete.
  4. Generate JCL with //ZWEPSI02 JOB job statement to a temporary dataset that is allocated at the beginning of the scripts (using 'CIZT_PSI_DSNandCIZT_PSI_VOLSER`) and that will create a Portable Software Instance in CIZT_TMP/export.
  5. Check if the generation of JCL is finished and submit the JCL.

Obstacles: host, userid and password exist only in Jenkins, not available on the server.

muzikovam commented 4 years ago

Change of plans: There will be bash script running directly on Jenkins so it will have access to host, userid and password. There will be used curl for REST API calls.

muzikovam commented 4 years ago

Waiting for ZLC decision.

jp669844 commented 4 years ago

https://github.com/zowe/zlc/issues/171

MarkAckert commented 3 years ago

Steps:

NOT Covered Here:

MarkAckert commented 1 year ago

PSWI has been delivered with Zowe 2.x