-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v3.x/staging' into reboot/chore/update-defaults-apiml
- Loading branch information
Showing
20 changed files
with
381 additions
and
153 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: PSWI zowe.yaml sync check | ||
|
||
permissions: | ||
id-token: write | ||
issues: write | ||
pull-requests: write | ||
contents: write | ||
|
||
on: | ||
push: | ||
branches: | ||
- v3.x/staging | ||
pull_request: | ||
types: [opened, synchronize] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test-pswi-zowe-yaml: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: '[Prep 1] Checkout' | ||
uses: actions/checkout@v4 | ||
|
||
# Taken from shared-actions/prepare-workflow | ||
- name: 'export github username and email' | ||
run: | | ||
git config --global user.name ${{ github.actor }} | ||
echo ${{ github.actor }} | ||
git config --global user.email [email protected] | ||
shell: bash | ||
|
||
- name: '[PSI-LOCK] Lock marist servers to build PSWI' | ||
uses: zowe-actions/shared-actions/lock-resource@main | ||
with: | ||
lock-repository: ${{ github.repository }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
lock-resource-name: zowe-psi-build-zzow07-lock | ||
lock-avg-retry-interval: 30 | ||
|
||
- name: 'Test ZWECONF workflow' | ||
id: zweconf | ||
timeout-minutes: 30 | ||
run: | | ||
cd pswi | ||
./ZWECONF_test.sh | ||
env: | ||
ZOSMF_USER: ${{ secrets.ZOWE_PSWI_BUILD_USR }} | ||
ZOSMF_PASS: ${{ secrets.ZOWE_PSWI_BUILD_PASSWD }} | ||
ZZOW_SSH_PORT: ${{ secrets.SSH_MARIST_ALLSYS_PORT }} | ||
|
||
- name: Store test output | ||
uses: actions/upload-artifact@v4 | ||
if: steps.zweconf.outcome != '' && failure() | ||
with: | ||
name: zweconf_test | ||
path: | | ||
pswi/**.txt | ||
pswi/zowe_.yaml | ||
pswi/ZWECONF1/** |
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
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
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,28 @@ | ||
#!/bin/sh | ||
#version=1.0 | ||
|
||
export BASE_URL="${ZOSMF_URL}:${ZOSMF_PORT}" | ||
|
||
echo "" | ||
echo "" | ||
echo "Script for testing workflows..." | ||
echo "Host :" $ZOSMF_URL | ||
echo "Port :" $ZOSMF_PORT | ||
echo "SSH Port :" $ZZOW_SSH_PORT | ||
echo "z/OSMF system :" $ZOSMF_SYSTEM | ||
echo "Test HLQ :" $TEST_HLQ | ||
echo "Test mount point :" $TEST_MOUNT | ||
echo "Work zFS :" $WORK_ZFS # For z/OSMF v2.3 | ||
echo "Work mount point :" $WORK_MOUNT # For z/OSMF v2.3 | ||
|
||
echo "Mounting ${TEST_HLQ}.ZFS" | ||
sh scripts/tmp_mounts.sh "${TEST_HLQ}.ZFS" "${TEST_MOUNT}" | ||
if [ $? -gt 0 ]; then exit -1; fi | ||
|
||
echo "Registering/testing the configuration workflow ${TEST_HLQ}.WORKFLOW(ZWECONF)" | ||
sh scripts/wf_run_test.sh "${TEST_HLQ}.WORKFLOW(ZWECONF)" | ||
if [ $? -gt 0 ];then exit -1;fi | ||
|
||
echo "Registering/testing the configuration workflow ${TEST_MOUNT}/files/workflows/ZWECONF.xml" | ||
sh scripts/wf_run_test.sh "${TEST_MOUNT}/files/workflows/ZWECONF.xml" | ||
if [ $? -gt 0 ];then exit -1;fi |
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
Oops, something went wrong.