-
Notifications
You must be signed in to change notification settings - Fork 50
Remap ports to the non-conflicting range #844
Conversation
API Developer Docs Preview: Ready https://wordpress.github.io/openverse-api/_preview/844 Please note that GitHub pages takes a little time to deploy newly pushed code, if the links above don't work or you see old versions, wait 5 minutes and try again. You can check the GitHub pages deployment action list to see the current status of the deployments. |
Co-authored-by: sarayourfriend <[email protected]>
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.
LGTM! Tested fine locally. Only one of the suggestions I'm strong-ish on is mapping the Postgres and Redis ports. Otherwise this is great.
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.
LGTM!
@obulat could you please review the PR when you have some time? Thanks! |
@dhruvkb After Olga's review, be sure to merge this PR after the v2.5.10 is cut, please. This is looking like a non-trivial change. |
Good point @krysal. Should just hold off on merging this at all until the ES situation is resolved? We sort of agreed to not merge anything that wasn't directly related to it. We did merge some other PRs I guess though, but they were not modifying the API code... 🤔 |
We did agree to no merge anything unrelated to ES but my interpretation was to not touch the ES-related bits. I can definitely hold off on merging this but this only affects the dev setup, there is no change to the code itself. I'll wait for the v2.5.10 to be cut before merging and block it till then. |
Sure. Part of the issue is that we don't know what effects ES 🙂 At least that is one of the fundamental take-aways for myself over the last three months. This is probably fine, so yeah, blocking until we have the current release cut with the changes we explicitly want to make seems like a good compromise to me. I personally do want this PR in sooner than later because the problem is a thorn in my side. I appreciate you working on it! |
@obulat could you please review this? I am aiming to merge this since 2.5.10 has been cut and deployed to production. |
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 and works great!
name: Check for API consumer docs | ||
runs-on: ubuntu-latest | ||
needs: | ||
- build-images | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup just | ||
uses: extractions/setup-just@v1 | ||
|
||
- name: Download all images | ||
uses: actions/download-artifact@v2 | ||
with: | ||
path: /tmp | ||
|
||
- name: Load all images | ||
run: | | ||
docker load --input /tmp/api/api.tar | ||
docker load --input /tmp/ingestion_server/ingestion_server.tar |
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 don't know if this is possible with GHA, but it would be really cool to have this as a set of steps that we could just reference as a precursor to specific tasks! Since this does appear to be reused elsewhere in this file.
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.
It is possible using YAML anchors but actionlint
does not support them yet: rhysd/actionlint#133
It's also possible with composite actions as we use in the frontend repository.
Fixes
Addresses WordPress/openverse#200
Description
This PR
run.sh
entrypoint code and aligning it with thejustfile
_api-up
recipe in more placesTesting Instructions
Apart from this, a passing CI is pretty good proof of inter-process communication working normally.
Checklist
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin