-
Notifications
You must be signed in to change notification settings - Fork 285
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
Merge feature/non-cdn-update to master #5914
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…erge-master-to-non-cdn-update Merge master to feature/non-cdn-update
…erge-master-to-non-cdn-update Merge master to feature/non-cdn-update
Add a field "origin" in "repository" to indicate the origin of the repository. It's an enum type with 2 values: "remote" and "bundle". Signed-off-by: Bengang Yuan <bengang.yuan@cloud.com>
Signed-off-by: Bengang Yuan <bengang.yuan@cloud.com>
…P-49212 CP-49212: Update datamodel for non-CDN update
Add a module Tar_ext to unpack a tar file. During the unpacking process, verify the tar file, containing total file size, file type, file path, file integrity, etc. Signed-off-by: Bengang Yuan <bengang.yuan@cloud.com>
Signed-off-by: Bengang Yuan <bengang.yuan@cloud.com>
…P-49213 CP-49213: Add new tar unpacking module
…erge-master-to-non-cdn-update Merge `master` to `feature/non-cdn-update`
Upload a bundle file and unpack it with module Tar_ext. After that, sync the bundle repository. Signed-off-by: Bengang Yuan <bengang.yuan@cloud.com>
Add an allowed_operations for sync bundle. Signed-off-by: Bengang Yuan <bengang.yuan@cloud.com>
Signed-off-by: Bengang Yuan <bengang.yuan@cloud.com>
1. Replace all `Client.Pool.get_all` and `Client.Pool.get_master` with self-defined function `cli_util.get_pool` and `cli_util.get_master` so that we can reduce the use of `List.hd`. 2. Remove some unused getting pool_master code in function `host_careful_op`. Signed-off-by: Bengang Yuan <bengang.yuan@cloud.com>
…P-49214 CP 49214: Upload and reposync from the bundle
1. Change the max total bundle files size limit to 1G. 2. Change HTTP error code for the following error to 400: 1) bundle_repo_not_enabled. 2) no_repository_enabled. 3) multiple_update_repositories_enabled. Signed-off-by: Bengang Yuan <bengang.yuan@cloud.com>
Add a new API error for bundle syncing failure: Syncing with bundle repository failed. Signed-off-by: Bengang Yuan <bengang.yuan@cloud.com>
…on-cdn-bug-fix Non-CDN updates bug fix
Signed-off-by: Bengang Yuan <118869129+BengangY@users.noreply.github.com>
BengangY
changed the title
Merger feature/nob-cdn-update to master
Merger feature/nob-cdn-update to master (Not ready)
Aug 6, 2024
BengangY
changed the title
Merger feature/nob-cdn-update to master (Not ready)
Merge feature/non-cdn-update to master (Not ready)
Aug 6, 2024
BengangY
changed the title
Merge feature/non-cdn-update to master (Not ready)
Merge feature/non-cdn-update to master
Aug 12, 2024
I think we need the auto-generated changes in |
Update the auto-generated changes in `datamodel_lifecycle.ml` before the code is merged into master. Signed-off-by: Bengang Yuan <bengang.yuan@cloud.com>
Update `scheme` to `https` in `Cli_operations.pool_sync_bundle` as `http` can't be used in newcli and will be executed on slave. Signed-off-by: Bengang Yuan <bengang.yuan@cloud.com>
Will update it on another PR #5927. |
…P-49217 CP-49217: Update datamodel_lifecycle
Bump `schema_minor_vsn` as this feature adds a new field repository.origin. Signed-off-by: Bengang Yuan <bengang.yuan@cloud.com>
minglumlu
approved these changes
Aug 14, 2024
lindig
reviewed
Aug 19, 2024
lindig
approved these changes
Aug 19, 2024
gangj
reviewed
Aug 19, 2024
BengangY
force-pushed
the
feature/non-cdn-update
branch
from
August 19, 2024 11:46
da802cb
to
8c5c0f3
Compare
1. Refine test_tar_ext for integer format and add some comments to describe the relationship of the 'max_size_limit' between UT and 'gen_tar_ext_test_file.sh'. 2. Add copyright in 'gen_tar_ext_test_file.sh'. Signed-off-by: Bengang Yuan <bengang.yuan@cloud.com>
BengangY
force-pushed
the
feature/non-cdn-update
branch
from
August 19, 2024 12:00
8c5c0f3
to
d8ff15b
Compare
gangj
approved these changes
Aug 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Merge
feature/non-cdn-update
tomaster
.Resolved conflicts:
ocaml/tests/dune
quality-gate.sh