Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Please distribute native arm64 images beside existing amd64 images

Aperta
#43 1 commento 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
docker, docker-compose

Direzione di ricerca

Inizia da docker-compose.yml e dal contesto di build dell’immagine codecov-gateway, quindi riproduci il problema su un’istanza arm64 di Orbstack o Colima usando i comandi dell’issue. Il lavoro è completato quando le immagini arm64 native vengono distribuite insieme alle immagini amd64 esistenti e la configurazione Compose viene eseguita correttamente senza ricostruire localmente l’immagine del gateway.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Context: most Docker daemons on MacOS behave OK, but there's some quirks such as the below if you try and run https://github.com/codecov/codecov-gateway under implementations like https://orbstack.dev/ (colima has the same issue - https://github.com/abiosoft/colima/issues/1015 ). Apparently the underlying issue was solved in Docker Desktop ( https://github.com/docker/for-mac/issues/6973 ) but isn't in all implementations, so having native arm64 images would workaround the issue 👍

gateway-1    | Codecov api started.
gateway-1    | Waiting for Codecov ia to start ...
gateway-1    | Codecov IA started.
gateway-1    | Codecov preflight complete.
gateway-1    | Codecov gateway ssl disabled
gateway-1    | Codecov gateway minio enabled
gateway-1    | Starting haproxy
gateway-1    | [NOTICE]   (68) : New worker (70) forked
gateway-1    | [NOTICE]   (68) : Loading success.
gateway-1    | rosetta error: Unable to open /proc/self/exe: 2
gateway-1    |  [NOTICE]   (68) : haproxy version is 2.9.9-ad75c48
gateway-1    | [ALERT]    (68) : Current worker (70) exited with code 133 (Trace/breakpoint trap)
gateway-1    | [WARNING]  (68) : A worker process unexpectedly died and this can only be explained by a bug in haproxy or its dependencies.
gateway-1    | Please check that you are running an up to date and maintained version of haproxy and open a bug report.
gateway-1    | [ALERT]    (68) : exit-on-failure: killing every processes with SIGTERM
gateway-1    | [WARNING]  (68) : All workers exited. Exiting... (133)
gateway-1    | HAProxy version 2.9.9-ad75c48 2024/06/14 - https://haproxy.org/
gateway-1    | Status: stable branch - will stop receiving fixes around Q1 2025.
gateway-1    | Known bugs: http://www.haproxy.org/bugs/bugs-2.9.9.html
gateway-1    | Running on: Linux 6.9.8-orbstack-00170-g7b4100b7ced4 #1 SMP Thu Jul 11 03:32:20 UTC 2024 x86_64

Steps to reproduce:

  • install Orbstack or colima (with docker-compose available)
  • git clone https://github.com/codecov/self-hosted.git && cd self-hosted && docker-compose up

To confirm it works on arm64:

  • git clone https://github.com/codecov/codecov-gateway.git && cd codecov-gateway
  • On an arm64 Orbstack or colima instance:
> docker info | grep Arch
 Architecture: aarch64

> docker build -t codecov-self-hosted-gateway:master-arm64 .
...

> docker image inspect codecov-self-hosted-gateway:master-arm64 | grep Arch
        "Architecture": "arm64",

<adjust the image value for gateway in docker-compose.yml to be codecov-self-hosted-gateway:master-arm64>

> docker-compose up

Expected results:

> docker logs -f codecov-self-hosted-gateway-1
...
Codecov gateway ssl disabled
Codecov gateway minio enabled
Starting haproxy
[NOTICE]   (49) : New worker (51) forked
[NOTICE]   (49) : Loading success.
Lingua principale
Shell
Stelle
547
Fork
61
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di codecov/self-hosted

Tutte le issue di codecov/self-hosted

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.