-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[fleet] Use snapshot registry in dev mode #141797
Conversation
const branch = appContextService.getKibanaBranch(); | ||
if (branch === 'main') { | ||
const isProduction = appContextService.getIsProductionMode(); | ||
if (!isProduction) { |
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.
should we have both !isProduction || branch === 'main'
, to get this working on cloud snapshot?
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.
just checked and looks like on 8.6 cloud snapshot we use the snapshot repository we probably want to keep that
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.
Updated to check for !isProduction || branch === 'main'
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.
+1 to this - I think we need the branch === 'main'
check here.
88b067d
to
ee3c83a
Compare
b7583bf
to
fb6e2ce
Compare
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @kpollich |
* [fleet] Use snapshot registry in dev mode * Update registry_url.ts * Update registry_url.ts * Fix jest test (cherry picked from commit e8ebc23)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
* [fleet] Use snapshot registry in dev mode * Update registry_url.ts * Update registry_url.ts * Fix jest test (cherry picked from commit e8ebc23) Co-authored-by: Søren Louv-Jansen <[email protected]>
Related to: #141462
Fixes the error
unable to install apm package 8.5.0. Received status code: 404 and message: [email protected] not found