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

[dev-v2.8] Update scripts/pull-scripts to use new release scheme #4046

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
387 commits
Select commit Hold shift + click to select a range
184e08c
Merge pull request #2783 from highlander-ci-bot/create-pull-request/p…
Danil-Grigorev Aug 1, 2023
8faf57d
Update regsync Github action to commit the regsync file
rohitsakala Aug 1, 2023
b314509
Merge pull request #2823 from rohitsakala/dev-v2.7
rohitsakala Aug 1, 2023
2cd63e3
Bump rancher-webhook to v0.3.6-rc4
JonCrowther Aug 3, 2023
7f88ed2
make charts
JonCrowther Aug 3, 2023
01ba004
make remove rancher-webhook v0.3.6-rc3
JonCrowther Aug 3, 2023
dc2663f
Merge pull request #2824 from JonCrowther/webhook-0.3.6-rc4
JonCrowther Aug 3, 2023
6ca0c8b
make prepare/make patch
rohitsakala Aug 4, 2023
55af894
make charts
rohitsakala Aug 4, 2023
5753d54
Update release.yaml
rohitsakala Aug 4, 2023
12a88f2
Merge pull request #2828 from rohitsakala/dev-v2.7
rohitsakala Aug 4, 2023
cb1188b
Update AKS operator to v1.1.3-rc1
mjura Aug 7, 2023
a2cccd5
Make charts
mjura Aug 7, 2023
d553bdf
Updating to Fleet v0.8.0-rc.7
Aug 8, 2023
9c33399
Autogenerated changes for Fleet v0.8.0-rc.7
Aug 8, 2023
fce1e29
Merge pull request #2831 from rancherbot/create-pull-request/patch-16…
thardeck Aug 8, 2023
1fc2484
Merge pull request #2830 from mjura/aks-operator-v1.1.3-rc1
mjura Aug 8, 2023
09d691e
bump security-scan version
rayandas Aug 7, 2023
a983ace
make charts
rayandas Aug 9, 2023
c3ba740
Updating to Fleet v0.8.0-rc.8
Aug 10, 2023
02c6467
Autogenerated changes for Fleet v0.8.0-rc.8
Aug 10, 2023
3f428de
Merge pull request #2837 from rancherbot/create-pull-request/patch-16…
thardeck Aug 10, 2023
316b494
Merge pull request #2834 from rayandas/gke-120
rayandas Aug 10, 2023
3267fcf
creating istio 1.18 folder
diogoasouza Aug 4, 2023
e56c877
adding kiali 1.67
diogoasouza Aug 4, 2023
db71d1d
add jaeger 1.47
diogoasouza Aug 4, 2023
2806922
make charts
JonCrowther Aug 15, 2023
e17d626
Merge pull request #2871 from JonCrowther/update-security-scan-image
JonCrowther Aug 15, 2023
cc6bfa8
make charts
diogoasouza Aug 4, 2023
897abd2
Updating to Fleet v0.7.1
Aug 16, 2023
b573e13
Autogenerated changes for Fleet v0.7.1
Aug 16, 2023
bccae96
Updating to Fleet v0.7.1
Aug 16, 2023
4c17b94
Autogenerated changes for Fleet v0.7.1
Aug 16, 2023
3c6ac5c
Merge remote-tracking branch 'upstream/release-v2.7' into dev-v2.7
lucasmlp Aug 16, 2023
dc2c0b8
Removing released fleet charts v0.7.1
lucasmlp Aug 16, 2023
b1be2b2
Merge pull request #2876 from lucasmlp/dev-v2.7
rohitsakala Aug 16, 2023
13b3063
Merge pull request #2827 from diogoasouza/adding-istio-1.18.2
rohitsakala Aug 16, 2023
d782abd
Remove Fleet v0.7.1-rc.1
thardeck Aug 17, 2023
1c442bf
Remove Fleet 0.7.1 from release.yaml
thardeck Aug 17, 2023
4995cd1
Merge pull request #2880 from rancher/remove_fleet_0.7.1-rc.1
thardeck Aug 17, 2023
4c74931
Adding image check to pull request workflow and bumping scripts version
lucasmlp Aug 17, 2023
a27d041
Updating to Fleet v0.8.0-rc.9
Aug 21, 2023
246662b
Autogenerated changes for Fleet v0.8.0-rc.9
Aug 21, 2023
f5d2346
Merge pull request #2887 from rancherbot/create-pull-request/patch-16…
thardeck Aug 21, 2023
70ac485
Add k8s v1.27 support to gke-operator
mjura Aug 21, 2023
62290be
make charts
mjura Aug 21, 2023
b846d71
Add k8s v1.27 support to eks-operator
mjura Aug 21, 2023
69d94a7
make charts
mjura Aug 21, 2023
bdc51fb
Bumping charts build scripts version to v0.4.8
lucasmlp Aug 21, 2023
ea8dd3f
Run check images in all PRs and fails if it doesn't succeed
lucasmlp Aug 21, 2023
a8b4fdc
Add k8s v1.27 support to aks-operator
furkatgofurov7 Aug 22, 2023
58c5e00
Make charts
furkatgofurov7 Aug 22, 2023
886fac9
Merge pull request #2897 from furkatgofurov7/bump-k8s-aks-operator-v2-7
rohitsakala Aug 23, 2023
ebd87fb
Merge pull request #2886 from mjura/gke-k8s-1.27-2.7
mjura Aug 23, 2023
b240886
Merge pull request #2889 from mjura/eks-k8s-1.27-2.7
mjura Aug 23, 2023
3e3305f
Add NeuVector chart version 2.6.2
selvamt70 Aug 25, 2023
b0b7d2e
make chart
selvamt70 Aug 25, 2023
0664794
Update release.yaml
selvamt70 Aug 25, 2023
3267345
Add NeuVector Monitor chart version 2.6.2
selvamt70 Aug 25, 2023
291d23f
make chart
selvamt70 Aug 25, 2023
fd7acdf
Update release.yaml
selvamt70 Aug 25, 2023
aeb55c0
Merge pull request #2909 from selvamt94/nv-monitor-dev-v2.7
rohitsakala Aug 26, 2023
9d389a5
Merge branch 'dev-v2.7' into neuvector-dev-v2.7
rohitsakala Aug 26, 2023
6613be4
Merge pull request #2908 from selvamt94/neuvector-dev-v2.7
rohitsakala Aug 26, 2023
611d342
Updating to AKS Operator v1.1.3-rc2
highlander-ci-bot Aug 28, 2023
15ec066
Autogenerated changes for AKS Operator v1.1.3-rc2
highlander-ci-bot Aug 28, 2023
7dcb30a
Merge pull request #2883 from lucasmlp/dev-v2.7
rohitsakala Aug 28, 2023
0ad1a01
Merge pull request #2911 from highlander-ci-bot/create-pull-request/p…
mjura Aug 29, 2023
ace8f39
Updating regsync version to v0.5.1
lucasmlp Aug 31, 2023
d9dd868
Updating to EKS Operator v1.2.2-rc5
highlander-ci-bot Sep 1, 2023
79ab4a3
Autogenerated changes for EKS Operator v1.2.2-rc5
highlander-ci-bot Sep 1, 2023
ca532c7
make charts
JonCrowther Sep 1, 2023
43ffd53
Bump rancher-webhook to v0.3.6-rc5
maxsokolovsky Sep 1, 2023
fd3009e
Make charts
maxsokolovsky Sep 1, 2023
7d34824
Remove rancher-webhook to v0.3.6-rc4
maxsokolovsky Sep 1, 2023
5b3b3df
Merge pull request #2932 from maxsokolovsky/bump-rancher-webhook-to-v…
maxsokolovsky Sep 1, 2023
66688ef
Merge pull request #2930 from JonCrowther/cis-benchmark-4.2.0-rc6
JonCrowther Sep 1, 2023
5a55e79
Add NeuVector chart version 2.6.2
selvamt70 Sep 1, 2023
806856c
make chart
selvamt70 Sep 1, 2023
40645ce
Merge pull request #2934 from selvamt94/neuvector-dev-v2.7
rohitsakala Sep 1, 2023
e25424f
Merge pull request #2929 from highlander-ci-bot/create-pull-request/p…
mjura Sep 4, 2023
266adeb
Updating to EKS Operator v1.2.2-rc6
highlander-ci-bot Sep 4, 2023
f5e5ed3
Autogenerated changes for EKS Operator v1.2.2-rc6
highlander-ci-bot Sep 4, 2023
5901658
Merge pull request #2935 from highlander-ci-bot/create-pull-request/p…
mjura Sep 5, 2023
3100132
Add NeuVector Monitor chart version 2.6.2
selvamt70 Aug 25, 2023
807975d
make chart
selvamt70 Aug 25, 2023
af18517
Update release.yaml
selvamt70 Aug 25, 2023
7285fde
Add NeuVector chart version 2.6.2
selvamt70 Aug 25, 2023
b826208
make chart
selvamt70 Aug 25, 2023
04f48ca
Update release.yaml
selvamt70 Aug 25, 2023
8b45e7a
Add NeuVector chart version 2.6.2
selvamt70 Sep 1, 2023
a7f339c
make chart
selvamt70 Sep 1, 2023
61a5d19
Removing fleet charts from release.yaml
lucasmlp Sep 5, 2023
f26d92a
Updating regsync version to v0.5.1
lucasmlp Aug 31, 2023
b616268
Bumping charts build scripts version to v0.4.8
lucasmlp Aug 21, 2023
b179256
Standardizing chart description
lucasmlp Aug 24, 2023
1d2cede
make zip
lucasmlp Aug 24, 2023
798015a
Adding modified charts to release.yaml
lucasmlp Aug 24, 2023
d2aed1e
Removing released charts from release.yaml
lucasmlp Sep 5, 2023
94eee8c
make zip
Jul 18, 2023
4de3557
Sync up dev 2.7 branch after OOB release of neuvector, neuvector-crd,…
lucasmlp Sep 6, 2023
f7d49c0
Merge pull request #2950 from lucasmlp/dev-v2.7-sync-up
rohitsakala Sep 6, 2023
ca15ce1
Bump rancher-webhook to v0.3.6
MbolotSuse Sep 7, 2023
ee42d31
make charts
MbolotSuse Sep 7, 2023
c66786d
remove rancher-webhook v0.3.6-rc5
MbolotSuse Sep 7, 2023
a43e4f5
Merge pull request #2958 from MbolotSuse/wh-0.3.6
MbolotSuse Sep 8, 2023
30f8b28
make remove rancher-backup/102.0.2+up3.1.2-rc1
eliyamlevy Sep 8, 2023
1df421a
update package and release yamls
eliyamlevy Sep 8, 2023
251fb6c
make charts
eliyamlevy Sep 8, 2023
5ee6899
Merge pull request #2959 from eliyamlevy/dev-v2.7
eliyamlevy Sep 8, 2023
a655aef
make charts
JonCrowther Sep 8, 2023
9d3c3a6
Merge pull request #2960 from JonCrowther/cis-benchmark-4.2.0-rc7
JonCrowther Sep 8, 2023
9dbcf3c
Updating to Fleet v0.8.0
Sep 11, 2023
df86311
Autogenerated changes for Fleet v0.8.0
Sep 11, 2023
6044496
Merge pull request #2964 from rancherbot/create-pull-request/patch-16…
thardeck Sep 11, 2023
81cbcc1
checking release yaml identation
diogoasouza Sep 7, 2023
d1594af
removing unecessary step
diogoasouza Sep 11, 2023
d600555
Merge pull request #2966 from diogoasouza/dev-v2.7
rohitsakala Sep 11, 2023
cf5323c
Remove obsolete Fleet 0.7.0 from release.yaml
thardeck Sep 12, 2023
687ba3b
Merge pull request #2968 from rancher/remove_fleet_0.7.0_from_release…
thardeck Sep 12, 2023
e1f94a6
restore old epinio charts and assets.
andreas-kupries Sep 12, 2023
6c15ecc
restore index entries of old epinio charts
andreas-kupries Sep 12, 2023
aa465fe
Updating to Operator v1.1.6
highlander-ci-bot Sep 12, 2023
b5464f8
Autogenerated changes for Operator v1.1.6
highlander-ci-bot Sep 12, 2023
8a77de8
Updating to Operator v1.2.2
highlander-ci-bot Sep 12, 2023
663d2f8
Autogenerated changes for Operator v1.2.2
highlander-ci-bot Sep 12, 2023
63607be
Updating to Operator v1.1.3
highlander-ci-bot Sep 12, 2023
022743c
Autogenerated changes for Operator v1.1.3
highlander-ci-bot Sep 12, 2023
68aff7c
bump security-scan, kubectl and chart version
rayandas Sep 12, 2023
5245ea8
make charts
rayandas Sep 12, 2023
098c7a4
Merge pull request #2975 from rayandas/cis-bump
andypitcher Sep 12, 2023
5ca21b4
make charts
JonCrowther Sep 12, 2023
e7f4e8d
Adding check RC step to pull request wworkflow running on release bra…
lucasmlp Aug 31, 2023
51c76f9
Adding validation steps to pull request template
lucasmlp Aug 31, 2023
5431d24
Bumping scripts version to v0.5.0
lucasmlp Sep 12, 2023
27ccb76
Merge pull request #2918 from lucasmlp/dev-v2.7
rohitsakala Sep 12, 2023
4c746bc
Merge pull request #2970 from epinio/revert-2804-chart-removal
olblak Sep 13, 2023
b94b391
Merge pull request #2973 from highlander-ci-bot/create-pull-request/p…
mbologna Sep 13, 2023
5ea8fcc
Merge pull request #2974 from highlander-ci-bot/create-pull-request/p…
mbologna Sep 13, 2023
3033109
Merge pull request #2972 from highlander-ci-bot/create-pull-request/p…
mbologna Sep 13, 2023
3cb943c
Remove already already released operators
mbologna Sep 13, 2023
c5ab5ae
Merge pull request #2979 from rancher/chore/delete-obsolete-operators
mbologna Sep 13, 2023
cca70fc
Merge pull request #2977 from JonCrowther/unrc-cis-benchmark
JonCrowther Sep 13, 2023
dec5855
Remove released versions from epinio release.yaml
rohitsakala Sep 13, 2023
8a48b3b
Add missing gke files
mjura Mar 3, 2023
bd6453f
make charts
rohitsakala Jun 3, 2023
647502c
Merge pull request #2984 from rohitsakala/dev-v2.7
rohitsakala Sep 13, 2023
5cbd174
Added script for spliting image list into smaller chunks.
Hypertrophik Sep 14, 2023
fe82418
Make remove rancher backups 102.0.2+up3.1.2-rc2
eliyamlevy Sep 18, 2023
7c97ebc
Updated package and release yamls
eliyamlevy Sep 18, 2023
4c76c95
Make charts
eliyamlevy Sep 18, 2023
be1abc9
Merge pull request #2991 from eliyamlevy/dev-v2.7
eliyamlevy Sep 19, 2023
d096583
Remove pushing part in github action since it is not working.
rohitsakala Sep 21, 2023
973bef3
Merge pull request #3006 from rohitsakala/remove_git_push
rohitsakala Sep 21, 2023
4973203
Shift location of ruby script
rohitsakala Sep 21, 2023
49cb6b8
Merge pull request #3007 from rohitsakala/dev-v2.7
rohitsakala Sep 21, 2023
f63f054
Merge pull request #3003 from rancher/dev-v2.7
rohitsakala Sep 21, 2023
7168325
Adding pull_request_target trigger to pull request workflow
lucasmlp Oct 16, 2023
088740f
Checking out the PR changes in the other jobs of the pull request wor…
lucasmlp Oct 17, 2023
b8a6a11
Bumping scripts version to v0.5.2
lucasmlp Oct 17, 2023
6b16154
Standardizing pull request workflow
lucasmlp Oct 10, 2023
e3b42ee
Moving regsync-split to root folder and changing split file prefix
lucasmlp Oct 10, 2023
3f5b08f
Modifying regsync workflow trigger to protect stored credentials
lucasmlp Oct 10, 2023
e5eb956
Fixing target branch conditional to Check RC step
lucasmlp Sep 21, 2023
fd5c004
Removing tasks check workflow and updating the require checklist work…
lucasmlp Sep 27, 2023
02f28fd
Fixing the comment
lucasmlp Sep 28, 2023
6a83e5b
Fixing comment format
lucasmlp Sep 28, 2023
7fca495
Adding item in bot comment
lucasmlp Sep 28, 2023
d0453fb
Fixing identation in the bot's comment
lucasmlp Sep 28, 2023
223ea8d
Adding workflow to check for positive reactions to the github-actions…
lucasmlp Sep 28, 2023
35bf784
Renaming require checklist workflow
lucasmlp Sep 29, 2023
3cb4793
Adding instructions in the github-action [bot] comment
lucasmlp Sep 29, 2023
befc472
Fixing github-action bot's comment formatting
lucasmlp Sep 29, 2023
66d1cf5
Removes requirement for the thumbs up reaction to be from the PR's au…
lucasmlp Oct 4, 2023
b458aa2
Removing requirement of the PR author's reaction from comment
lucasmlp Oct 4, 2023
ca594a7
Update validation-check.yaml
lucasmlp Oct 10, 2023
eca312d
Merge pull request #3143 from lucasmlp/release-v2.7
rohitsakala Oct 17, 2023
d4f876a
Add NeuVector Monitor chart version 2.6.4
selvamt70 Oct 12, 2023
ad94908
make chart
selvamt70 Oct 12, 2023
8ad611c
Update release.yaml
selvamt70 Oct 12, 2023
2ed1d42
Add NeuVector chart version 2.6.4
selvamt70 Oct 12, 2023
c22ebf5
make chart
selvamt70 Oct 12, 2023
a9270c5
Update release.yaml
selvamt70 Oct 12, 2023
f965c6a
make patch for neuvector-monitor 102.0.5-2.6.4
lucasmlp Oct 17, 2023
0fa3508
make charts for neuvector-monitor 102.0.5-2.6.4
lucasmlp Oct 17, 2023
94e9f28
make patch for neuvector 102.0.5-2.6.4
lucasmlp Oct 17, 2023
c05e0ff
make charts for neuvector 102.0.5-2.6.4
lucasmlp Oct 17, 2023
1e7ccfe
Updating resync.yaml
rancherbot Oct 17, 2023
997aec1
Emptying release.yaml after OOB release
lucasmlp Oct 18, 2023
33705bf
Merge pull request #3151 from lucasmlp/oob-neuvector-2-6-4
rohitsakala Oct 18, 2023
038c062
Changing regsync workflow trigger to pull_request
lucasmlp Oct 19, 2023
8f740e5
Merge pull request #3156 from lucasmlp/release-v2.7
rohitsakala Oct 19, 2023
8f5b4af
Adds working directory to path and changing find command to loop thro…
lucasmlp Oct 23, 2023
a352cf5
Lets CI grab the latest version of build scripts to use in regsync-co…
lucasmlp Oct 23, 2023
d42630d
Removing unecessary git branch command
lucasmlp Oct 23, 2023
5280367
Checking files generated by regsync command with tree
lucasmlp Oct 23, 2023
d7cefbf
Adding regsync.yaml generated with latest versiong of build scripts
lucasmlp Oct 23, 2023
d071ad9
Adds steps to regsync action to check if there are changes to regsync…
lucasmlp Oct 23, 2023
6f8aa38
Move hull tests to a separate job
rohitsakala Oct 24, 2023
11c3129
Move ruby script to scripts folder
rohitsakala Oct 24, 2023
4ad3b6f
Merge pull request #3185 from lucasmlp/release-v2.7
rohitsakala Oct 24, 2023
4219cbf
make prepare/patch: release longhorn v1.4.4 into Rancher 2.7
mantissahz Oct 30, 2023
2e4f080
make charts: release longhorn v1.4.4 into Rancher 2.7
mantissahz Oct 30, 2023
4337843
make prepare/patch
rohitsakala Oct 25, 2023
48d927f
make charts
rohitsakala Oct 25, 2023
bd3fac6
add version to release.yaml
rohitsakala Oct 25, 2023
f4262c7
Revert "Add Istio 1.18 with bug fix"
rohitsakala Oct 27, 2023
569def5
Revert "Revert "Add Istio 1.18 with bug fix""
rohitsakala Oct 27, 2023
2ac21d0
Updating resync.yaml
rancherbot Nov 2, 2023
7be1efd
Changes the pull request workflow trigger to pull_request
lucasmlp Nov 27, 2023
bfd219b
Merge pull request #3244 from lucasmlp/fix-actions-release-v2.7
rohitsakala Nov 28, 2023
2b6c13c
Emptying release.yaml before OOB release
lucasmlp Nov 30, 2023
a8551a8
Add NeuVector chart version 2.6.6
selvamt70 Nov 17, 2023
33ac98c
make chart
selvamt70 Nov 17, 2023
8abfeb6
Update release.yaml
selvamt70 Nov 17, 2023
0925139
Add NeuVector Monitor chart version 2.6.6
selvamt70 Nov 17, 2023
1829efd
make chart
selvamt70 Nov 17, 2023
ee7e1be
Update release.yaml
selvamt70 Nov 17, 2023
92af615
make prepare/patch
mantissahz Nov 23, 2023
462e153
make charts
mantissahz Nov 23, 2023
ac06dac
Updating to Fleet v0.8.1
Nov 27, 2023
1ea2c0a
Autogenerated changes for Fleet v0.8.1
Nov 27, 2023
6eaa10f
Updating resync.yaml
rancherbot Dec 4, 2023
b422131
Merge pull request #3250 from rancher/oob/nov-30-23
lucasmlp Dec 4, 2023
08898fb
[release-v2.7] OOB Charts release for NeuVector 2.7.1 (#3393)
lucasmlp Feb 5, 2024
f6d28bf
[release-v2.7] Restrict when to show the validation suggestion (#3485)
nicholasSUSE Feb 16, 2024
249db96
[release-v2.7] Batch Charts release for rancher-csp-adapter, neuvecto…
nicholasSUSE Feb 26, 2024
0fb5d8c
[release-v2.7] 2nd Batch Charts release for rancher-istio, ui-plugin-…
nicholasSUSE Feb 26, 2024
7355a2c
[release-v2.7] 3rd Batch Charts release for fleet, rancher-webhook, s…
nicholasSUSE Feb 27, 2024
8201d02
[release-v2.7] 6th batch rancher-backup separate dev-v2.7.11 (#3529)
nicholasSUSE Feb 27, 2024
5295beb
[release-v2.7] 5th Batch Charts Release for Rancher v2.7.11 (#3528)
lucasmlp Feb 28, 2024
c6d2826
[release-v2.7] 7th batch release for rancher-alerting-drivers from de…
nicholasSUSE Feb 28, 2024
03d6aa1
[release-v2.7] 8th Batch Charts Release for Rancher v2.7.11 (#3544)
lucasmlp Feb 29, 2024
b849ecb
[release-v2.7] adding paths filtering code to validation-check (#3499)
nicholasSUSE Mar 4, 2024
a67e8ea
[release-v2.7] OOB Chart Release for longhorn 102.3.2+up1.5.4 (#3611)
lucasmlp Mar 13, 2024
5bc9fc6
[release-v2.7] Updating regsync.yaml (#3625)
lucasmlp Mar 13, 2024
6dc220e
[release-v2.7] propagation for documentation-improvement from dev-v2.…
nicholasSUSE Mar 20, 2024
b013c54
[release-v2.7] Second chart batch release for Rancher v2.7.12 (#3704)
lucasmlp Mar 27, 2024
281a6ab
[release-v2.7] First chart batch release for Rancher v2.7.12 (#3703)
nicholasSUSE Mar 27, 2024
0d61091
[release-v2.7] OOB Chart Release for longhorn v1.6.1, neuvector v5.3.…
lucasmlp Apr 17, 2024
5732ef7
[release-v2.7] OOB Chart Release for longhorn v1.5.5 (#3847)
lucasmlp May 1, 2024
43724db
[release-v2.7] First batch release for Rancher v2.7.13 (#3871)
lucasmlp May 7, 2024
e36be3d
[release-v2.7] Second batch release for Rancher v2.7.13 (#3886)
lucasmlp May 8, 2024
9885767
[release-v2.7] Third batch release for Rancher v2.7.13 (#3889)
lucasmlp May 9, 2024
a4866fd
[release-v2.7] OOB Chart Release for rancher-gatekeeper 102.1.2+up3.1…
nicholasSUSE Jun 3, 2024
0e0101a
[release-v2.7] updating charts to use charts-build-scripts 0.8.1 (#4008)
nicholasSUSE Jun 3, 2024
e2a32de
[release-v2.7] downgrading build scripts for release - temporary (#4023)
nicholasSUSE Jun 5, 2024
013f38d
[release-v2.7] 1st batch releasing for 2.7.14 (#4022)
nicholasSUSE Jun 5, 2024
0fb3c4f
[release-v2.7] 2nd batch releasing for 2.7.14 (#4027)
nicholasSUSE Jun 6, 2024
626170a
Update scripts/pull-scripts to use new release scheme
adamkpickering Jun 10, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@

## Backporting considerations
<!-- Does this change need to be backported to other versions? If so, which versions should it be backported to? -->

## Validation steps
- [] Ensure any new images have `repository` and `tag` on the same level to ensure the rancher-images.txt is generated correctly for it for airgap scenarios.
66 changes: 59 additions & 7 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,74 @@ on:

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Checkout base branch
uses: actions/checkout@v4

- name: Checkout PR
run: gh pr checkout ${{ github.event.pull_request.number }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Checkout into branch
run: git checkout -b staging-pr-workflow

- name: Pull scripts
run: sudo make pull-scripts

- name: Pull in all relevant branches
run: git fetch origin release-v2.6
- name: Validate
- name: Check release.yaml
run: sudo make check-release-yaml

- name: Validate
run: sudo make validate

check-images:
name: Check Container Images
runs-on: ubuntu-latest
steps:
- name: Checkout base branch
uses: actions/checkout@v4

- name: Checkout PR
run: gh pr checkout ${{ github.event.pull_request.number }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check container images
run: make check-images
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

check-rc:
name: Check RC Images and Charts
runs-on: ubuntu-latest
steps:
- name: Checkout base branch
uses: actions/checkout@v4

- name: Checkout PR
run: gh pr checkout ${{ github.event.pull_request.number }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check RC images and charts
run: make check-rc
if: startsWith(github.ref, 'refs/heads/release-v')

hull-tests:
name: Run Hull tests
runs-on: ubuntu-latest
steps:
- name: Checkout base branch
uses: actions/checkout@v4

- name: Checkout PR
run: gh pr checkout ${{ github.event.pull_request.number }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run Hull tests
run: cd tests && go test -v ./...
run: cd tests && go test -v ./...
78 changes: 63 additions & 15 deletions .github/workflows/regsync-config.yaml
Original file line number Diff line number Diff line change
@@ -1,38 +1,86 @@
# Generate-Regsync-Config action will checkout release-v2.7 branch, run make regsync target and
# creates a pull request from rancherbot/charts or rancher/charts release-v2.7 branch with any image additions
# to regsync config file. This action is triggered whenever something is pushed into release-v2.7 branch.
# Generate-Regsync-Config action will run for every PR into release-v2.7 branch only after an approval is given
# It will run make target to generate regsync file and add a commit to the PR updating the regsync file.
# It will then install and run regsync client and do the prime image mirroring.

name: Generate-Regsync-Config

on:
pull_request_review:
types: [submitted, edited]
pull_request:
types:
- labeled

jobs:
onLabelAndApproval:
if: github.event.label.name == 'regsync-ready' && startsWith(github.event.pull_request.base.ref, 'release-v')
runs-on: ubuntu-latest
outputs:
is_approved: ${{ steps.check-approval.outputs.approved }}
steps:
- name: Check if PR is approved
id: check-approval
run: |
IS_APPROVED=$(gh api repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews --jq '[.[] | select(.state == "APPROVED")] | length')
if [[ "$IS_APPROVED" -gt 0 ]]; then
echo "::set-output name=approved::true"
else
echo "::set-output name=approved::false"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build:
if: github.event.review.state == 'approved' && github.event.pull_request.base.ref == 'release-v2.7'
needs: onLabelAndApproval
if: needs.onLabelAndApproval.outputs.is_approved == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.PUSH_TOKEN }}

- name: Set-up Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2' # Not needed with a .ruby-version file

# Need to remove export version once rancher/charts gets the latest version
# of charts-build-script binary.

- name: Generate Regsync Config
- name: Generate RegSync
run: |
export CHARTS_BUILD_SCRIPT_VERSION=v0.4.2
echo ${{ secrets.PUSH_TOKEN }} | gh auth login --with-token
gh pr checkout ${{ github.event.pull_request.number }}
git config --global user.email "${{ secrets.USER_GITHUB }}"
git config --global user.name "rancherbot"
make pull-scripts
make regsync


- name: Check for modifications in regsync.yaml
id: check_changes
run: |
git diff --quiet regsync.yaml || echo "::set-output name=changed::true"

- name: Commit files
if: steps.check_changes.outputs.changed == 'true'
run: |
git add regsync.yaml
git commit -m "Updating resync.yaml"
git push

- name: No changes in regsync.yaml
if: steps.check_changes.outputs.changed != 'true'
run: |
echo "regsync.yaml is the same"

- name: Install Regsync
run: |
curl --silent --fail --location --output regsync https://github.com/regclient/regclient/releases/download/v0.4.8/regsync-linux-amd64
curl --silent --fail --location --output regsync https://github.com/regclient/regclient/releases/download/v0.5.1/regsync-linux-amd64
chmod +x regsync

- name: Sync Images to Registry
run: |
export PATH=$PATH:$(pwd)
head regsync.yaml
time ./regsync once --config regsync.yaml
ruby ./scripts/regsync-split.rb
tree ./split-regsync
time find split-regsync -type f -name split-regsync.yaml -print -exec time regsync once --config '{}' ';'
env:
REGISTRY_ENDPOINT: ${{ secrets.REGISTRY_ENDPOINT }}
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
Expand Down
69 changes: 69 additions & 0 deletions .github/workflows/validation-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Validation Check

on:
pull_request_review:
types: [submitted]

jobs:
check-reaction:
name: Check for positive reaction on bot's latest validation comment
if: startsWith(github.event.pull_request.base.ref, 'dev-v') || startsWith(github.event.pull_request.base.ref, 'release-v')
runs-on: ubuntu-latest
steps:
- name: Check for modifications in specified folders
id: check-modifications
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
// Get the list of files modified in the PR
const files = await github.rest.pulls.listFiles({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number
});

// Check if any of the modified files are in the specified folders
const modifiedSpecifiedFolders = files.data.some(file => file.filename.startsWith('assets/') || file.filename.startsWith('charts/') || file.filename.startsWith('packages/'));

return modifiedSpecifiedFolders;

- name: Check for positive reaction on bot's latest validation comment
if: steps.check-modifications.outputs.result == 'true'
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
// Get comments on the PR
const comments = await github.rest.issues.listComments({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo
});

// Sort comments based on their creation datetime in descending order
const sortedComments = comments.data.sort((a, b) => new Date(b.created_at) - new Date(a.created_at));

// Find the latest validation comment by github-actions[bot]
const latestValidationComment = sortedComments.find(comment => comment.user.login === 'github-actions[bot]' && comment.body.startsWith("## Validation steps"));

if (latestValidationComment) {
const reactions = await github.rest.reactions.listForIssueComment({
comment_id: latestValidationComment.id,
owner: context.repo.owner,
repo: context.repo.repo
});

// Check if there's a thumbs-up reaction on the bot's validation comment
const thumbsUpReaction = reactions.data.some(reaction => reaction.content === '+1');

if (thumbsUpReaction) {
console.log("The validation comment by github-actions[bot] has the required thumbs-up reaction.");
} else {
const createdAt = new Date(latestValidationComment.created_at).toLocaleString('en-US', { timeZoneName: 'short' });
console.error("Failed Check - Comment Created At:", createdAt);
core.setFailed("The latest validation comment by github-actions[bot] does not have the required thumbs-up reaction!");
}
} else {
core.setFailed("No validation comments by github-actions[bot] found.");
}
39 changes: 39 additions & 0 deletions .github/workflows/validation-comment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Validation Comment

on:
pull_request_target:
branches:
- dev-v*
- release-v*
paths:
- 'assets/**'
- 'charts/**'
- 'packages/**'

jobs:
validation-comment:
name: Make validation comment on PR
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Make validation comment
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body:
`## Validation steps
- Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
<pre>
Ex:-
longhorn-controller:
repository: rancher/hardened-sriov-cni
tag: v2.6.3-build20230913
</pre>
- Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
- Approve the PR to run the CI check.`
})
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ remove:
forward-port:
./scripts/forward-port

TARGETS := prepare patch clean clean-cache charts list index unzip zip standardize validate template regsync
check-release-yaml:
./scripts/check-release-yaml

TARGETS := prepare patch clean clean-cache charts list index unzip zip standardize validate template regsync check-images check-rc

$(TARGETS):
@./scripts/pull-scripts
Expand Down
Loading