Skip to content

Commit

Permalink
Add getesm to build (#3663)
Browse files Browse the repository at this point in the history
* Add getesm to build

Signed-off-by: 1000TurquoisePogs <[email protected]>

* Update README.md

Signed-off-by: Martin Zeithaml <[email protected]>

---------

Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: Martin Zeithaml <[email protected]>
Co-authored-by: Martin Zeithaml <[email protected]>
  • Loading branch information
1000TurquoisePogs and Martin-Zeithaml authored Nov 28, 2023
1 parent dca2a7e commit 6cfe733
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:
with:
manifest-file-path: ${{ github.workspace }}/manifest.json
default-target-path: .pax/binaryDependencies/
expected-count: 29
expected-count: 30

# this step is not doing a publish, we are just utilizing this actions to get the PUBLISH_TARGET_PATH,
# and it will be used in the next step: [Download 3] Download SMPE build log
Expand Down
7 changes: 7 additions & 0 deletions .pax/pre-packaging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,13 @@ mv ./content/templates .
chmod +x templates/*.rex

mkdir -p "${ZOWE_ROOT_DIR}/bin/utils"
getesm=$(find "${ZOWE_ROOT_DIR}/files" -type f \( -name "getesm*.pax" \) | head -n 1)
echo "[$SCRIPT_NAME] extract getesm $getesm"
cd "${ZOWE_ROOT_DIR}/bin/utils"
pax -ppx -rf "${getesm}"
rm "${getesm}"
cd "${BASE_DIR}"

configmgr=$(find "${ZOWE_ROOT_DIR}/files" -type f \( -name "configmgr-2*.pax" \) | head -n 1)
echo "[$SCRIPT_NAME] extract configmgr $configmgr"
cd "${ZOWE_ROOT_DIR}/bin/utils"
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ All notable changes to the Zowe Installer will be documented in this file.
## `2.13.0`

### New features and enhancements
- Enhancement: Added utility "getesm" into bin/utils. When run it outputs to STDOUT which ESM your system is using. (#3662)

#### Minor enhancements/defect fixes
- Bugfix: Workflow files in the Zowe PAX are now ASCII-encoded. Fixes [#3591](https://github.com/zowe/zowe-install-packaging/issues/3591).


## `2.12.0`

### New features and enhancements
Expand Down
1 change: 1 addition & 0 deletions bin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Please be aware of using functions marked as `@experimental`. These functions ma

- `bin/utils/opercmd.rex`: To issue operator command on z/OS. This script can only run on z/OS.
- `bin/utils/curl.js`: This is node.js script works similar to popular Linux tool `curl`. It can make HTTP/HTTPS request and display response.
- `bin/utils/getesm`: Executable to get the name of External Security Manager

Please be aware of using utilities marked as `@experimental`. These utilities may be changed or improved in the future, and they may not be stable enough for extenders to use if they target to support multiple versions of Zowe.

Expand Down
4 changes: 4 additions & 0 deletions manifest.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@
"artifact": "cloud-gateway-*.zip",
"exclusions": ["*PR*.zip"]
},
"org.zowe.getesm": {
"version": "^2.0.0-V2.X-STAGING",
"artifact": "*.pax"
},
"org.zowe.configmgr": {
"version": "^2.0.0-V2.X-STAGING",
"artifact": "*.pax"
Expand Down

0 comments on commit 6cfe733

Please sign in to comment.