Skip to content

Commit

Permalink
# This is a combination of 4 commits.
Browse files Browse the repository at this point in the history
# This is the 1st commit message:

parent 3d7637a
author Sayali Gaikawad <[email protected]> 1656374316 -0700
committer pgodithi <[email protected]> 1657636592 -0400
gpgsig -----BEGIN PGP SIGNATURE-----

 iQIzBAABCAAdFiEEuaPMeSek3p9IWNzDMSDf0RO9/aIFAmLNhvAACgkQMSDf0RO9
 /aJqdg/7BLoPI43TrmJpACpRYNb6uaieKiBO+K+S+moKd3cWn61gbwCkXsr1yOxd
 X80p6TV8gxhYeIx6fJ1d5RSeIHQp/pNyvFaVKnLHr/ImkeqarUtKLv8HX/OuRBmJ
 Vm5NPb5PJnz09HIfP6ZtIp4j++Ys7GFfg7TULIG9b2VW03xpokM3oz2L/X9O8NoS
 eZkVpxqeSRJMSppm8NnNjot+y1njD3TJozzoUwE3EGJBj3SVV+lzm2fa50Dqg2fj
 HczMB+7iIsUpF34FX549Y5JW3SkmBfF4f9GPP8XWa6BvRd7Y6yVqjhLN8DXu6kZO
 JaKkGdR0eEh8vKwIPA1+daGpPLQUIi6iGLphSzxhSzLt5AevXGEOPH0XDllj3abr
 ISG4f6B16jlP4wfI9a+LCeaBwVL5KB59ArkEldRAV/fSswmXj9tNFr6rcmbKdJfT
 mYMkwNEQw0RyPJqI7j7fpH79++cOYcMZ14y/xryQsmkBcxlvaV/sYKDlhuvAiU0c
 W9wkFvqLaiFzP2uxIpnJUHpUGVl0moAtBKKPKpnhY66awUGNfouElbXbXAykebs6
 +INmwxsDygdMYuhkbO2WKo+YYxqpf9oiTpJDcHSQiJSe3VEEUBZvbW7VaQQk7evl
 NQpjdUlCBKqe+t0LXNxXED+08cr1s5v2zoBPUpLRfr6l44lVT/M=
 =ddql
 -----END PGP SIGNATURE-----

parent 3d7637a
author Sayali Gaikawad <[email protected]> 1656374316 -0700
committer pgodithi <[email protected]> 1657636567 -0400
gpgsig -----BEGIN PGP SIGNATURE-----

 iQIzBAABCAAdFiEEuaPMeSek3p9IWNzDMSDf0RO9/aIFAmLNhtcACgkQMSDf0RO9
 /aJcLA/6A33rJJPQms5mef3c7cYFClJPRO1ggFL0//CPlTrT+f0mzgNJqEvXf61N
 /41HNkHlrxNHcV7cU4g0OTcA3W5UOGdMdkTyHS6wNxPGp2VlQ2/bUQNbUmwNO4u1
 JiEjrtN2E/dB+WP+IVRcWl86jC95Zv23B+kcrAxEu3UT1fuCzUb26MDbLuvba/t9
 DWjviuzWDLJc3ONDu67JugyDealh6AfZ/lxQS3fJyq/VYOt7QegGJcqXAU6Da1rC
 YcrmNIj6ycfWoEH7FJu/bTLihZoVYZ2Irf4wOL0G8rVqQ+yp9JKparGlMV1kg0OI
 2+6p+9iZhWTdNhbg9p6+lDPDI3/2QQSWCORTc4OKs7Jj6Yo/t2JmeSqzyrPtceU0
 mT5ANzu1yuZlCPQnIfW5czpYlOhTohG33EgQZAiMyZyeEibVsrL/3oXoWeIxabKp
 rxXgYgWmTyEGjiWqg9gGTJWsN4iFGlIHlEeGSytG8FTBZykSvvOfUC4kqbjYth8W
 Xrf1g4x+8uTTqe1vyR1/z3xqr5WpTwyBsGfGcr2A4JFLopToFa5tuw46vz9F92en
 gSoCfgpX+9D4vY5qldYS57uFcKkQ2w6Mf9lJ5k8m8nYL7FBX35mHNqou7ZSfIKOL
 AqqnMoVKjB0pDfcNsjdd60HeJ16Dtg43Jh04E9CX2g75LTybaUU=
 =avKu
 -----END PGP SIGNATURE-----

parent 3d7637a
author Sayali Gaikawad <[email protected]> 1656374316 -0700
committer pgodithi <[email protected]> 1657636536 -0400
gpgsig -----BEGIN PGP SIGNATURE-----

 iQIzBAABCAAdFiEEuaPMeSek3p9IWNzDMSDf0RO9/aIFAmLNhrgACgkQMSDf0RO9
 /aIkrxAAij7gaeNhHT5jydV9C8MXako0iViYhhFa0Ig7vRiJOJkFoFzd3mPRZsmI
 vnrEqag5MekOj8Gsj6Ric6jUhW4TcmsaRk+VgpUsPkSWOsj3EqzyteLMKUp2f1df
 sqJYXNuWZIqUs8wi1urRf8lkzUtcyTDqKf9QZfJwKlrDtE0ZlPc6Zj/+/XfHNftw
 8W+q2h2aGyQqbOS8jXcelYk+mtXvDAB8PyM6neXgHRqmkHlxR+y/cLvSJ/1SJ9rh
 YL55MtdS7EEentZnomiSa194wZtr2x4TjjTJyJUYR81e5Xv/SMxtjmPu60crQQg+
 fuZnoQ+xrkjPzGw9tzxoZEgSA6ntSnJJDw7kjOhYNgbHvCmnWstxPXYA/z+bzUQD
 Iad2EwSn5YTktQdHp71tsIsnyDz4QY6yyyVYVcobjQmE/fKYnyZMAriKd5rsosCT
 Qo5t3PjQDqAdyxQQAsiRw5PigSdMb0HGIdpY3uhCOMA6UeqFz1Rq9ww8jnMRwbif
 qPi7vyOLcYaL6XPDXRBHB4dSE0crgQFn8cqUqOegxKJy0sneFGzvKQeFn1iBl5Yj
 auL6LR0pB3CEFnNwrIuf7q4gxdFJ71Lmi2LpVAm9jumGuhrHnGzCz2wiXEJKb8hq
 w+mjMI6e5h9UyKWuQ4nPE3yy5pOw0uVV4GxSpcsTAWnSLq/XP1I=
 =Ss4T
 -----END PGP SIGNATURE-----

parent 3d7637a
author Sayali Gaikawad <[email protected]> 1656374316 -0700
committer pgodithi <[email protected]> 1657636424 -0400
gpgsig -----BEGIN PGP SIGNATURE-----

 iQIzBAABCAAdFiEEuaPMeSek3p9IWNzDMSDf0RO9/aIFAmLNhkgACgkQMSDf0RO9
 /aJ/7hAAlX0LgF2gphRxXdTfjhk9DQFUYVRv6iDHZN5bbW3EWC1A48Im6IM9QWBn
 cMwMXzQ717z/BK6hRPqt2BJCnJfoh6e5T08DCQyQRXWZs64JBSMLztn/+pJqhXGM
 wlmQspqzO3QqWr1DN0RyJMM7NSo0RVXcLFjqgMFOM9U778Ben5hOWXH4WsBXGWLj
 PXuAKyLKl5lziGPCrjfjFv7o8xhsyguCYTwomZZsJfGiC+VcRSMQbxp2VaCBIWMx
 nZvnfJNWn1OOiy2ag9K0eyoD4wnTmgYNQCABvMLgroEj4YVeIcOOwKZ9aACJXcM5
 hd5eftbjmHMJAaBaouVeg6bwKxmk+/7lK2T2AIZqgl7TK7kaF88SIIAfTKXjFv5D
 QOz60yq02LUJjDfgyuCEZCbQfPubyT5+Zt16wq0N8jeX+BYcKIu49DsHQ1+W4lNG
 cbjhfhioC0rQ8RcfB5T5kFaZvf46REmTioa40LPTEdtX/qNlr1LmJhjCacaKIXi2
 9y9jLnDs1gkVmQZN/ThkNRuagbeRovrvxDoRNam6HDpI/KTIKW1jCWPwPrvJDLUQ
 uYYW+3X7YTWYft4vtX4wJYgHe9nmCp6kU0EBMrCCDg2vheh3wxiTUQRrrDPNBAiC
 gA1T/HXxuhKkSyycuIdiqEIA0kcXHHktcbWAzjuPyDt6AFrDo/c=
 =OVLM
 -----END PGP SIGNATURE-----

Change ref to 2.1 for opensearch dahsboards (opensearch-project#2267)

Signed-off-by: Sayali Gaikawad <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

versionincrement.yaml matrix test

Signed-off-by: pgodithi <[email protected]>

versionincrement.yaml matrix test

Signed-off-by: pgodithi <[email protected]>

versionincrement.yaml matrix test

Signed-off-by: pgodithi <[email protected]>

versionincrement.yaml matrix test

Signed-off-by: pgodithi <[email protected]>

versionincrement.yaml matrix test

Signed-off-by: pgodithi <[email protected]>

versionincrement.yaml matrix test

Signed-off-by: pgodithi <[email protected]>

versionincrement.yaml matrix test

Signed-off-by: pgodithi <[email protected]>

versionincrement.yaml matrix test

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

Add test manifest to check build job (opensearch-project#2273)

Signed-off-by: Sayali Gaikawad <[email protected]>

Set concurrent build limit for gradle check (opensearch-project#2274)

Signed-off-by: Peter Zhu <[email protected]>

Add test coverage xml and support 1.x gradle check (opensearch-project#2279)

* Add test coverage xml and support 1.x gradle check

Signed-off-by: Peter Zhu <[email protected]>

* Remove comments

Signed-off-by: Peter Zhu <[email protected]>

Add java args to 2.2.0 manifest (opensearch-project#2281)

Signed-off-by: Sayali Gaikawad <[email protected]>

Update downloadFromS3 lib env vars with credentials (opensearch-project#2278)

Signed-off-by: Sayali Gaikawad <[email protected]>

Update buildUploadManifestSHA lib env vars with credentials (opensearch-project#2277)

Signed-off-by: Sayali Gaikawad <[email protected]>

Update signArtifacts lib env vars with credentials (opensearch-project#2275)

Signed-off-by: Sayali Gaikawad <[email protected]>

[OSD][2.1] add functional test repo (opensearch-project#2282)

Signed-off-by: Kawika Avilla <[email protected]>

Change codecov xml name and move gradle check script to build repo (opensearch-project#2283)

* Change codecov xml name and move gradle check script to build repo

Signed-off-by: Peter Zhu <[email protected]>

* Add tests

Signed-off-by: Peter Zhu <[email protected]>

* Tweak tokens

Signed-off-by: Peter Zhu <[email protected]>

* Tweak jenkins codeCoverage.xml

Signed-off-by: Peter Zhu <[email protected]>

* Add codeCoverage.xml

Signed-off-by: Peter Zhu <[email protected]>

Add gradle cleanup before the checks (opensearch-project#2285)

Signed-off-by: Peter Zhu <[email protected]>

Update promoteArtifactsLib lib env vars with credentials (opensearch-project#2284)

* Resolve merge conflicts

Signed-off-by: Sayali Gaikawad <[email protected]>

Update remaining env vars with credentials in jenkins libraries  (opensearch-project#2286)

* Update getManifestSHA lib env vars with credentials

Signed-off-by: Sayali Gaikawad <[email protected]>

Remove 2.1.0 from cron for building release candidates (opensearch-project#2287)

Signed-off-by: Sayali Gaikawad <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test version increment automation

Signed-off-by: pgodithi <[email protected]>

test version increment automation

Signed-off-by: pgodithi <[email protected]>

Staging version increment automation

Signed-off-by: pgodithi <[email protected]>

Staging version increment automation

Signed-off-by: pgodithi <[email protected]>

Staging version increment automation

Signed-off-by: pgodithi <[email protected]>

version increment automation

Signed-off-by: pgodithi <[email protected]>

Change ref to 2.1 for opensearch dahsboards (opensearch-project#2267)

Signed-off-by: Sayali Gaikawad <[email protected]>

Add test manifest to check build job (opensearch-project#2273)

Signed-off-by: Sayali Gaikawad <[email protected]>

Set concurrent build limit for gradle check (opensearch-project#2274)

Signed-off-by: Peter Zhu <[email protected]>

Add test coverage xml and support 1.x gradle check (opensearch-project#2279)

* Add test coverage xml and support 1.x gradle check

Signed-off-by: Peter Zhu <[email protected]>

* Remove comments

Signed-off-by: Peter Zhu <[email protected]>

Add java args to 2.2.0 manifest (opensearch-project#2281)

Signed-off-by: Sayali Gaikawad <[email protected]>

Update downloadFromS3 lib env vars with credentials (opensearch-project#2278)

Signed-off-by: Sayali Gaikawad <[email protected]>

Update buildUploadManifestSHA lib env vars with credentials (opensearch-project#2277)

Signed-off-by: Sayali Gaikawad <[email protected]>

Update signArtifacts lib env vars with credentials (opensearch-project#2275)

Signed-off-by: Sayali Gaikawad <[email protected]>

Add gradle cleanup before the checks (opensearch-project#2285)

Signed-off-by: Peter Zhu <[email protected]>

Remove 2.1.0 from cron for building release candidates (opensearch-project#2287)

Signed-off-by: Sayali Gaikawad <[email protected]>

Add signer to support signing windows artifacts (opensearch-project#2156)

* Add signer for windows distribution and implement the jenkins libarary to be capable of signing for windows.

Signed-off-by: Zelin Hao <[email protected]>

* Replace platform with MagicMock for testing

Signed-off-by: Zelin Hao <[email protected]>

* Change to not initiate signer for mock case

Signed-off-by: Zelin Hao <[email protected]>

* Change the default signature type to .asc for compatibility with old usage

Signed-off-by: Zelin Hao <[email protected]>

* Add signer abstract class

Signed-off-by: Zelin Hao <[email protected]>

* Remove abstract method

Signed-off-by: Zelin Hao <[email protected]>

* Commit test cases

Signed-off-by: Zelin Hao <[email protected]>

* Fix python tests

Signed-off-by: Zelin Hao <[email protected]>

* Remove unused library import

Signed-off-by: Zelin Hao <[email protected]>

* Fix mock repo tests

Signed-off-by: Zelin Hao <[email protected]>

* Remove commmented block

Signed-off-by: Zelin Hao <[email protected]>

* Fix the python tests and combine credentials

Signed-off-by: Zelin Hao <[email protected]>

* Change path for windows tests

Signed-off-by: Zelin Hao <[email protected]>

Update sql plugin name to opensearch-sql-plugin (opensearch-project#2295)

Signed-off-by: Joshua Li <[email protected]>

Update the tag creation workflow with bundle manifest groovy library (opensearch-project#2296)

Signed-off-by: Zelin Hao <[email protected]>

Switch runner of gradle check to c524xlarge for more stable runs (opensearch-project#2298)

Signed-off-by: Peter Zhu <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Add jdk14 for gradle check 1.x version (opensearch-project#2300)

Signed-off-by: Peter Zhu <[email protected]>

Create a docker promotion jenkins workflow (opensearch-project#2288)

* Add docker promotion jenkins jobs

Signed-off-by: Zelin Hao <[email protected]>

* Create a Jenkins workflow for docker promotion job

Signed-off-by: Zelin Hao <[email protected]>

* Fix promoting product with its individual image tag

Signed-off-by: Zelin Hao <[email protected]>

* Add data prepper into tests

Signed-off-by: Zelin Hao <[email protected]>

* Convert to use docker copy job

Signed-off-by: Zelin Hao <[email protected]>

* Update test cases

Signed-off-by: Zelin Hao <[email protected]>

Add java home args in 1.3.4 manifest (opensearch-project#2299)

Signed-off-by: Zelin Hao <[email protected]>

Add 2.1.0 release notes (opensearch-project#2302)

* Add 2.1.0 release notes

Signed-off-by: Sayali Gaikawad <[email protected]>

CVE's Fix for Jenkins opensearch-project#2280 opensearch-project#2272 opensearch-project#2239 opensearch-project#1962 (opensearch-project#2303)

* Change ref to 2.1 for opensearch dahsboards (opensearch-project#2267)

Signed-off-by: Sayali Gaikawad <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

versionincrement.yaml matrix test

Signed-off-by: pgodithi <[email protected]>

versionincrement.yaml matrix test

Signed-off-by: pgodithi <[email protected]>

versionincrement.yaml matrix test

Signed-off-by: pgodithi <[email protected]>

versionincrement.yaml matrix test

Signed-off-by: pgodithi <[email protected]>

versionincrement.yaml matrix test

Signed-off-by: pgodithi <[email protected]>

versionincrement.yaml matrix test

Signed-off-by: pgodithi <[email protected]>

versionincrement.yaml matrix test

Signed-off-by: pgodithi <[email protected]>

versionincrement.yaml matrix test

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

Add test manifest to check build job (opensearch-project#2273)

Signed-off-by: Sayali Gaikawad <[email protected]>

Set concurrent build limit for gradle check (opensearch-project#2274)

Signed-off-by: Peter Zhu <[email protected]>

Add test coverage xml and support 1.x gradle check (opensearch-project#2279)

* Add test coverage xml and support 1.x gradle check

Signed-off-by: Peter Zhu <[email protected]>

* Remove comments

Signed-off-by: Peter Zhu <[email protected]>

Add java args to 2.2.0 manifest (opensearch-project#2281)

Signed-off-by: Sayali Gaikawad <[email protected]>

Update downloadFromS3 lib env vars with credentials (opensearch-project#2278)

Signed-off-by: Sayali Gaikawad <[email protected]>

Update buildUploadManifestSHA lib env vars with credentials (opensearch-project#2277)

Signed-off-by: Sayali Gaikawad <[email protected]>

Update signArtifacts lib env vars with credentials (opensearch-project#2275)

Signed-off-by: Sayali Gaikawad <[email protected]>

[OSD][2.1] add functional test repo (opensearch-project#2282)

Signed-off-by: Kawika Avilla <[email protected]>

Change codecov xml name and move gradle check script to build repo (opensearch-project#2283)

* Change codecov xml name and move gradle check script to build repo

Signed-off-by: Peter Zhu <[email protected]>

* Add tests

Signed-off-by: Peter Zhu <[email protected]>

* Tweak tokens

Signed-off-by: Peter Zhu <[email protected]>

* Tweak jenkins codeCoverage.xml

Signed-off-by: Peter Zhu <[email protected]>

* Add codeCoverage.xml

Signed-off-by: Peter Zhu <[email protected]>

Add gradle cleanup before the checks (opensearch-project#2285)

Signed-off-by: Peter Zhu <[email protected]>

Update promoteArtifactsLib lib env vars with credentials (opensearch-project#2284)

* Resolve merge conflicts

Signed-off-by: Sayali Gaikawad <[email protected]>

Update remaining env vars with credentials in jenkins libraries  (opensearch-project#2286)

* Update getManifestSHA lib env vars with credentials

Signed-off-by: Sayali Gaikawad <[email protected]>

Remove 2.1.0 from cron for building release candidates (opensearch-project#2287)

Signed-off-by: Sayali Gaikawad <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test versionmatrixtest.yaml

Signed-off-by: pgodithi <[email protected]>

test version increment automation

Signed-off-by: pgodithi <[email protected]>

test version increment automation

Signed-off-by: pgodithi <[email protected]>

Staging version increment automation

Signed-off-by: pgodithi <[email protected]>

Staging version increment automation

Signed-off-by: pgodithi <[email protected]>

Staging version increment automation

Signed-off-by: pgodithi <[email protected]>

version increment automation

Signed-off-by: pgodithi <[email protected]>

* Version increment automation

Signed-off-by: pgodithi <[email protected]>

* Version increment automation

Signed-off-by: pgodithi <[email protected]>

* Version increment automation

Signed-off-by: pgodithi <[email protected]>

* Version increment automation

Signed-off-by: pgodithi <[email protected]>

* Version increment automation

Signed-off-by: pgodithi <[email protected]>

* vulnerabilitiesfix

Signed-off-by: pgodithi <[email protected]>

* vulnerabilitiesfix

Signed-off-by: pgodithi <[email protected]>

* CVE fix

Signed-off-by: pgodithi <[email protected]>

* CVE's: CVE-2021-30129 sshd-core-2.5.1.jar fix

Signed-off-by: pgodithi <[email protected]>

* CVE's: CVE-2021-30129 sshd-core-2.5.1.jar fix

Signed-off-by: pgodithi <[email protected]>

* CVE fix

Signed-off-by: pgodithi <[email protected]>

* CVE fix

Signed-off-by: pgodithi <[email protected]>

Co-authored-by: Sayali Gaikawad <[email protected]>

Modify 2.1.0 release notes for OpenSearch component (opensearch-project#2313)

Signed-off-by: Sayali Gaikawad <[email protected]>

Update Gradle Wrapper to 7.4.2 (opensearch-project#2289)

* Update Gradle Wrapper to 7.4.2

Signed-off-by: Daniel Widdis <[email protected]>

* Update Jenkins scan to new Gradle version

Signed-off-by: Daniel Widdis <[email protected]>

version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation: added ci tests

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Version increment automation

Signed-off-by: pgodithi <[email protected]>

Add handling of push events on gradle check (opensearch-project#2315)

Signed-off-by: Peter Zhu <[email protected]>

Change refs to tags and remove cron for 2.0.2 builds (opensearch-project#2316)

* Change refs to tags and remove cron for 2.0.2 builds

Signed-off-by: Sayali Gaikawad <[email protected]>

Add OpenSearch release notes link (opensearch-project#2318)

Signed-off-by: Sayali Gaikawad <[email protected]>

Add components to 1.3.4 manifest (opensearch-project#2319)

* Add components to 1.3.4 manifest

Signed-off-by: Zelin Hao <[email protected]>

* Remove atomicwrites from pipfile

Signed-off-by: Zelin Hao <[email protected]>

* Adding back the atomicwrites

Signed-off-by: Zelin Hao <[email protected]>

Move data prepper jenkins env vars to credentials (opensearch-project#2320)

* Move data prepper jenkins env vars to credentials

Signed-off-by: Sayali Gaikawad <[email protected]>

Update the JDK version for manifest checks on 3.0.0 (opensearch-project#2301)

* Exclude manifest checks for 3.0.0 for now

Signed-off-by: Zelin Hao <[email protected]>

* Add conditional checks for jdk14 and jdk17

Signed-off-by: Zelin Hao <[email protected]>

* Change jdk version

Signed-off-by: Zelin Hao <[email protected]>

Update release issue template (opensearch-project#2317)

* Update release issue template

Signed-off-by: Sayali Gaikawad <[email protected]>

Rename webhooks for notifications (opensearch-project#2322)

Signed-off-by: Sayali Gaikawad <[email protected]>

Add check for test manifest and update error message (opensearch-project#2321)

* Add check for test manifest and update error message

Signed-off-by: Sayali Gaikawad <[email protected]>

Fixing junit task (opensearch-project#2328)

Signed-off-by: Andriy Redko <[email protected]>

Add test manifest to check build job (opensearch-project#2273)

Signed-off-by: Sayali Gaikawad <[email protected]>

Set concurrent build limit for gradle check (opensearch-project#2274)

Signed-off-by: Peter Zhu <[email protected]>

Add test coverage xml and support 1.x gradle check (opensearch-project#2279)

* Add test coverage xml and support 1.x gradle check

Signed-off-by: Peter Zhu <[email protected]>

* Remove comments

Signed-off-by: Peter Zhu <[email protected]>

# This is the commit message opensearch-project#2:

Add java args to 2.2.0 manifest (opensearch-project#2281)

Signed-off-by: Sayali Gaikawad <[email protected]>
# This is the commit message opensearch-project#3:

Update downloadFromS3 lib env vars with credentials (opensearch-project#2278)

Signed-off-by: Sayali Gaikawad <[email protected]>
# This is the commit message opensearch-project#4:

Update buildUploadManifestSHA lib env vars with credentials (opensearch-project#2277)

Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya authored and prudhvigodithi committed Jul 22, 2022
1 parent 3d7637a commit 911a3a0
Show file tree
Hide file tree
Showing 103 changed files with 3,060 additions and 1,375 deletions.
5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/release_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ __REPLACE with OpenSearch wide initiatives to improve quality and consistency.__
### Release testing - _Ends __REPLACE_RELEASE-minus-6-days___

- [ ] Declare a release candidate build, and provide the instructions with the release candidates for teams on testing (__REPLACE_RELEASE-minus-8-days__).
- [ ] Stop builds for this version of OpenSearch and/or OpenSearch Dashboards in order to avoid accidental commits going in unknowingly. Restart only if necessary else manually run the build workflow and declare new release candidate.
- [ ] Sanity Testing (__REPLACE_RELEASE-minus-8-days__ - __REPLACE_RELEASE-minus-6-days__): Sanity testing and fixing of critical issues found by teams. Teams test their components within the distribution, ensuring integration, backwards compatibility, and perf tests pass.
- [ ] Publish all test results in the comments of this issue.

Expand All @@ -81,19 +82,19 @@ __REPLACE with OpenSearch wide initiatives to improve quality and consistency.__

- [ ] Create [release tags](https://github.com/opensearch-project/opensearch-build/blob/main/jenkins/release-tag/release-tag.jenkinsfile) for each component (Jenkins job name: release-tag-creation).
- [ ] Replace refs in [manifests/{{ env.VERSION }}](/opensearch-project/opensearch-build/tree/main/manifests/{{ env.VERSION }}) with tags and remove checks.
- [ ] If this is a major or minor version release, stop building previous patch version.
- [ ] Generate distribution release notes reviewed by PM team for opensearch-build repository.
- [ ] Increment version for Helm Charts [(sample PR)](https://github.com/opensearch-project/helm-charts/pull/246) for the `{{ env.VERSION }}` release.
- [ ] Increment version for Ansible Charts [(sample PR)](https://github.com/opensearch-project/ansible-playbook/pull/50) for the `{{ env.VERSION }}` release.
- [ ] Prepare [for next patch release](https://github.com/opensearch-project/opensearch-plugins/blob/main/META.md#increment-a-version-in-every-plugin) by incrementing patch versions for each component.
- [ ] Lower the [frequency of builds](https://github.com/opensearch-project/opensearch-build/pull/1475) for this version of OpenSearch and/or OpenSearch Dashboards.
- [ ] Update [this template](https://github.com/opensearch-project/opensearch-build/blob/main/.github/ISSUE_TEMPLATE/release_template.md) with any new or missed steps.
- [ ] Create an issue for a retrospective, solicit feedback, and publish a summary.

### Components

__Replace with links to all component tracking issues.__

| Component | On track | Notes |
| Component | On track | Release Notes |
| --------- | -------- | ----- |
| {COMPONENT_ISSUE_LINK} | {INDICATOR}} | {STATUS} |

Expand Down
46 changes: 40 additions & 6 deletions .github/workflows/manifests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,59 @@ on:
- cron: 0 0 * * *

jobs:
list-manifests11:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- id: set-matrix
run: echo "::set-output name=matrix::$(ls manifests/**/opensearch*.yml | awk -F/ '{if($2<2)print$0}' | jq -R -s -c 'split("\n")[:-1]')"

list-manifests:
list-manifests17:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- id: set-matrix
run: echo "::set-output name=matrix::$(ls manifests/**/opensearch*.yml | jq -R -s -c 'split("\n")[:-1]')"
run: echo "::set-output name=matrix::$(ls manifests/**/opensearch*.yml | awk -F/ '{if($2>2)print$0}' | jq -R -s -c 'split("\n")[:-1]')"

manifest-checks-jdk11:
needs: list-manifests11
runs-on: ubuntu-latest
env:
PYTHON_VERSION: 3.7
JDK_VERSION: 11
strategy:
matrix:
manifest: ${{ fromJson(needs.list-manifests11.outputs.matrix) }}
steps:
- uses: actions/checkout@v2
- name: Set Up JDK ${{ env.JDK_VERSION }}
uses: actions/setup-java@v1
with:
java-version: ${{ env.JDK_VERSION }}
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Pipenv and Dependencies
run: |
python -m pip install --upgrade pipenv wheel
- name: OpenSearch Manifests
run: |-
./ci.sh ${{ matrix.manifest }} --snapshot
check:
needs: list-manifests
manifest-checks-jdk17:
needs: list-manifests17
runs-on: ubuntu-latest
env:
PYTHON_VERSION: 3.7
JDK_VERSION: 14
JDK_VERSION: 17
strategy:
matrix:
manifest: ${{ fromJson(needs.list-manifests.outputs.matrix) }}
manifest: ${{ fromJson(needs.list-manifests17.outputs.matrix) }}
steps:
- uses: actions/checkout@v2
- name: Set Up JDK ${{ env.JDK_VERSION }}
Expand Down
77 changes: 77 additions & 0 deletions .github/workflows/versionincrement.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
name: Version Increment
on:
workflow_dispatch:
inputs:
logLevel:
description: Log level
required: true
default: warning
type: choice
options:
- info
- warning
- debug

jobs:
plugin-version-increment-sync:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
repo: [common-utils, job-scheduler, ml-commons, performance-analyzer, performance-analyzer-rca, security, alerting, index-management, sql, observability, asynchronous-search, k-NN, anomaly-detection, cross-cluster-replication, dashboards-reports, geospatial]
branch: [{opensearch_branch: 2.x, plugin_branch: 2.x}, {opensearch_branch: 2.1, plugin_branch: 2.1}, {opensearch_branch: 2.2, plugin_branch: 2.2}, {opensearch_branch: main, plugin_branch: main}]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Check out OpenSearch repo
uses: actions/checkout@v3
with:
repository: opensearch-project/OpenSearch
ref: ${{ matrix.branch.opensearch_branch }}
- name: Fetch OpenSearch version
run: |
OPENSEARCH_VERSION=$(cat buildSrc/version.properties | grep opensearch | cut -d= -f2 | grep -oE '[0-9.]+')
OPENSEARCH_VERSION=$OPENSEARCH_VERSION-SNAPSHOT
echo "OPENSEARCH_VERSION=$OPENSEARCH_VERSION" >> $GITHUB_ENV
echo "OPENSEARCH_VERSION_NUMBER=$OPENSEARCH_VERSION" | cut -f1 -d"-" >> $GITHUB_ENV
- name: Check out plugin repo
uses: actions/checkout@v3
with:
repository: opensearch-project/${{ matrix.repo }}
ref: ${{ matrix.branch.plugin_branch }}
- name: Version Increment plugin repo
# If condition for plugins with Gradle Project in subfolders.
run: |
echo "OpenSearch Core repo version on branch ${{ matrix.branch.opensearch_branch }} is ${{ env.OPENSEARCH_VERSION_NUMBER }}"
if [ ${{ matrix.repo }} == "dashboards-reports" ]; then
cd reports-scheduler
./gradlew versionIncrement -DnewVersion=${{ env.OPENSEARCH_VERSION }}
elif [ ${{ matrix.repo }} == "observability" ]; then
cd opensearch-observability
./gradlew versionIncrement -DnewVersion=${{ env.OPENSEARCH_VERSION }}
elif [ ${{ matrix.repo }} == "notifications" ]; then
cd notifications
./gradlew versionIncrement -DnewVersion=${{ env.OPENSEARCH_VERSION }}
else
./gradlew versionIncrement -DnewVersion=${{ env.OPENSEARCH_VERSION }}
fi
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.CIBOTAUTOPR }}
author: opensearch-ci-bot <[email protected]>
commit-message: |
Version Increment.
Signed-off-by: opensearch-ci-bot <[email protected]>
delete-branch: true
branch: create-pull-request/${{ env.OPENSEARCH_VERSION }}
title: '[AUTO] Version Increment to ${{ env.OPENSEARCH_VERSION }}'
body: |
- Version Increment for **${{ matrix.repo }}** plugin to **${{ env.OPENSEARCH_VERSION }}**.
- name: Check outputs
run: |-
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
Loading

0 comments on commit 911a3a0

Please sign in to comment.