-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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 staging
registry for SNAPSHOT builds
#90131
Comments
Pinging @elastic/fleet (Team:Fleet) |
Pinging @elastic/fleet (Feature:Fleet) |
@EricDavisX Would be great to get your feedback on the above if this would be helpful. |
This is excellent, and I had the same idea myself last night! I see no real risk here, as the logic is still quite simple. This fits in well with what our desired process is and allows better (#CloudFirst) testing across the needed releases, excellent indeed! |
@ruflin This looks like a good idea to reduce some of the concerns with what version is out or not. I am not sure there is a way to detect if you are in master other than for checking for 8.0.0 but @jen-huang might know more :) |
The build contains the branch and this check already exists today. So only change needed is for staging. |
What @ruflin says, we have So the information is there, and can be used when deciding which registry to use. |
Does Kibana CI build the Kibana Docker container that we could reference / use? |
@ruflin |
As I see the risk, the test goal is to build Kibana with -SNAPSHOT in the version. So from SKH's note, if we remove |
The staging registry is used in Kibana builds which are not built of the master branch or release version. This means, any build ending with `-SNAPSHOT` not the master branch will use the staging registry. Closes #90131 Co-authored-by: Jen Huang <its.jenetic@gmail.com>
The staging registry is used in Kibana builds which are not built of the master branch or release version. This means, any build ending with `-SNAPSHOT` not the master branch will use the staging registry. Closes elastic#90131 Co-authored-by: Jen Huang <its.jenetic@gmail.com>
The staging registry is used in Kibana builds which are not built of the master branch or release version. This means, any build ending with `-SNAPSHOT` not the master branch will use the staging registry. Closes #90131 Co-authored-by: Jen Huang <its.jenetic@gmail.com> Co-authored-by: Nicolas Ruflin <spam@ruflin.com> Co-authored-by: Jen Huang <its.jenetic@gmail.com>
@skh can you backport to 7.11.1+ as well? This will help testing during the next cycle of Integrations (which need to work on 7.11.x). the setup work (time) and complexity is proving a real blocker for us to test them, even though it seems like we have it sorted out now. the backport would save us significant time and give much confidence in the test effort. |
The staging registry is used in Kibana builds which are not built of the master branch or release version. This means, any build ending with `-SNAPSHOT` not the master branch will use the staging registry. Closes elastic#90131 Co-authored-by: Jen Huang <its.jenetic@gmail.com> # Conflicts: # x-pack/plugins/fleet/server/services/epm/registry/registry_url.ts
@EricDavisX backport to 7.11 is here: #91088 |
@EricDavisX It looks like 7.11.1 is already final, so this backport will probably land in 7.11.2. |
The staging registry is used in Kibana builds which are not built of the master branch or release version. This means, any build ending with `-SNAPSHOT` not the master branch will use the staging registry. Closes #90131 Co-authored-by: Jen Huang <its.jenetic@gmail.com> # Conflicts: # x-pack/plugins/fleet/server/services/epm/registry/registry_url.ts Co-authored-by: Nicolas Ruflin <spam@ruflin.com>
they incremented the Kibana commit in 7.11.1 so, I guess it got picked up. it is all good |
Today in Fleet for builds off the
master
branch, the snapshot registry is used, for all other environments the production registry:kibana/x-pack/plugins/fleet/server/services/epm/registry/registry_url.ts
Line 20 in d8f7997
The proposal here is to use the
staging
registry for all-SNAPSHOT
builds. The logic would then be something like:This would allow to test the staging branch with
elastic-package
and on Cloud by selecting a-SNAPSHOT
build. For example to test staging for7.11.0
, the container7.11.0-SNAPSHOT
would be used, to test against production,7.11.0
.The text was updated successfully, but these errors were encountered: