-
Notifications
You must be signed in to change notification settings - Fork 4
Conversation
ee9d6a4
to
566ce2e
Compare
828d794
to
98012b7
Compare
@DonHaul you were right, this is wrong https://github.com/inspirehep/backoffice/blob/main/.github/workflows/integration-tests.yml#L24 we should use the opensearch image from dockerhub, could you please make a separate PR with the correct image? |
Sure. |
good question, for the following reasons:
hence I will recommend to align these images, we can use in both cases the one from the registry: |
Okay done, regarding the local.yml environment variables I don't know exactly what they should be so I modify them to be a mix between what they were before and the ones found in github actions |
@@ -21,7 +21,7 @@ jobs: | |||
runs-on: ubuntu-latest | |||
services: | |||
opensearch: | |||
image: registry.cern.ch/cern-sis/inspire/opensearch |
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.
@DonHaul we have to make a separate PR for this change and merge it first.
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.
Separate PR here:
https://github.com/inspirehep/backoffice/pull/39/files
backoffice/utils/pagination.py
Outdated
|
||
class StandardResultsSetPagination(PageNumberPagination): | ||
page_size = 10 | ||
page_size_query_param = "page_size" |
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 would leave it size
backoffice/utils/pagination.py
Outdated
|
||
class OSStandardResultsSetPagination(QueryFriendlyPageNumberPagination): | ||
page_size = 10 | ||
page_size_query_param = "page_size" |
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.
ditto
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.
Thanks, some minor changes
58ec905
to
16088eb
Compare
@DonHaul could you please rebase? |
16088eb
to
2606ffd
Compare
@DonHaul a test is failing |
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.
Looks good, let's try it.
No description provided.