Skip to content

Conversation

@mdesouky
Copy link
Contributor

@mdesouky mdesouky commented Jun 4, 2025

Changes:

  • Fix an issue on graviton instances where gitops doesn't start because of the following error exec /app/.venv/bin/uvicorn: exec format error

Fixed on dev-au-2

root@gitops-5767c8fc44-strbz:/app# uname -a
Linux gitops-5767c8fc44-strbz 6.12.25 #1 SMP Thu May 22 18:23:25 UTC 2025 aarch64 GNU/Linux
root@gitops-5767c8fc44-strbz:/app# uv --version
uv 0.4.0
root@gitops-5767c8fc44-strbz:/app#

@mdesouky mdesouky force-pushed the plt-1085/fix-gitops-on-graviton-instances branch from c8e2a57 to 9f9cf51 Compare June 4, 2025 04:04
@mdesouky mdesouky requested a review from uptickmetachu June 4, 2025 04:41
Copy link
Collaborator

@uptickmetachu uptickmetachu left a comment

Choose a reason for hiding this comment

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

I wonder if this is fixed simply by updating uv 🤔

@mdesouky
Copy link
Contributor Author

mdesouky commented Jun 4, 2025

I wonder if this is fixed simply by updating uv 🤔

nope @uptickmetachu just forcing docker to fetch the right uv image to copy from, with using FROM docker fetches the uv images that's appropriate for the build platform(github) which is amd64, instead I'm forcing it with FROM directive to fetch the right image for the target platform.

@mdesouky mdesouky merged commit 6b988a6 into develop Jun 4, 2025
2 checks passed
@mdesouky mdesouky deleted the plt-1085/fix-gitops-on-graviton-instances branch June 4, 2025 04:54
@uptickmetachu
Copy link
Collaborator

ah i see. so a problem with the --copy directive not following platform

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.

3 participants