-
Notifications
You must be signed in to change notification settings - Fork 9
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
FR-14304 - Trigger Oauth pipeline after publish #1059
Conversation
fff6a97
to
76486b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing!
} | ||
|
||
if (!allPackagesIndexed) { | ||
timeout--; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can improve the timeout logic. I think we can define how many time to run it regardless of the timeout var
@@ -99,6 +99,34 @@ jobs: | |||
env: | |||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |||
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | |||
- name : Wait until NPM registry finished indexing the new version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be part of the consumer / run it in parallel with the next pipeline steps - it shouldn't be a blocker.. (unless it's very fast)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its a great idea, if we go with this direction I suggest we think together how to do it and provide it also in admin box, this is the same logic when we publish and then do something that is holding up until the version is live
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can u add a ticket? in the pipeline effort epic
This PR introduces a new workflow for triggering oauth service pipeline of opening a PR that updating frontegg, on our publish flow. (Oauth workflow - https://github.com/frontegg/oauth-service/actions/workflows/update-react-dependency.yaml)
This PR includes 4 files:
This PR will be pushed the same way to trigger dashboard service as well.