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

Convert testJob.yaml to daily Cronjob & Exclude Validated Partners PR's from GH actions workflow runs #184

Merged
merged 6 commits into from
Dec 4, 2023

Conversation

mikemcd3912
Copy link
Contributor

@mikemcd3912 mikemcd3912 commented Nov 17, 2023

Issue #, if available:
Sample Tester manifest is Job, should be CronJob #142
GH Action Issue (Failing) for Validated Partners Auto PR. #182
GH Actions Issue with an existing Partner addon. #163

Description of changes:
Updated Sample tester job to daily Cronjob. Updated Cronjob file was deployed and tested to conform intended function prior to PR creation
Updated GH actions run files to exclude Validated Partner PR's (PR's including only changes to the Validated Partner folder) or updates to the .github folder from triggering the automation run
Updated GH Actions new PR file to fix subdirectory dependance between file processing. Workflow is re-ordered to move updated files over first and perform NS file check/PR configmap generation for each file's subdirectory

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mikemcd3912 mikemcd3912 linked an issue Nov 17, 2023 that may be closed by this pull request
Copy link
Contributor

@elamaran11 elamaran11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mikemcd3912 You should also update the test job in each of the deployment model (BM, vSphere, Snow, Localcluster, Nutanix) tester sample folders eg. https://github.com/aws-samples/eks-anywhere-addons/blob/main/eks-anywhere-baremetal/Testers/Sample/testJob.yaml

@mikemcd3912
Copy link
Contributor Author

@elamaran11 Test job in each of the deployment model tester sample folders are now updated

@mikemcd3912 mikemcd3912 changed the title Convert testJob.yaml to daily Cronjob Convert testJob.yaml to daily Cronjob & Exclude Validated Partners PR's from GH actions workflow runs Nov 21, 2023
@mikemcd3912 mikemcd3912 linked an issue Nov 21, 2023 that may be closed by this pull request
Copy link
Contributor

@elamaran11 elamaran11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mikemcd3912 Have a minor question, rest looks good. Make sure you test it

.github/workflows/new-pull-request.yaml Show resolved Hide resolved
.github/workflows/close-pull-request.yaml Show resolved Hide resolved
@mikemcd3912
Copy link
Contributor Author

Updated GH Actions new PR file to fix subdirectory dependance between file processing. Workflow is re-ordered to move updated files over first and perform NS file check/PR configmap generation for each file's subdirectory (Addressing issue #163)

@mikemcd3912 mikemcd3912 linked an issue Nov 29, 2023 that may be closed by this pull request
Copy link
Contributor

@elamaran11 elamaran11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Nice work Mike. Still we are missing PRs from partners with existing SWs. Im expecting a new PR for the same

@elamaran11
Copy link
Contributor

@mikemcd3912 Changes look good but why is the GH Action failing. Is this a boundary condition you are missing to handle.

@mikemcd3912
Copy link
Contributor Author

mikemcd3912 commented Dec 4, 2023

The Github Action is failing because we haven't merged the GH action fix changes in this PR and it's attempting to run based on the old action file - Under the new ignorePaths this PR wouldn't trigger a GH action run since we're just editing GH action files

@elamaran11
Copy link
Contributor

Sounds good, We can merge this but if further GH action fails we have to revert this PR.

@elamaran11 elamaran11 merged commit 1ce1d96 into aws-samples:main Dec 4, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants