A project with Tekton tasks which uses Zowe Python SDK to interface with zOS.
- Customize
zowe.config.jsoninzowe-configfolder according to your Zowe setup on IBM mainframe. - Create a k8s/OCP secret with
zowe.config.jsonandzowe.schema.jsonfiles. Example bash script for OCP secret creation can be found inzowe-configfolder. - Apply tasks from
tektonfolder. You can excludegit-cloneif you already have equivalent task on your environmtnt. - Example pipeline can be found in
tekton/examples. Customize it according to your need. - When running the pipeline, you need to specify the workspaces. For source workspace the best choice is to specify a
VolumeClaimTemplateand forzowe-configspecify the secret with zowe config files created in step 2.
In python-zowe-container you can find the Containerfile for building the necessary container image with Python and Zowe SDK installation. The build.sh script provides an example for building the multiarch (amd64 and s390x) container image with podman.