Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
433 commits
Select commit Hold shift + click to select a range
6e29cbb
Split init up again for testing
1000TurquoisePogs Apr 19, 2024
d7b5a33
Fixed "name" -> "file" in certificate section
1000TurquoisePogs May 2, 2024
83b6b42
Update INSTALLATION.md
1000TurquoisePogs May 2, 2024
db8e85d
Fix bug where cert was self-signed due to incorrect name
1000TurquoisePogs May 7, 2024
e8ce84e
Merge branch 'v2.x/staging' into feature/v3/jcl
1000TurquoisePogs May 7, 2024
149f324
Fixed that the tests for keyring were not specifying values
1000TurquoisePogs May 7, 2024
ab669e0
Fix keyring -> keystore naming in the test file
1000TurquoisePogs May 7, 2024
cd8057c
Simplify detection of zosmf flag and update incorrect jcl info on ver…
1000TurquoisePogs May 8, 2024
240393b
Update SMPMCS.txt
1000TurquoisePogs May 8, 2024
baff6f4
test skeleton
MarkAckert May 8, 2024
319bacb
set config for zwe init (useconfigmgr?)
MarkAckert May 10, 2024
bb10e99
Support runing gener if zweimvs is not found, such as in pre-existing…
1000TurquoisePogs May 14, 2024
f4f1d31
cat datasets with dollar sign
Martin-Zeithaml May 14, 2024
c3f1fca
VSAM help update
Martin-Zeithaml May 14, 2024
3c97836
Use defaults.yaml, a reduction of example-zowe.yaml, to have the righ…
1000TurquoisePogs May 15, 2024
bbe30a5
Comment out sysMessages items in defaults.yaml
Martin-Zeithaml May 15, 2024
7c7977d
Remove arrays that are unique
1000TurquoisePogs May 16, 2024
cf70fe4
Validate ZIS Parmlib member as ZWESIPnn
Martin-Zeithaml May 16, 2024
2db1e9e
Minor JCL changes
Martin-Zeithaml May 16, 2024
9512ec4
add gitignores
MarkAckert May 17, 2024
7a1cf2b
Test initialization - vsam
MarkAckert May 17, 2024
5c376df
cleanup lib folder
MarkAckert May 17, 2024
8aa1056
Adding zwe internal config output as a way to have zwe init certifica…
1000TurquoisePogs May 21, 2024
ba2f480
Remove unused function arguments
1000TurquoisePogs May 21, 2024
cac1dc2
Create temp folder that is used in output command
1000TurquoisePogs May 21, 2024
dfc9092
Error if dataset/member does not exist
Martin-Zeithaml May 21, 2024
0ec2829
Store and restore the config path after using merged yaml
1000TurquoisePogs May 21, 2024
adb8577
Use templates in defaults.yaml to avoid combining certificate scenari…
1000TurquoisePogs May 22, 2024
e33830b
Swap null for undefined. Assumed schema would tolerate null but did not.
1000TurquoisePogs May 22, 2024
ea9f8ab
Combine assignment of pkcs12 and dname objects into single statement
1000TurquoisePogs May 22, 2024
977aaae
improvements to spool collection, dataset management
MarkAckert May 22, 2024
a47703f
Safe cp for datasets with dollar sign
Martin-Zeithaml May 23, 2024
88eebe0
Revert to null approach for zowe.setup.certificate. allow null in sch…
1000TurquoisePogs May 23, 2024
eb02d0b
Fixed keyring yaml write to temp file, and run certificate init throu…
1000TurquoisePogs May 24, 2024
59dcb03
Minor help update
Martin-Zeithaml May 24, 2024
9d7fc5f
checkpoint; apfauth test issues
MarkAckert May 24, 2024
3e542a3
Merge branch 'feature/v3/jcl' into user/markackert/zwe-tests
MarkAckert May 24, 2024
340e977
add defaults.yaml to system setup, adjust class names..
MarkAckert May 24, 2024
8334e19
Split possible long RACF statement
Martin-Zeithaml May 27, 2024
b753b91
Remove error about needing configmgr set for init actions. It is not …
1000TurquoisePogs May 28, 2024
2b8cbac
Allow zwe init mvs to modify ZWEIMVS if zis parmlib member name is no…
1000TurquoisePogs May 28, 2024
e983af0
Allow zowe.setup.vsam.name to be empty by defaulting to the caching s…
1000TurquoisePogs May 28, 2024
8de84b3
Fix JSON syntax
1000TurquoisePogs May 28, 2024
6dc6766
Add defaults.yaml to ZWEGENER
1000TurquoisePogs May 28, 2024
0711755
Updated init help, dry run flag name, error message ids, and removed …
1000TurquoisePogs May 30, 2024
3fb88b4
refactors and github action setup
MarkAckert May 31, 2024
e2d242f
Merge branch 'feature/v3/jcl' into user/markackert/zwe-tests
MarkAckert May 31, 2024
55c9f1e
class name fix, matrix update
MarkAckert May 31, 2024
8e016a7
update zoweyamltype with new schema
MarkAckert May 31, 2024
bfea339
Stop infinite loop
Martin-Zeithaml Jun 3, 2024
b80aed5
Check length of substitution
Martin-Zeithaml Jun 4, 2024
0e2670e
Check for undefined
Martin-Zeithaml Jun 4, 2024
bc5de91
Remove traling spaces
Martin-Zeithaml Jun 4, 2024
7679de3
Merge branch 'feature/v3/jcl' into user/markackert/zwe-tests
MarkAckert Jun 4, 2024
3112e35
Fix IEBCOPY SELECT MEMBER statement
Martin-Zeithaml Jun 5, 2024
27ae846
Update manifest.json.template
1000TurquoisePogs Jun 5, 2024
29d19b8
Respect --dry-run for init generate
Martin-Zeithaml Jun 6, 2024
60c0d51
ISREDIT change limitation
Martin-Zeithaml Jun 7, 2024
0e7ec70
Merge branch 'feature/v3/jcl' into user/markackert/zwe-tests
MarkAckert Jun 7, 2024
c6b4173
Variable name typo
Martin-Zeithaml Jun 10, 2024
d665b33
change with propres apostrophes
Martin-Zeithaml Jun 12, 2024
3ea37c1
Small update of errors
Martin-Zeithaml Jun 14, 2024
e256237
Message with proper name
Martin-Zeithaml Jun 14, 2024
875d672
Minor help update
Martin-Zeithaml Jun 20, 2024
5335edb
Missing generate parameters
Martin-Zeithaml Jun 20, 2024
cc76862
MD yaml syntax
Martin-Zeithaml Jun 20, 2024
22d55be
checkpoint
MarkAckert Jun 20, 2024
87e6a05
Merge branch 'feature/v3/jcl' into user/markackert/zwe-tests
MarkAckert Jun 20, 2024
5dd2c91
RLM -> RLS
Martin-Zeithaml Jun 21, 2024
e0dcada
Space added
Martin-Zeithaml Jun 21, 2024
3e5d5f0
Compare realpath and escape dollar
Martin-Zeithaml Jun 21, 2024
e8e776a
Minor text updates
Martin-Zeithaml Jun 21, 2024
aaf66be
Info for user
Martin-Zeithaml Jun 24, 2024
716caf1
ZWE variable typo
Martin-Zeithaml Jun 25, 2024
9188de0
ZWEGEN00 split CONFIG entry over multiple lines (#3873)
1000TurquoisePogs Jun 26, 2024
e47fa35
Fix defaults.yaml not loading due to incorrect substr
1000TurquoisePogs Jun 26, 2024
e6e9694
Remove defaults.yaml from ZWEGENER
1000TurquoisePogs Jun 26, 2024
bbb3272
Fix stc existence check only checking last one
1000TurquoisePogs Jun 26, 2024
4cf6e9d
ZWEGEN00: verify the operation and verbosity (#3745)
Martin-Zeithaml Jun 27, 2024
f77b238
Fixes from review
1000TurquoisePogs Jun 27, 2024
c327287
Minor changes
Martin-Zeithaml Jun 27, 2024
ed3b340
Clarification on help doc
1000TurquoisePogs Jun 27, 2024
cfa2a2a
Add back init_missing_yaml_properties for init mvs
1000TurquoisePogs Jun 27, 2024
c79d7d8
Fix typos on help and env name
1000TurquoisePogs Jun 27, 2024
907bc70
Typo
Martin-Zeithaml Jul 1, 2024
3650dd0
Incorrect variable name for getting original config
1000TurquoisePogs Jul 1, 2024
ca22e45
Merge branch 'v2.x/staging' into feature/v3/jcl
1000TurquoisePogs Jul 1, 2024
699667f
Merge branch 'v2.x/staging' into feature/v3/jcl
1000TurquoisePogs Jul 2, 2024
004088f
Update defaults.yaml
1000TurquoisePogs Jul 2, 2024
2bb8121
Merge branch 'v2.x/staging' into feature/v3/jcl
1000TurquoisePogs Jul 2, 2024
5c37c0b
checkpoint - wip
MarkAckert Jul 2, 2024
862aac5
small refactors, more vsam tests
MarkAckert Jul 3, 2024
e2369e3
Merge branch 'feature/v3/jcl' into user/markackert/zwe-tests
MarkAckert Jul 10, 2024
58c93eb
checkpoint: performance, stc tests, vsam tests, apf tests, runner imp…
MarkAckert Jul 12, 2024
a73fabc
lock in stc tests
MarkAckert Jul 17, 2024
0f7c2cc
lock in apf snapshot
MarkAckert Jul 17, 2024
f6644b0
add defensive cfg re-init on beforeAll
MarkAckert Jul 17, 2024
fa91c95
lock vsam snapshot
MarkAckert Jul 17, 2024
c7bdbd3
Copy check
Martin-Zeithaml Aug 6, 2024
3346ac5
Certificate type details
Martin-Zeithaml Aug 9, 2024
2e7b46a
Schema update
Martin-Zeithaml Aug 9, 2024
9c3c036
Install update
Martin-Zeithaml Aug 9, 2024
7653681
Merge branch 'v2.x/staging' into feature/v3/jcl
Martin-Zeithaml Aug 12, 2024
1352976
Include zss changes
Martin-Zeithaml Aug 12, 2024
53bb044
Add job header
Martin-Zeithaml Aug 23, 2024
29b9e37
Catch possible yaml error
Martin-Zeithaml Aug 23, 2024
1a55ec6
add --generate flag, update ZWECONF config step to always generate
MarkAckert Aug 29, 2024
b270468
zOSMF validate
Martin-Zeithaml Sep 3, 2024
47d8121
PR number
Martin-Zeithaml Sep 3, 2024
2ccb969
Postprocessing
Martin-Zeithaml Sep 3, 2024
0524784
Minor changes
Martin-Zeithaml Sep 4, 2024
0686ee8
Help and support for array
Martin-Zeithaml Sep 4, 2024
9df5f67
Set _auto_ for TSS (detect CA)
Martin-Zeithaml Sep 4, 2024
54fe6c9
Skip members if change not needed
Martin-Zeithaml Sep 5, 2024
8fff672
Variable name typo
Martin-Zeithaml Sep 5, 2024
87d1f51
Merge branch 'v2.x/staging' into v2.x/bugfix/zosmfValidate
MarkAckert Sep 6, 2024
19339e4
replaceInMember function
Martin-Zeithaml Sep 6, 2024
c3a5ca4
Parm datatype change
Martin-Zeithaml Sep 6, 2024
161266d
safkeyring message update
Martin-Zeithaml Sep 10, 2024
8df3053
Install update
Martin-Zeithaml Sep 11, 2024
f0e3b34
Merge pull request #3971 from zowe/v2.x/bugfix/zosmfValidate
MarkAckert Sep 12, 2024
03f373b
Small security process enhancement
Martin-Zeithaml Sep 18, 2024
2451e93
Help update
Martin-Zeithaml Sep 18, 2024
fd77523
Updates for v3
1000TurquoisePogs Sep 25, 2024
84b342e
Update INSTALLATION.md
1000TurquoisePogs Sep 25, 2024
7ddeafc
Update INSTALLATION.md with details blocks
1000TurquoisePogs Sep 27, 2024
04b4d33
Bold collapsed sections
1000TurquoisePogs Sep 27, 2024
afbd867
Add new v2 PTF numbers
ManjuVNair133 Sep 30, 2024
ee5ea77
Merge pull request #4024 from zowe/add_new_ptfs_v2
MarkAckert Sep 30, 2024
bd47e6a
Merge branch 'v2.x/staging' into feature/v3/jcl
Martin-Zeithaml Oct 9, 2024
972cca0
Remove unused imports
Martin-Zeithaml Oct 9, 2024
54983c3
checkpoint changes - new/updated tests, updated test runner capabilities
MarkAckert Dec 9, 2024
572e094
Merge branch 'v3.x/staging' into user/markackert/feat-v3-jcl-rebase
MarkAckert Dec 11, 2024
f0be1a2
add logFile back to common.ts
MarkAckert Dec 11, 2024
97d8f18
update zss dependency
MarkAckert Dec 11, 2024
7ccd278
Merge branch 'user/markackert/feat-v3-jcl-rebase' into user/markacker…
MarkAckert Dec 11, 2024
c3d09b2
fix setup error, update vsam snaps, allow on-disk zowe yamls in tests…
MarkAckert Dec 13, 2024
e1233f1
backend systems with an AUTOCVT option enabled and zopen bash may inc…
MarkAckert Dec 13, 2024
4d434f8
re-order masking rules
MarkAckert Dec 13, 2024
7e5f873
catch shorter zweenv tmp numbers
MarkAckert Dec 16, 2024
48506f2
Type update
Martin-Zeithaml Jan 8, 2025
7441b8b
update all test suites, various bugfixes, "init certificate" read_yam…
MarkAckert Jan 23, 2025
03e32c0
update zwe test workflow
MarkAckert Jan 23, 2025
b7f1004
update test server options
MarkAckert Jan 23, 2025
192974f
remove unnecessary set test vars step
MarkAckert Jan 23, 2025
3c7e12f
fix test input vars
MarkAckert Jan 23, 2025
76f6fca
bring set-test-vars back and fix output access
MarkAckert Jan 23, 2025
96da556
set-test-vars output reading
MarkAckert Jan 23, 2025
5941467
collapse test-vars into a single step
MarkAckert Jan 23, 2025
af72042
update step name
MarkAckert Jan 23, 2025
2d4b610
fix set-test condition
MarkAckert Jan 23, 2025
38959ed
lock in package versions, update matrix test
MarkAckert Jan 23, 2025
f93c567
fix lint error
MarkAckert Jan 23, 2025
443be71
add permission for lock acquisition
MarkAckert Jan 23, 2025
68445d2
more updates to test triggers
MarkAckert Jan 23, 2025
990dd2e
fix config yaml location
MarkAckert Jan 23, 2025
1e7626b
add zosmf port as an input secret
MarkAckert Jan 24, 2025
56c65b2
add jfrog_user
MarkAckert Jan 24, 2025
bb876fe
update jfrog creds
MarkAckert Jan 24, 2025
40f3c42
clarify log message
MarkAckert Jan 24, 2025
2f87639
Merge branch 'v3.x/staging' into user/markackert/feat-v3-jcl-rebase
Martin-Zeithaml Jan 27, 2025
7165f14
cover acf systems
MarkAckert Jan 27, 2025
82d3bec
Check java and node only if needed
Martin-Zeithaml Jan 28, 2025
73e6403
Loop change
Martin-Zeithaml Jan 28, 2025
197faa4
add "quiet mode" for cicd pipelines
MarkAckert Jan 29, 2025
ee733c6
fix init writing to parm before an error is surfaced
MarkAckert Jan 29, 2025
7bc9dc7
update FILE and PARMLIB parsing - init generate
MarkAckert Jan 29, 2025
75202a2
better error message
MarkAckert Jan 29, 2025
d43e990
Merge branch 'v3.x/staging' into user/markackert/feat-v3-jcl-rebase
MarkAckert Feb 4, 2025
afe2049
OperatorCommand change
Martin-Zeithaml Feb 5, 2025
647fb14
Merge branch 'v3.x/staging' into user/markackert/feat-v3-jcl-rebase
Martin-Zeithaml Feb 5, 2025
6fb674c
fix up README some
MarkAckert Feb 6, 2025
fbc8cec
operatorCommand update
Martin-Zeithaml Feb 7, 2025
bf26bab
Help update
Martin-Zeithaml Feb 7, 2025
cf633ee
cross-platform updates, cert snapshot update, readme update, yaml tem…
MarkAckert Feb 7, 2025
535e546
update snapshot
MarkAckert Feb 7, 2025
f1db404
Merge branch 'user/markackert/feat-v3-jcl-rebase' into user/markacker…
MarkAckert Feb 7, 2025
a778c62
Merge branch 'v3.x/staging' into user/markackert/feat-v3-jcl-rebase
MarkAckert Feb 7, 2025
3c0d6c2
init apf support authLoadlib, default to ${zowe.setup.dataset.authPlu…
MarkAckert Feb 7, 2025
bcf1891
Merge branch 'user/markackert/feat-v3-jcl-rebase' into user/markacker…
MarkAckert Feb 7, 2025
9addee4
fix noisy logs when authPluginLib empty, schema allows empty authPlug…
MarkAckert Feb 10, 2025
6979f1a
Merge pull request #4190 from zowe/v3/feature/jobHeaders
MarkAckert Feb 11, 2025
bd0334a
Merge branch 'v3.x/staging' into user/markackert/feat-v3-jcl-rebase
MarkAckert Feb 11, 2025
18ba9e2
Merge branch 'user/markackert/feat-v3-jcl-rebase' into user/markacker…
MarkAckert Feb 11, 2025
57e0251
defensive access to jclHeader
MarkAckert Feb 11, 2025
3d371bb
Merge branch 'user/markackert/feat-v3-jcl-rebase' into user/markacker…
MarkAckert Feb 11, 2025
6acec4f
check jcl header line length, add '// ' for lines 1...n
MarkAckert Feb 11, 2025
4bfb0b3
users must specify syntactically correct jcl
MarkAckert Feb 14, 2025
7f66c1d
updated generate tests for jcl headers
MarkAckert Feb 14, 2025
90e4a03
revert authPluginLib schema change
MarkAckert Feb 14, 2025
8d809e0
Simplify zwe init stc (#4197)
Martin-Zeithaml Feb 25, 2025
41293cf
Merge branch 'user/markackert/feat-v3-jcl-rebase' into user/markacker…
MarkAckert Feb 25, 2025
c270738
update stc, apf tests
MarkAckert Feb 25, 2025
1007640
Revert zss back to 683
Martin-Zeithaml Feb 26, 2025
9b37833
fix async return type
MarkAckert Feb 26, 2025
9f3215c
couple small changes and snapshot updates
MarkAckert Feb 26, 2025
46b91a8
add ISPLOG to ZWEGENER
MarkAckert Feb 26, 2025
37e5d98
add ISPLOG to ZWEGENER (#4212)
MarkAckert Feb 26, 2025
045c5c6
updates with new zwegener ISPLOG, tolerate and log teardown failures
MarkAckert Feb 26, 2025
cd0bec7
wip - add jclHeader support to install workflows
MarkAckert Feb 26, 2025
fd5bede
Merge branch 'user/markackert/feat-v3-jcl-rebase' into user/markacker…
MarkAckert Feb 27, 2025
2bf68ad
Small README update
Martin-Zeithaml Feb 28, 2025
9f5d616
jclHeader support for install workflows (#4213)
MarkAckert Feb 28, 2025
d1db3cf
`zwe init stc` updating STCs (#4211)
Martin-Zeithaml Mar 4, 2025
f32f4bc
`zwe init apfauth` more optional (#4208)
Martin-Zeithaml Mar 6, 2025
985e572
Init MVS could skip some steps (#4192)
Martin-Zeithaml Mar 6, 2025
d196ff7
zowe sdk 8.x, custom jcl param support for test config, env test case…
MarkAckert Mar 6, 2025
0d4cc6e
Merge branch 'user/markackert/feat-v3-jcl-rebase' into user/markacker…
MarkAckert Mar 6, 2025
6acdb73
fix env tests - remove shell stdout which had timestamps in snapshots
MarkAckert Mar 6, 2025
7e059f3
update apf snapshot
MarkAckert Mar 6, 2025
c55e416
fix bugs, support launcher zowe-merged.yaml comparison test
MarkAckert Mar 7, 2025
9bdb5fb
remove debug statement
MarkAckert Mar 7, 2025
a97637d
remove more debug logs
MarkAckert Mar 7, 2025
49b37f8
bad character
MarkAckert Mar 7, 2025
b10480c
Add Launcher too
Martin-Zeithaml Mar 11, 2025
251f321
Add read_yaml_configmrg (#4233)
Martin-Zeithaml Mar 12, 2025
297b6ce
Merge branch 'v3.x/staging' into user/markackert/feat-v3-jcl-rebase
Martin-Zeithaml Mar 21, 2025
3fd2f2b
Check JCLLIB
Martin-Zeithaml Mar 21, 2025
23a0d4d
Remove tracing of JCL line length
Martin-Zeithaml Mar 21, 2025
87f3430
Small update + typo (#4243)
Martin-Zeithaml Mar 21, 2025
1abf8b0
Typo in JCL sample
Martin-Zeithaml Mar 25, 2025
35f12fd
Print the name of original configuration
Martin-Zeithaml Mar 26, 2025
ea0f979
Delete members in the loop
Martin-Zeithaml Mar 26, 2025
ca2e087
Error message ZWEL0319E update
Martin-Zeithaml Mar 27, 2025
baeb39b
Merge branch 'v3.x/staging' into user/markackert/feat-v3-jcl-rebase
Martin-Zeithaml Mar 27, 2025
01fd7d4
Migrate to JCL: `zwe init security`: schema update and code removal (…
Martin-Zeithaml Mar 27, 2025
4f52d6b
Merge branch 'v3.x/staging' into user/markackert/feat-v3-jcl-rebase
MarkAckert Mar 27, 2025
95e4ca3
Merge branch 'user/markackert/feat-v3-jcl-rebase' into user/markacker…
MarkAckert Mar 27, 2025
437e0a3
Use getesm in certificates
Martin-Zeithaml Mar 28, 2025
49e90e0
update tests to match latest changes. globalSetup now handles ZWESECU…
MarkAckert Mar 28, 2025
a9ae99f
Comment update
Martin-Zeithaml Mar 31, 2025
a987a6f
Merge pull request #4258 from zowe/certificatesUsingESM
MarkAckert Apr 3, 2025
03f2c73
convert files to ebcdic locally instead of on the remote. better perf…
MarkAckert Apr 3, 2025
cf6c65a
updates to cert test suite to fix bricked test directories, minor fix…
MarkAckert Apr 3, 2025
09496ed
remove leaky gener finding its way into the apf SHORT snapshots
MarkAckert Apr 3, 2025
0714c78
Merge branch 'v3.x/staging' into user/markackert/feat-v3-jcl-rebase
MarkAckert Apr 3, 2025
ba3fd57
Merge pull request #3844 from zowe/user/markackert/zwe-tests
MarkAckert Apr 3, 2025
5c0bc02
minor fixes to snapshots to correct them for automation, globalSetup …
MarkAckert Apr 4, 2025
0da06e0
remove zzow09 from zwe integration options, minor fix to setup
MarkAckert Apr 7, 2025
57e055b
missed instance of test-server
MarkAckert Apr 7, 2025
7d50b35
fix build/test workflow error
MarkAckert Apr 8, 2025
ba543e4
Merge branch 'v3.x/staging' into user/markackert/feat-v3-jcl-rebase
MarkAckert Apr 8, 2025
36e855b
update zwe messages based on automation output
MarkAckert Apr 8, 2025
8c7c49d
remove unused error codes
MarkAckert Apr 8, 2025
1c65e34
remove extra $ causing ! -z security_update to always be true
MarkAckert Apr 8, 2025
617d4ee
Initial coding
Martin-Zeithaml Oct 18, 2024
bf4e4a9
Remove old comment
Martin-Zeithaml Oct 18, 2024
c0d85c3
yet another way to handle optional config in a command
MarkAckert Apr 11, 2025
bd42dc7
Migrate PR 4325 to be based upon PR 4282
1000TurquoisePogs May 16, 2025
934af1d
Add export executes to cli.js
1000TurquoisePogs May 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/scripts/cicd_test/make_matrix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@

case $install_test_choice in

"ZWE_CI_Build")
test_file="ZWE_CI_Build"
;;
"ZWE_Full_Tests")
test_file="ZWE_Full_Tests"
;;
"Convenience Pax")
test_file="$CONVENIENCE_PAX_TESTFILE"
;;
Expand Down Expand Up @@ -87,6 +93,14 @@ else
if [[ -z "$dont_parse_test_server" ]]; then
if [[ "$test_server" == "Any zzow servers" ]]; then
test_server="zzow"$(printf %02d $(($RANDOM % 3 + 9)))
elif [[ "$test_server" == "Any("* ]]; then
# keeping this all posix compliant
any_options=$(echo "$test_server" | cut -d ")" -f1 | cut -d "(" -f2) # Any(x,y,z) -> x,y,z
anyopts_comma_count=$(echo "$any_options" | tr -cd ',' | wc -c)
num_choices=$(($anyopts_comma_count + 1))
# add 1 to RANDOM % num_choices because cut won't handle 0-indexed elements
server_choice=$(printf %01d $(($RANDOM % $num_choices + 1)))
test_server=$(echo $any_options | cut -d "," -f$server_choice) # pick one of x,y,z at random
fi
TEST_FILE_SERVER="$test_file($test_server)"
else
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ jobs:
- name: '[Prep 7] Comment on PR to indicate build is started'
uses: actions/github-script@v5
id: create-comment
if: (github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request') && startsWith(env.CURRENT_BRANCH, 'PR-')
if: (github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request') && startsWith(env.CURRENT_BRANCH, 'PR-') && !contains(fromJson(needs.set-run-conditions.outputs.pr-labels), 'CICD_Quiet')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down Expand Up @@ -404,7 +404,7 @@ jobs:

- name: '[Post Prep 7] Update PR comment to indicate build succeeded'
uses: actions/github-script@v5
if: steps.create-comment.outputs.result != '' && success()
if: steps.create-comment.outputs.result != '' && success() && !contains(fromJson(needs.set-run-conditions.outputs.pr-labels), 'CICD_Quiet')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand All @@ -417,7 +417,7 @@ jobs:

- name: '[Post Prep 7] Update PR comment to indicate build failed'
uses: actions/github-script@v5
if: steps.create-comment.outputs.result != '' && failure()
if: steps.create-comment.outputs.result != '' && failure() && !contains(fromJson(needs.set-run-conditions.outputs.pr-labels), 'CICD_Quiet')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand All @@ -430,7 +430,7 @@ jobs:

- name: '[Post Prep 7] Update PR comment to indicate build cancelled'
uses: actions/github-script@v5
if: steps.create-comment.outputs.result != '' && cancelled()
if: steps.create-comment.outputs.result != '' && cancelled() && !contains(fromJson(needs.set-run-conditions.outputs.pr-labels), 'CICD_Quiet')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down Expand Up @@ -485,7 +485,7 @@ jobs:
workflow-filename: cicd-test.yml
branch-name: ${{ env.BRANCH_NAME }}
poll-frequency: 3
inputs-json-string: '{"custom-zowe-artifactory-pattern-or-build-number":"${{ github.run_number }}", "install-test": "${{ steps.get-test-suite.outputs.TEST_SUITE }}"}'
inputs-json-string: '{"custom-zowe-artifactory-pattern-or-build-number":"${{ github.run_number }}", "install-test": "${{ steps.get-test-suite.outputs.TEST_SUITE }}", "origin-event" : "${{ github.event_name }}"}'
# env:
# DEBUG: 'workflow-remote-call-wait'

Expand Down
47 changes: 41 additions & 6 deletions .github/workflows/cicd-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ on:
description: 'random dispatch event id'
required: false
type: string
origin-event:
description: '[Automation] if caller was a pull request' # caller sets var to 'pull_request'
type: string
required: false
default: ''

# create a new branch to overwrite following defaults if necessary
env:
Expand Down Expand Up @@ -93,6 +98,36 @@ env:
ZOWE_RELEASE_TESTS_FULL: basic/install.ts(all);basic/install-ptf.ts(all);basic/install-ext.ts(any);extended/keyring.ts(all);extended/node-versions/node-v20.ts(any);extended/node-versions/node-v22.ts(any);extended/certificates/nonstrict-verify-external-certificate.ts(any);extended/caching-storages/infinispan-storage.ts(any);extended/config-manager/enable-config-manager.ts(any)

jobs:

set-run-conditions:
runs-on: ubuntu-latest
outputs:
pr-labels: ${{ steps.get-labels.outputs.result }}
steps:
- name: 'Get labels'
id: get-labels
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
if ('${{ github.event_name}}' == 'pull_request') {
return JSON.stringify(${{ toJson(github.event.pull_request.labels) }})
}
else if ('${{ github.event.inputs.origin-event }}' == 'pull_request') {
const res = await github.rest.pulls.list({
state: 'open',
head: 'zowe:${{ github.ref_name }}',
owner: 'zowe',
repo: 'zowe-install-packaging'
}).then((resp) => {
const pr = resp.data.find((item) => item.head.ref == '${{ github.ref_name }}')
return JSON.stringify(pr.labels)
})
return res;
} else {
return '[]'
}

display-dispatch-event-id:
if: github.event.inputs.RANDOM_DISPATCH_EVENT_ID != ''
runs-on: ubuntu-latest
Expand Down Expand Up @@ -130,7 +165,7 @@ jobs:

cicd-test:
runs-on: ubuntu-latest
needs: make-matrix
needs: [set-run-conditions, make-matrix]
strategy:
matrix: ${{ fromJson(needs.make-matrix.outputs.matrix) }}
fail-fast: false
Expand Down Expand Up @@ -234,7 +269,7 @@ jobs:
- name: '[Comment] Post comments on PR about what tests are gonna be run'
uses: actions/github-script@v5
id: create-comment
if: startsWith(env.CURRENT_BRANCH, 'PR-')
if: startsWith(env.CURRENT_BRANCH, 'PR-') && !contains(fromJson(needs.set-run-conditions.outputs.pr-labels), 'CICD_Quiet')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down Expand Up @@ -273,7 +308,7 @@ jobs:

- name: '[Comment] Update comment after lock is acquired'
uses: actions/github-script@v5
if: steps.create-comment.outputs.result != ''
if: steps.create-comment.outputs.result != '' && !contains(fromJson(needs.set-run-conditions.outputs.pr-labels), 'CICD_Quiet')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down Expand Up @@ -389,7 +424,7 @@ jobs:

- name: '[Comment] Update PR comment to indicate test succeeded'
uses: actions/github-script@v5
if: steps.create-comment.outputs.result != '' && success()
if: steps.create-comment.outputs.result != '' && success() && !contains(fromJson(needs.set-run-conditions.outputs.pr-labels), 'CICD_Quiet')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand All @@ -416,7 +451,7 @@ jobs:

- name: '[Comment] Update PR comment to indicate test failed'
uses: actions/github-script@v5
if: steps.create-comment.outputs.result != '' && failure()
if: steps.create-comment.outputs.result != '' && failure() && !contains(fromJson(needs.set-run-conditions.outputs.pr-labels), 'CICD_Quiet')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand All @@ -443,7 +478,7 @@ jobs:

- name: '[Comment] Update PR comment to indicate test cancelled'
uses: actions/github-script@v5
if: steps.create-comment.outputs.result != '' && cancelled()
if: steps.create-comment.outputs.result != '' && cancelled() && !contains(fromJson(needs.set-run-conditions.outputs.pr-labels), 'CICD_Quiet')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
206 changes: 206 additions & 0 deletions .github/workflows/zwe-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
name: Zwe Remote Integration Tests

permissions:
contents: write

on:
pull_request:
types: [opened, synchronize]
workflow_dispatch:
inputs:
test-server:
description: 'Choose Test Server'
type: choice
required: true
default: 'Any(zzow10,zzow11)'
options:
- Any(zzow10,zzow11)
- zzow10
- zzow11
- zzow10,zzow11
zwe-test:
description: 'Choose Zwe Test'
type: choice
required: true
default: ZWE_CI_Build
options:
- ZWE_CI_Build
- ZWE_Full_Tests
RANDOM_DISPATCH_EVENT_ID:
description: 'random dispatch event id'
required: false
type: string

# create a new branch to overwrite following defaults if necessary
env:
# constants
ZWE_TEST_PATH: tests/zwe-remote-integration

jobs:
display-dispatch-event-id:
if: github.event.inputs.RANDOM_DISPATCH_EVENT_ID != ''
runs-on: ubuntu-latest
steps:
- name: RANDOM_DISPATCH_EVENT_ID is ${{ github.event.inputs.RANDOM_DISPATCH_EVENT_ID }}
run: echo "prints random dispatch event id sent from workflow dispatch event"

# necessary for pull_requests without a caller issuing a workflow_dispatch
set-test-vars:
runs-on: ubuntu-latest
outputs:
test-suite: ${{ steps.set-test-vars.outputs.test-suite }}
test-server: ${{ steps.set-test-vars.outputs.test-server }}
steps:
- name: 'Set Test Vars'
id: set-test-vars
run: |
if [[ ${{ github.event_name }} == 'workflow_dispatch' ]]; then
echo "test-suite=${{ github.event.inputs.zwe-test }}" >> $GITHUB_OUTPUT
echo "test-server=${{ github.event.inputs.test-server }}" >> $GITHUB_OUTPUT
else
echo "test-suite=ZWE_CI_Build" >> $GITHUB_OUTPUT
echo "test-server=Any(zzow10,zzow11)" >> $GITHUB_OUTPUT
fi

check-permission:
runs-on: ubuntu-latest
steps:
# this action will fail the whole workflow if permission check fails
- name: check permission
uses: zowe-actions/shared-actions/permission-check@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

make-matrix:
runs-on: ubuntu-latest
needs: [set-test-vars, check-permission]
steps:
- name: '[Prep 1] Checkout'
uses: actions/checkout@v2

- name: Make matrix
id: set-matrix
run: |
cd .github/scripts/cicd_test
chmod +x make_matrix.sh
source make_matrix.sh
env:
test_server: ${{ needs.set-test-vars.outputs.test-server }}
install_test_choice: ${{ needs.set-test-vars.outputs.test-suite }}
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}

cicd-test:
runs-on: ubuntu-latest
needs: make-matrix
strategy:
matrix: ${{ fromJson(needs.make-matrix.outputs.matrix) }}
fail-fast: false
environment: ${{ matrix.server }}
steps:
- name: '[Prep 1] Checkout'
uses: actions/checkout@v4

- name: '[Prep 2] Setup Node'
uses: actions/setup-node@v4
with:
node-version: '20'

- name: '[Prep 3] Cache node modules'
uses: actions/cache@v4
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: |
~/.npm
~/.nvm/.cache
~/.nvm/versions
key: ${{ runner.os }}-build-cache-node-modules-${{ hashFiles('tests/installation/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-cache-node-modules-

- name: '[Prep 4] Setup jFrog CLI'
uses: jfrog/setup-jfrog-cli@v2
env:
JF_ENV_1: ${{ secrets.JF_ARTIFACTORY_TOKEN }}

- name: '[Prep 5] Validate package.json'
uses: zowe-actions/shared-actions/validate-package-json@main

- name: '[Prep 6] Prepare workflow'
uses: zowe-actions/shared-actions/prepare-workflow@main

- name: '[Setup 1] Test Project Dependencies'
working-directory: ${{ env.ZWE_TEST_PATH }}
run: |
npm ci

# Error on this step is likely a schema mismatch. See test README
- name: '[Setup 2] Test Project Build'
working-directory: ${{ env.ZWE_TEST_PATH }}
run: |
npm run build

- name: '[Lint 1] Lint 1'
timeout-minutes: 2
working-directory: ${{ env.ZWE_TEST_PATH }}
run: |
npm run lint

- name: '[LOCK] Lock marist servers'
uses: zowe-actions/shared-actions/lock-resource@main
with:
lock-repository: ${{ github.repository }}
github-token: ${{ secrets.GITHUB_TOKEN }}
lock-resource-name: zowe-zwe-system-test-${{ matrix.server }}-lock
lock-avg-retry-interval: 60

- name: '[Pre-Test] Prepare configuration YAML'
working-directory: ${{ env.ZWE_TEST_PATH }}
run: echo "$ZWE_INTEGRATION_YAML" > config.yaml
shell: bash
env:
ZWE_INTEGRATION_YAML: ${{ secrets.ZWE_INTEGRATION_YAML }}

- name: '[Test] CI Test Suite'
if: ${{ matrix.test == 'ZWE_CI_Build' }}
timeout-minutes: 180
working-directory: ${{ env.ZWE_TEST_PATH }}
run: npm run test:ci
env:
TEST_CONFIG_FILE: config.yaml
ZOS_HOST: ${{ secrets.SSH_HOST }}
ZOS_USER: ${{ secrets.SSH_USER }}
ZOS_PASSWORD: ${{ secrets.SSH_PASSWORD }}
ZOSMF_PORT: ${{ secrets.ZOSMF_PORT }}
SSH_PORT: ${{ secrets.SSH_PORT }}
JFROG_USER: ${{ secrets.ZWE_TEST_RT_USER }}
JFROG_TOKEN: ${{ secrets.ZWE_TEST_RT_TOKEN }}

- name: '[Test] Extended Test Suite'
if: ${{ matrix.test == 'ZWE_Full_Tests' }}
timeout-minutes: 180
working-directory: ${{ env.ZWE_TEST_PATH }}
run: npm run test:extended
env:
TEST_CONFIG_FILE: ${{ env.ZWE_TEST_PATH }}/config.yaml
ZOS_HOST: ${{ secrets.SSH_HOST }}
ZOS_USER: ${{ secrets.SSH_USER }}
ZOS_PASSWORD: ${{ secrets.SSH_PASSWORD }}
ZOSMF_PORT: ${{ secrets.ZOSMF_PORT }}
SSH_PORT: ${{ secrets.SSH_PORT }}
JFROG_USER: ${{ secrets.ZWE_TEST_RT_USER }}
JFROG_TOKEN: ${{ secrets.ZWE_TEST_RT_TOKEN }}

- name: '[After Test 1] Prepare to upload test report'
if: always()
working-directory: ${{ env.ZWE_TEST_PATH }}
run: |
echo CURRENT_TIME=$(date +%s) >> $GITHUB_ENV
echo TEST_NAME=$(echo "${{ matrix.test }}" | sed 's#.*\/##g') >> $GITHUB_ENV

- name: '[After Test 2] Upload test report'
if: always()
uses: actions/upload-artifact@v4
with:
name: ZweTestReports-${{ env.TEST_NAME }}-${{ matrix.server }}-${{ github.run_id }}-${{ env.CURRENT_TIME }}
path: ${{ env.ZWE_TEST_PATH }}/reports/
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ All notable changes to the Zowe Installer will be documented in this file.

<!--Add the PR or issue number to the entry if available.-->

## `2.18.1`
- Bugfix: Error message `ZWEL0141E` did not print user ID. [#3971](https://github.com/zowe/zowe-install-packaging/pull/3971)

## `2.17.0`

## New features and enhancements
Expand Down
Loading
Loading