Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Updated project update process to run as job in K8s. #8441

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

barankyle
Copy link
Member

@barankyle barankyle commented Aug 8, 2023

Summary

A summary of changes being made in this PR

References

closes #8428

Checklist

  • If this PR is still a WIP, convert to a draft
  • When this PR is ready, mark it as "Ready for review"
  • ensure all checks pass
  • Changes have been manually QA'd
  • Changes reviewed by at least 2 approved reviewer

QA Steps

List any additional steps required to QA the changes of this PR, as well as any supplemental images or videos.

@barankyle barankyle force-pushed the project-update-jobs branch 4 times, most recently from 5d88bd6 to 4070ad1 Compare August 9, 2023 23:14
@barankyle barankyle marked this pull request as ready for review August 9, 2023 23:14
@barankyle barankyle force-pushed the project-update-jobs branch 2 times, most recently from 8479c8f to 4c3acf8 Compare August 11, 2023 21:50

const userId = params!.user?.id || project.updateUserId

const githubIdentityProviderResult = (await app.service('identity-provider').find({
Copy link
Member

Choose a reason for hiding this comment

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

Since, there is an identity-provider PR up for review as well. So just to avoid missing this one out. You can use identityProviderPath here instead of string.

.github/workflows/test-deploy.yml Outdated Show resolved Hide resolved
@barankyle barankyle force-pushed the project-update-jobs branch 2 times, most recently from 4b4c247 to 4651b48 Compare August 22, 2023 01:10
@barankyle barankyle force-pushed the project-update-jobs branch 2 times, most recently from 5b1095c to 32fa8b8 Compare August 22, 2023 18:51
Updates of large projects could cause API servers to freeze for a
noticeable amount of time. Changed the process to start a job to
run that update when in a Kubernetes environment, and to wait for
that job to finish before returning.
@barankyle barankyle added this pull request to the merge queue Aug 22, 2023
Merged via the queue into dev with commit b6be24d Aug 22, 2023
8 checks passed
@barankyle barankyle deleted the project-update-jobs branch August 22, 2023 20:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Put github push onto a job
2 participants