Skip to content
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

chore: Build an x86 version of the apiv2 image to execute in aws batch. #347

Merged
merged 3 commits into from
Nov 8, 2024

Conversation

jgadling
Copy link
Contributor

@jgadling jgadling commented Nov 6, 2024

This updates our push-local-ingestor-build make target to build both an apiv2 image (for db ingestion) and an ingestion_tools image (for s3 ingestion and apiv1 db ingestion) and also updates the GitHub action that pushes our ingestion_tools docker image to build an apiv2 image as well.

It's important to note that we've taken on this extra step because we run db ingestion in an x86-only environment in AWS batch, while our apiv2 service runs on ARM. We're using python and libraries that generally aren't tied to CPU architecture, so I don't expect any major differences in behavior between the different images

.github/workflows/push-ingestor-build.yaml Outdated Show resolved Hide resolved
Comment on lines 64 to 65
context: ./apiv2
file: ./apiv2/Dockerfile
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a blocker: It looks like, the only difference between the ingestion job and this one are these two values. What are your thoughts on having a composite action that can be used by both these jobs?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated it to use a matrix build. check again?

Copy link
Contributor

@manasaV3 manasaV3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@jgadling jgadling merged commit 677e932 into main Nov 8, 2024
5 checks passed
@jgadling jgadling deleted the jgadling/x86-db-ingest branch November 8, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants