Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

build cdc for multiarch #42

Merged
merged 1 commit into from
Aug 30, 2022
Merged

build cdc for multiarch #42

merged 1 commit into from
Aug 30, 2022

Conversation

asottile-sentry
Copy link
Member

@asottile-sentry asottile-sentry commented Aug 26, 2022

this will push an app image to ghcr, built for both amd64 and arm64 for use with the sentry dev tools

@asottile-sentry asottile-sentry force-pushed the asottile-multiarch branch 7 times, most recently from 289f07d to 5f3d8ce Compare August 26, 2022 19:24
@asottile-sentry asottile-sentry marked this pull request as ready for review August 26, 2022 19:36
@asottile-sentry asottile-sentry requested review from a team August 26, 2022 19:36
@@ -3,5 +3,5 @@ PyYAML==5.1
confluent-kafka==0.11.6
datadog==0.21.0
jsonschema==3.0.1
psycopg2-binary==2.7.7
psycopg2-binary==2.9.3
Copy link
Member

Choose a reason for hiding this comment

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

intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah the older version does not build on arm64

Copy link
Contributor

@fpacifici fpacifici left a comment

Choose a reason for hiding this comment

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

Are you trying to make our fork of wal2json multi arch as well ?
https://github.com/getsentry/wal2json

@@ -58,7 +58,13 @@ RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY requirements.txt /usr/src/app/
RUN pip install -r requirements.txt
RUN set -x \
&& deps='gcc librdkafka-dev libc-dev' \
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need this ?

Copy link
Member Author

Choose a reason for hiding this comment

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

confluent-kafka doesn't have a prebuilt on arm64 sadly

@asottile-sentry
Copy link
Member Author

Are you trying to make our fork of wal2json multi arch as well ? https://github.com/getsentry/wal2json

hmmm! wasn't aware of this but if I run into it I'll fix it too !

@asottile-sentry asottile-sentry merged commit bcf9181 into master Aug 30, 2022
@asottile-sentry asottile-sentry deleted the asottile-multiarch branch August 30, 2022 12:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants