Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for 3.0.0 release #4029

Merged
merged 478 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
478 commits
Select commit Hold shift + click to select a range
0c2c64e
update safkeyring schema (#3928)
MarkAckert Aug 12, 2024
6acc8e2
Use correct parameters (#3929)
Martin-Zeithaml Aug 12, 2024
b346605
Periodic v2 to v3 sync (#3933)
MarkAckert Aug 12, 2024
a4ff599
NONRLS vsam mode if variable not initialized (#3935)
pavelzlatnik Aug 14, 2024
b6911ac
Add DigitalOcean sponsorship link - per guidelines for credits (#3940)
jmertic Aug 14, 2024
cdfd3f2
Added script that tests the workflow by registering it
muzikovam Aug 27, 2024
34764fc
wrong variable for zFS
muzikovam Aug 27, 2024
f28ac11
Promote PTF after release v2.18.0 (#3954)
zowe-robot Aug 27, 2024
70a8204
Merge branch 'v2.x/staging' into user/markackert/sync-v2-to-v3-827
MarkAckert Aug 27, 2024
e8e151a
Merge pull request #3955 from zowe/user/markackert/sync-v2-to-v3-827
MarkAckert Aug 27, 2024
bcae251
Clean up the code
Martin-Zeithaml Aug 28, 2024
3da0561
Update CHANGELOG.md
Martin-Zeithaml Aug 28, 2024
1b1d3c8
Update CHANGELOG.md
Martin-Zeithaml Aug 28, 2024
9e055cd
Update CHANGELOG.md
Martin-Zeithaml Aug 28, 2024
2028278
testing USS workflow
muzikovam Aug 28, 2024
653219e
wrong path
muzikovam Aug 28, 2024
96760fe
Merge branch 'v3.x/staging' into user/muzikovam/workflowsCheck
MarkAckert Aug 28, 2024
75c0629
Merge pull request #3957 from zowe/user/muzikovam/workflowsCheck
MarkAckert Aug 28, 2024
84749f0
bump to 2.18.1
MarkAckert Aug 28, 2024
f3930b9
Merge pull request #3960 from zowe/user/markackert/bump-version
MarkAckert Aug 28, 2024
9b27294
test for workflow now includes parameter that can work with input files
muzikovam Aug 29, 2024
bc4421b
Set v3 configmgr defaults
1000TurquoisePogs Aug 29, 2024
d800efc
forgot to submit the JCL so the value for runtime directory was not v…
muzikovam Aug 29, 2024
5eeb78a
line too long in JCL
muzikovam Aug 29, 2024
aa0f53a
wrong path
muzikovam Aug 29, 2024
e9377c9
missing slash
muzikovam Aug 30, 2024
1f0e976
using _ZWECONF as variable input file
muzikovam Aug 30, 2024
1999ea2
running sed locally and uploading the _ZWECONF input file via sftp
muzikovam Aug 30, 2024
48d2d97
workflow had step that wasnt automated
muzikovam Aug 30, 2024
9f85111
wrong copy paste
muzikovam Aug 30, 2024
90f76d2
update v3 containers with newer node and java
MarkAckert Aug 30, 2024
bdf6199
more requred variables
muzikovam Aug 30, 2024
dbeb013
update node gpg keys in ubi
MarkAckert Aug 30, 2024
c646a2d
Update manifest in v3.x/rc
Aug 30, 2024
754b035
Merge pull request #3965 from zowe/users/jstruga/update-manifest-v3
MarkAckert Aug 30, 2024
e42c2b6
update java 11 package for ubi
MarkAckert Aug 30, 2024
f753997
fix java 11 ubi pkg
MarkAckert Aug 30, 2024
ad5d0c2
Merge pull request #3964 from zowe/user/markackert/v3-containers
MarkAckert Aug 30, 2024
d802887
use majorVersion in docker FROM statements
MarkAckert Aug 30, 2024
02c1046
container builds use <majorVersion> in FROM statements
MarkAckert Aug 30, 2024
7a797ba
missed launch scripts
MarkAckert Aug 30, 2024
4550cee
missed launch scripts
MarkAckert Aug 30, 2024
eaaefb6
Merge pull request #3966 from zowe/user/markackert/v3-container-builds
MarkAckert Aug 30, 2024
55cd17e
Merge pull request #3967 from zowe/user/markackert/v2-container-build…
MarkAckert Aug 30, 2024
bdb3fd1
workflow is not being deleted
muzikovam Sep 2, 2024
a661c86
workflow had name that was causing problems in the "list workflows" part
muzikovam Sep 2, 2024
448ef98
another variable needed
muzikovam Sep 2, 2024
0ea7ec6
use infinispan instead of vsam in tests
achmelo Sep 2, 2024
9b1b946
wrong vif name
muzikovam Sep 2, 2024
634ff4f
add infinispan to workflow
achmelo Sep 2, 2024
a58f6d4
define variable among properties
achmelo Sep 2, 2024
518061b
workflow ends in init zowe step which is enough for our test(it ends …
muzikovam Sep 2, 2024
c0c08a5
jgroups host
achmelo Sep 2, 2024
1e69c67
wrong variable name
muzikovam Sep 2, 2024
a200dbf
ascii
muzikovam Sep 3, 2024
7f900be
iconv
muzikovam Sep 3, 2024
8c8afc3
skip delte of work zfs
muzikovam Sep 3, 2024
3a6444d
Update build-packaging.yml
muzikovam Sep 3, 2024
88bea26
previous run ended without cleanup
muzikovam Sep 3, 2024
54e4ec5
Update manifest.json.template for jwt testsing
Shobhajayanna Sep 3, 2024
56126e3
add permissions to cicd-test wf
MarkAckert Sep 3, 2024
40f4335
Merge pull request #3973 from zowe/user/markackert/fix-cicd-permissions
MarkAckert Sep 3, 2024
7933658
Merge branch 'v2.x/staging' into user/markackert/v2-to-v3-final-sync
MarkAckert Sep 3, 2024
3022a41
probably need to convert zowe.yaml on the mainframe so I can download…
muzikovam Sep 4, 2024
8e2e3a2
update zowe version in workflow
achmelo Sep 4, 2024
6272c41
submit JCL
muzikovam Sep 4, 2024
cb563f6
remove default value
achmelo Sep 4, 2024
ce88690
Merge pull request #3974 from zowe/user/markackert/v2-to-v3-final-sync
MarkAckert Sep 4, 2024
3382395
update jdk to 17
MarkAckert Sep 4, 2024
cb0a47f
Update example-zowe.yaml
Shobhajayanna Sep 4, 2024
fe8de1b
Merge branch 'v3.x/staging' into apiml/test_jwt_default
MarkAckert Sep 4, 2024
c4d67e6
cleanup comment
MarkAckert Sep 4, 2024
a808fd6
Update defaults.yaml for jwt
Shobhajayanna Sep 4, 2024
9954692
Update manifest.json.template
Shobhajayanna Sep 4, 2024
db32f49
Merge pull request #3975 from zowe/user/markackert/v3-container-java-…
MarkAckert Sep 4, 2024
782651f
Merge branch 'v3.x/staging' into apiml/test_jwt_default
Shobhajayanna Sep 5, 2024
35fd7b2
Merge branch 'v3.x/staging' into v3-deprecate-vsam
achmelo Sep 5, 2024
8ab9918
minor workflow changes to unite the output yaml and example-zowe.yaml
muzikovam Sep 5, 2024
eec9862
Merge pull request #3972 from zowe/apiml/test_jwt_default
MarkAckert Sep 5, 2024
4e621c8
revert variables
achmelo Sep 5, 2024
2b63d20
Merge remote-tracking branch 'origin/v3-deprecate-vsam' into v3-depre…
achmelo Sep 5, 2024
c42d28a
deleted files and jobs api from the config workflow
muzikovam Sep 5, 2024
512caac
Merge branch 'v3.x/staging' into v3-deprecate-vsam
achmelo Sep 5, 2024
8d546b0
Intentional nothing change
DivergentEuropeans Sep 5, 2024
928dd05
default to LTPA tokens in playbooks
MarkAckert Sep 5, 2024
043c9bf
set all to jwt token playbooks to ltpa
MarkAckert Sep 5, 2024
01ad229
Merge pull request #3969 from zowe/v3-deprecate-vsam
MarkAckert Sep 5, 2024
399d742
update zweconf jwtAutoconfigure options
MarkAckert Sep 5, 2024
7f0b3f5
started with the testing
muzikovam Sep 6, 2024
10d34fc
Merge branch 'v3.x/staging' of https://github.com/zowe/zowe-install-p…
muzikovam Sep 6, 2024
3ac08d5
Merge branch 'v3.x/staging' into v3.x/bugfix/zosmfValidate
MarkAckert Sep 6, 2024
0d08910
added network variables
muzikovam Sep 6, 2024
5839bfa
deleted a variable by mistake
muzikovam Sep 6, 2024
5c546b7
wrong variable
muzikovam Sep 9, 2024
313f2e8
deleted unused variable and more yaml improvements
muzikovam Sep 9, 2024
7e3184b
Merge branch 'user/muzikovam/updateZWECONF' of https://github.com/zow…
muzikovam Sep 9, 2024
24e25d8
diff
muzikovam Sep 9, 2024
02a54ed
create output for diff
muzikovam Sep 9, 2024
c5bdd69
added diff that is acceptable to be between example-zowe.yaml and wor…
muzikovam Sep 9, 2024
4522b70
Updated hardcoded Zlux files with correct V3 contents
DivergentEuropeans Sep 10, 2024
66a79ea
Missed a spot
DivergentEuropeans Sep 10, 2024
0c18afd
Added the zlux-core build
DivergentEuropeans Sep 10, 2024
fa7604d
Updated manifest.json
DivergentEuropeans Sep 10, 2024
625d016
Updated hopefully the correct one?
DivergentEuropeans Sep 10, 2024
db1cdc2
Surely, this one right?
DivergentEuropeans Sep 10, 2024
ac7ff6d
added conditions to step that stores results, testing failure
muzikovam Sep 10, 2024
6f58e09
added conditions to step that stores results, testing failure
muzikovam Sep 10, 2024
226d15b
testing contextual information passed from pswi step
muzikovam Sep 10, 2024
8119238
testing contextual information passed from pswi step - wrong mapping
muzikovam Sep 10, 2024
97cde51
testing contextual information passed from pswi step
muzikovam Sep 11, 2024
072f38a
testing contextual information passed from pswi step
muzikovam Sep 11, 2024
fa592b1
testing contextual information passed from pswi step - more step cond…
muzikovam Sep 11, 2024
b49b45a
Create zowe_base_sca.json
codezfire Sep 2, 2024
b8a51c7
Delete files/sca/zowe_base_user.json
codezfire Sep 11, 2024
fa2129d
store pswi on everytime on failure - test
muzikovam Sep 11, 2024
653558e
store pswi on everytime on failure - no test needed anymore I hope
muzikovam Sep 11, 2024
746447a
Update manifest + plugin identifier
DivergentEuropeans Sep 11, 2024
7238c15
revert to latest pax
struga0258 Sep 11, 2024
a14d21c
Merge pull request #3988 from zowe/retest-v3-with-new-fixes
MarkAckert Sep 11, 2024
10eddae
disable workflow test
MarkAckert Sep 11, 2024
92394ee
Merge pull request #3989 from zowe/user/markackert/temp-pswi-build-fix
MarkAckert Sep 11, 2024
c2fa537
Update zowe_base_sca.json
codezfire Sep 12, 2024
f5f40ff
Merge branch 'v3.x/staging' into user/markackert/ZWECONF-autconfig
muzikovam Sep 12, 2024
344b407
deleted hostname by mistake
muzikovam Sep 12, 2024
9e98078
Merge pull request #2 from codezfire/patch-2
codezfire Sep 12, 2024
d8c4cd0
Delete files/sca/zowe_base_server.json
codezfire Sep 12, 2024
96a214d
Merge branch 'v3.x/staging' into patch-1
MarkAckert Sep 12, 2024
4a0859f
Merge pull request #3968 from codezfire/patch-1
MarkAckert Sep 12, 2024
b80e564
Merge branch 'v3.x/staging' into v3.x/bugfix/zosmfValidate
MarkAckert Sep 12, 2024
076207b
Merge pull request #3956 from zowe/v3.x/bugfix/zosmfValidate
MarkAckert Sep 12, 2024
230fda2
Merge branch 'user/muzikovam/updateZWECONF' into user/markackert/ZWEC…
MarkAckert Sep 12, 2024
c17cdc9
Merge pull request #3979 from zowe/user/markackert/ZWECONF-autconfig
MarkAckert Sep 12, 2024
93d99fd
Merge branch 'v3.x/staging' into user/muzikovam/updateZWECONF
pavelzlatnik Sep 13, 2024
5e038c3
enabled workflow tests
muzikovam Sep 13, 2024
7c28d2e
Merge branch 'user/muzikovam/updateZWECONF' of https://github.com/zow…
muzikovam Sep 13, 2024
e4db670
New base diff because there was a change in the workflow
muzikovam Sep 13, 2024
76de2a1
disable failing ci tests whi
MarkAckert Sep 13, 2024
1266cd1
fix linting errors
MarkAckert Sep 13, 2024
369de92
Merge pull request #3993 from zowe/user/markackert/zlux-tests
MarkAckert Sep 13, 2024
ba60d9a
Merge branch 'v3.x/staging' into user/muzikovam/updateZWECONF
muzikovam Sep 16, 2024
5450359
move security configuration back to gateway
achmelo Sep 16, 2024
b97f595
echo to a specific file to enhance readability.
muzikovam Sep 16, 2024
d22d25b
separated pswi test and workflow test
muzikovam Sep 16, 2024
45b6de3
forgot to exit -1 for the test
muzikovam Sep 16, 2024
d7eb39f
still wrong exit for test
muzikovam Sep 17, 2024
20d3ea3
default zaas port
achmelo Sep 17, 2024
f333bd6
wrong name for log file
muzikovam Sep 18, 2024
95058e8
no need for log file as it is stored as zip anyway
muzikovam Sep 18, 2024
132fe47
Merge branch 'user/muzikovam/updateZWECONF' of https://github.com/zow…
muzikovam Sep 18, 2024
d2f64cc
Merge pull request #3982 from zowe/user/muzikovam/updateZWECONF
MarkAckert Sep 18, 2024
f57d956
Merge branch 'v3.x/staging' into apiml/v3/sercurity-conf
MarkAckert Sep 18, 2024
a4fbad8
WebUI build for RC1 3.0.0
Sep 18, 2024
2fecc9b
Merge branch 'v3.x/rc' into users/jstruga/update-manifest-v3
struga0258 Sep 18, 2024
ee75e1a
Merge pull request #3995 from zowe/apiml/v3/sercurity-conf
MarkAckert Sep 18, 2024
6101eb2
Merge branch 'v3.x/staging' into user/markackert/v3.x-staging-to-rc-3…
MarkAckert Sep 18, 2024
bf3990e
workflow tests on 2 places
muzikovam Sep 18, 2024
2cd20d5
Merge branch 'v3.x/staging' into user/muzikovam/zoweYamlDiff
muzikovam Sep 18, 2024
178a067
Merge pull request #3997 from zowe/user/markackert/v3.x-staging-to-rc…
MarkAckert Sep 18, 2024
68fee95
Merge branch 'v3.x/rc' into users/jstruga/update-manifest-v3
MarkAckert Sep 18, 2024
12dfbc8
default zaas port
achmelo Sep 19, 2024
73372aa
switched from zaas variables to gateway variables
muzikovam Sep 19, 2024
b60e561
point to the API ML RC
taban03 Sep 19, 2024
5508691
Merge pull request #3999 from zowe/apiml/zaas-default-conf
MarkAckert Sep 19, 2024
493e3d2
update sourceDependencies section
taban03 Sep 19, 2024
53426f9
update manifest with all components
Sep 19, 2024
a78d583
remove files and jobs api
Sep 19, 2024
4f52275
update v3 changes
Sep 19, 2024
6dcdb64
update order
Sep 19, 2024
08bf79f
update order
Sep 19, 2024
40227d8
moved zweconf yaml test into a separate script that runs everytime I …
muzikovam Sep 19, 2024
1ed3d5c
export zosmf url and port
muzikovam Sep 19, 2024
bd1678c
store spool files as well
muzikovam Sep 19, 2024
7c736c3
parameters
muzikovam Sep 19, 2024
d058253
update imageDependencies section
taban03 Sep 19, 2024
fbefb46
fix
taban03 Sep 19, 2024
cd2739f
remove ims plugin from sourceDeps
MarkAckert Sep 19, 2024
14515a5
Merge pull request #3996 from zowe/users/jstruga/update-manifest-v3
MarkAckert Sep 19, 2024
8c195f2
Merge branch 'v3.x/rc' into apiml/v3_release
MarkAckert Sep 19, 2024
3f442e7
Merge pull request #4001 from zowe/apiml/v3_release
MarkAckert Sep 19, 2024
27a2342
manifest cleanup and updated licenses
MarkAckert Sep 19, 2024
10a1f26
update launch-scripts and base images
MarkAckert Sep 19, 2024
bfc8389
placeholder tag for vscode extension
MarkAckert Sep 19, 2024
58f0956
update defaults, zaas enabled by default
Sep 20, 2024
e64d167
saving zowe_.yaml for debugging
muzikovam Sep 20, 2024
9299d21
changed work mount to '/tmp' so now we don't have to delete the line …
muzikovam Sep 20, 2024
451d16c
runtime directory back
muzikovam Sep 20, 2024
3b930d9
at least try to anonymize something
muzikovam Sep 20, 2024
332875c
Merge branch 'v3.x/staging' into user/muzikovam/zoweYamlDiff
muzikovam Sep 20, 2024
58a90b6
Merge pull request #4003 from zowe/user/markackert/update-image-deps-rc
MarkAckert Sep 20, 2024
3f3eafb
make zowe config check a separate workflow
MarkAckert Sep 20, 2024
e897a0b
update defaults to match example-zowe.yaml
MarkAckert Sep 20, 2024
eee5927
update zowe explorer vscode tag (fix automation)
MarkAckert Sep 20, 2024
c88c59a
Merge pull request #3998 from zowe/user/muzikovam/zoweYamlDiff
MarkAckert Sep 20, 2024
b9cecbe
pswi automation user/email
MarkAckert Sep 20, 2024
9d5f0fd
making sure ZOSMF_USER is in uppercase
muzikovam Sep 23, 2024
2ff5b01
putting ZOSMF_USER in plain text into pswi creation
muzikovam Sep 23, 2024
7476151
Merge pull request #4006 from zowe/users/muzikovam/upperCase
MarkAckert Sep 23, 2024
fb143b9
Update CLI component versions for 3.0.0
t1m0thyj Sep 23, 2024
2c4ddde
Merge pull request #4007 from zowe/v3.0.0/cli/rc
MarkAckert Sep 23, 2024
31eddd4
Merge branch 'v3.x/staging' into user/markackert/pswi-cicd-updates
MarkAckert Sep 23, 2024
34475a6
Merge pull request #4008 from zowe/user/markackert/pswi-cicd-updates
MarkAckert Sep 23, 2024
98c1090
Merge branch 'v3.x/staging' of https://github.com/zowe/zowe-install-p…
DivergentEuropeans Sep 24, 2024
6f8ecc8
Added changelog update
DivergentEuropeans Sep 24, 2024
adee48e
Clarify sysMessages
Martin-Zeithaml Sep 24, 2024
4060296
Update explorers
struga0258 Sep 24, 2024
c11e0f2
Update manifest.json.template
struga0258 Sep 24, 2024
139ce93
WebUI RC2 for V3
Sep 24, 2024
24c6e12
Merge pull request #4012 from zowe/users/jstruga/webui-rc2-v3
MarkAckert Sep 25, 2024
1d19d64
Merge pull request #4011 from zowe/struga0258-patch-20
MarkAckert Sep 25, 2024
5c47e81
Merge branch 'v3.x/staging' into test/v3
MarkAckert Sep 25, 2024
51d84e4
Merge pull request #4009 from DivergentEuropeans/test/v3
MarkAckert Sep 25, 2024
5e6114c
Minor mkdirp update
Martin-Zeithaml Sep 25, 2024
655d789
Merge branch 'v3.x/staging' into chore/v3/configmgr
MarkAckert Sep 25, 2024
b5984dc
Merge pull request #3963 from zowe/chore/v3/configmgr
MarkAckert Sep 25, 2024
fc796c2
Merge branch 'v3.x/staging' into reboot/chore/update-defaults-apiml
MarkAckert Sep 25, 2024
4152a80
Merge pull request #4004 from zowe/reboot/chore/update-defaults-apiml
MarkAckert Sep 25, 2024
e1d63a5
Merge branch 'v3.x/staging' into Martin-Zeithaml-v3.example.sysMsgs
JoeNemo Sep 25, 2024
bd09af4
Merge branch 'v3.x/staging' into v3.x/feature/mkdirp
JoeNemo Sep 25, 2024
a9d10b0
container fixes
MarkAckert Sep 25, 2024
65384dd
better variable available
MarkAckert Sep 25, 2024
ea09565
Update explorers
Sep 25, 2024
7d86bd2
Update staging
struga0258 Sep 25, 2024
276dae8
Merge branch 'v3.x/rc' into users/jstruga/webui-rc2-v3
struga0258 Sep 25, 2024
03865b1
Merge pull request #4014 from zowe/users/jstruga/webui-rc2-v3
MarkAckert Sep 25, 2024
1169fb2
Merge pull request #4015 from zowe/struga0258-patch-1
MarkAckert Sep 25, 2024
4fdea74
update manifest and default (unreleased) embedded image versions
MarkAckert Sep 25, 2024
fcc9f65
explorer-ip starts at 3.0.1
MarkAckert Sep 25, 2024
ed05006
Merge branch 'v3.x/rc' into user/markackert/container-fixes
MarkAckert Sep 26, 2024
79ea2b0
Merge pull request #4016 from zowe/user/markackert/container-fixes
MarkAckert Sep 26, 2024
a942fc5
small workflow fix - delete unused variable, fix version, added auto …
muzikovam Sep 26, 2024
57ca44c
Changes in workflow based on changes in example-zowe.yaml
muzikovam Sep 26, 2024
0b86085
line numbers changed
muzikovam Sep 26, 2024
20acfba
misunderstanding about auto jwt
muzikovam Sep 26, 2024
06535b5
ZWEV2 to ZWEV3
Martin-Zeithaml Sep 26, 2024
870c54b
Merge pull request #4017 from zowe/users/muzikovam/wfFix
MarkAckert Sep 26, 2024
329d509
Merge branch 'v3.x/staging' into Martin-Zeithaml-patch-1
MarkAckert Sep 26, 2024
e178af9
Merge pull request #4019 from zowe/Martin-Zeithaml-patch-1
MarkAckert Sep 26, 2024
bdf64bb
Merge branch 'v3.x/staging' into v3.x/feature/mkdirp
MarkAckert Sep 26, 2024
1c1176d
Merge pull request #4013 from zowe/v3.x/feature/mkdirp
MarkAckert Sep 26, 2024
1e07acd
Merge branch 'v3.x/staging' into Martin-Zeithaml-v3.example.sysMsgs
MarkAckert Sep 26, 2024
48f9f9f
Merge pull request #4010 from zowe/Martin-Zeithaml-v3.example.sysMsgs
MarkAckert Sep 26, 2024
9c2bb69
update apiml to 3.0.36
Sep 26, 2024
eb1248f
Merge branch 'v3.x/staging' into user/markackert/staging-to-v3-rc2
MarkAckert Sep 26, 2024
7276766
Merge pull request #4021 from zowe/user/markackert/staging-to-v3-rc2
MarkAckert Sep 26, 2024
b076396
Merge branch 'v3.x/rc' into reboot/release/apiml-3rc2
MarkAckert Sep 26, 2024
9a10ef0
Merge pull request #4020 from zowe/reboot/release/apiml-3rc2
MarkAckert Sep 26, 2024
4957460
category fix for TLS variable
pavelzlatnik Sep 27, 2024
6a5dba2
Merge pull request #4022 from zowe/users/zlatnikp/wfFixTlsCategory
MarkAckert Sep 27, 2024
542df5f
Merge commit '6a5dba26b68690a6dd43f213e5f467938af1f726' into user/mar…
MarkAckert Sep 30, 2024
bc99a8f
Merge pull request #4028 from zowe/user/markackert/staging-pswi-updat…
MarkAckert Sep 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .dependency/prepare_source_zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SCRIPT_NAME=$(basename "$0")
SCRIPT_PWD=$(cd "$(dirname "$0")" && pwd)
ROOT_PWD=$(cd "$SCRIPT_PWD" && cd .. && pwd)
cd "$ROOT_PWD"
WORK_BRANCH=v2.x/master
WORK_BRANCH=v3.x/master
ZOWE_MANIFEST="https://raw.githubusercontent.com/zowe/zowe-install-packaging/${WORK_BRANCH}/manifest.json.template"
WORK_DIR=.release
ZIP_DIR="${WORK_DIR}/source_zip"
Expand Down Expand Up @@ -51,7 +51,7 @@ echo

################################################################################
echo "[${SCRIPT_NAME}] download manifest.json"
/bin/sh -c "curl -s ${GITHUB_AUTH_HEADER} \"${ZOWE_MANIFEST}\"" > "${WORK_DIR}/manifest.json.template"
/bin/sh -c "curl -s ${GITHUB_AUTH_HEADER} \"${ZOWE_MANIFEST}\"" >"${WORK_DIR}/manifest.json.template"
if [ -f "${WORK_DIR}/manifest.json.template" ]; then
echo "[${SCRIPT_NAME}] - ${WORK_DIR}/manifest.json.template downloaded"
else
Expand All @@ -67,7 +67,7 @@ echo

################################################################################
echo "[${SCRIPT_NAME}] write README.md"
cat > "${ZIP_DIR}/README.md" << EOF
cat >"${ZIP_DIR}/README.md" <<EOF
# Source files for the Zowe project - version ${ZOWE_VERSION}

Included in this zip file are the source files used to build the Zowe ${ZOWE_VERSION} Release.
Expand Down
22 changes: 22 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2

updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: weekly
groups:
all-version-dependencies:
applies-to: version-updates
patterns:
- "*"
update-types:
- "patch"
- "minor"
all-security-minorpatch:
applies-to: security-updates
patterns:
- "*"
update-types:
- "patch"
- "minor"
21 changes: 9 additions & 12 deletions .github/scripts/cicd_test/make_matrix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,13 @@ case $install_test_choice in
test_file="$KEYRING_TESTFILE"
;;

"z/OS node v14")
test_file="$ZOS_NODE_V14_TESTFILE"
;;

"z/OS node v16")
test_file="$ZOS_NODE_V16_TESTFILE"
;;

"z/OS node v18")
test_file="$ZOS_NODE_V18_TESTFILE"
test_force_system="zzow04"
test_force_system="zzow08"
;;

"z/OS node v20")
test_file="$ZOS_NODE_V20_TESTFILE"
;;

"Non-strict Verify External Certificate")
Expand Down Expand Up @@ -91,17 +87,18 @@ if [[ ! -z "$test_force_system" ]]; then
else
if [[ -z "$dont_parse_test_server" ]]; then
if [[ "$test_server" == "Any zzow servers" ]]; then
test_server="zzow0"$(echo $(($RANDOM % 3 + 2)))
test_server="zzow0"$(echo $(($RANDOM % 3 + 6)))
fi
TEST_FILE_SERVER="$test_file($test_server)"
else
any_occurrence=$(echo $test_file | grep -o "(any)" | wc -l)
interim_test_file_server=$test_file
for i in $(seq $any_occurrence); do
interim_test_file_server=$(echo $interim_test_file_server | sed "s#(any)#(zzow0$(echo $(($RANDOM % 3 + 2))))#")
# Generates zzow06, zzow07, zzow08
interim_test_file_server=$(echo $interim_test_file_server | sed "s#(any)#(zzow0$(echo $(($RANDOM % 3 + 6))))#")
done

TEST_FILE_SERVER=$(echo $interim_test_file_server | sed "s#(all)#(zzow02,zzow03,zzow04)#g")
TEST_FILE_SERVER=$(echo $interim_test_file_server | sed "s#(all)#(zzow06,zzow07,zzow08)#g")
fi
fi

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@ TEST_SERVER=$(echo "$MATRIX_SERVER" | cut -d "-" -f2)

case $TEST_SERVER in

"zzow02")
TEST_SERVER_NICKNAME=marist-2
;;
"zzow06")
TEST_SERVER_NICKNAME=marist-6
;;

"zzow03")
TEST_SERVER_NICKNAME=marist-3
;;
"zzow07")
TEST_SERVER_NICKNAME=marist-7
;;

"zzow04")
TEST_SERVER_NICKNAME=marist-4
;;
"zzow08")
TEST_SERVER_NICKNAME=marist-8
;;

*)
printf "${RED}[Check 2 ERROR] Something went wrong when parsing test server nickname\n"
exit 1
;;
printf "${RED}[Check 2 ERROR] Something went wrong when parsing test server nickname\n"
exit 1
;;
esac

assert_env_var "TEST_SERVER"
assert_env_var "TEST_SERVER_NICKNAME"
printf "${GREEN}[Check 2/$TOTAL_CHECK] Test server name processing complete!${NC}\n"
printf "${GREEN}[Check 2/$TOTAL_CHECK] Test server name processing complete!${NC}\n"
162 changes: 162 additions & 0 deletions .github/scripts/manifest_verification/check_sources.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
// This script checks that the manifest sourceDependencies are reachable.

const core = require('@actions/core');
const fs = require('fs-extra');

const results = {
success: 'found_matching_commit_or_tag',
warn: 'found_matching_branch',
fail: 'no_matching_tag_or_branch'
}

function is_sha(item) {
return /^[0-9a-f]{7}$/.test(item) || /^[0-9a-f]{40}$/.test(item)
}

function isRcOrMaster(branchName) {
return /v[0-9]\.x\/(rc|master)/i.test(branchName);
}

async function main() {

if (process.env['BASE_REF'] == null) {
core.setFailed('This script requires the BASE_REF env to bet set.');
return;
}

if (process.env['GITHUB_TOKEN'] == null) {
core.setFailed('This script requires the GITHUB_TOKEN env to be set.');
return;
}

const baseRef = process.env['BASE_REF'].trim();

const github = require('@actions/github')
const octokit = github.getOctokit(process.env['GITHUB_TOKEN']);

// expect script to be run from repo root
const sourceDeps = fs.readJSONSync('./manifest.json.template').sourceDependencies;

/**
* Source dep structure is below:
*
* [
* {
* "componentGroup": "Performance Timing Utility",
* "entries": [{
* "repository": "perf-timing",
* "tag": "master",
* "destinations": ["Zowe CLI Package"]
* }]
* },
* { ...same structure as prior...}
* ]
*/

const analyzedRepos = [];

for (const dep of sourceDeps) {
for (const entry of dep.entries) {
const repo = entry.repository;
const tag = entry.tag;

// octokit ref/commit_sha APIs work for branches/tags, and we only want to test when its an actual hash
if (is_sha(tag)) {
const isCommit = await octokit.rest.repos.getCommit({
owner: 'zowe',
repo: repo,
ref: tag
}).then((resp) => {
if (resp.status < 400) {
return true;
}
return false;
})

// Pinning repos with a commit is ok
if (isCommit) {
analyzedRepos.push({repository: repo, tag: tag, result: results.success});
continue;
}
}

// If not a commit, check repo tags
// requires paginate API.

const tags = await octokit.paginate(
"GET /repos/{owner}/{repo}/tags",
{
owner: 'zowe',
repo: repo,
}
).then((resp) => {
// resp is the aggregated data from paginate.. [ { name: 'tag-a', ..other-fields.. }, {}, {}, ...]
return resp;
});

const knownTag = tags.find((item) => item.name === tag);
if (knownTag != null && knownTag.name.trim().length > 0) {
analyzedRepos.push({repository: repo, tag: tag, result: results.success});
continue;
}

// if we didn't find tag, look at branches
// 2 REST Requests, unset protected was operating as protected=false
const protBranches = await octokit.rest.repos.listBranches({
owner: 'zowe',
repo: repo,
protected: true
}).then((resp) => {
if (resp.status < 400) {
return resp.data;
}
return [];
})
const unProtBranches = await octokit.rest.repos.listBranches({
owner: 'zowe',
repo: repo,
protected: false
}).then((resp) => {
if (resp.status < 400) {
return resp.data;
}
return [];
})

const branches = [...protBranches, ...unProtBranches];

const knownBranch = branches.find((item) => item.name === tag);
if (knownBranch != null && knownBranch.name.trim().length > 0) {
analyzedRepos.push({repository: repo, tag: tag, result: results.warn});
continue;
}

// if we didn't find commit, tag or branch
analyzedRepos.push({repository: repo, tag: tag, result: results.fail});
}
}

let didFail = false;

const failRepos = analyzedRepos.filter((item) => item.result === results.fail);
if (failRepos != null && failRepos.length > 0) {
core.warning('There are manifest sourceDependencies without a matching tag or branch. Review the output and update the manifest.');
core.warning('The following repositories do not have a matching commit hash, tag or branch: ' + JSON.stringify(failRepos, null, {indent: 4}))
didFail = true;
}

const warnRepos = analyzedRepos.filter((item) => item.result === results.warn) ;
if (warnRepos != null && warnRepos.length > 0) {
if (isRcOrMaster(baseRef)) {
core.warning('Merges to RC and master require tags or commit hashes instead of branches for sourceDependencies.')
didFail = true
}
core.warning('The following repositories have a branch instead of tag: ' + JSON.stringify(warnRepos, null, {indent: 4}))
}

if (didFail) {
core.setFailed('The manifest validation was not successful. Review the warning output for more details.');
}

}
main()
Loading
Loading