Concurrent `oasis rofl build` using different deployments
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Inizia tracciando il comando oasis rofl build attraverso la creazione dell’immagine rootfs e la gestione delle directory temporanee, quindi riproduci contemporaneamente due build per deployment diversi. Il lavoro è completato quando le build concorrenti non entrano più in conflitto né pubblicano un vecchio .orc; anche la race separata relativa a rofl.yaml viene indicata come possibile ambito aggiuntivo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
It's common when you make a hotfix that you deploy your ROFL simultaneously to Testnet and Mainnet. When building ORCs concurrently, the second one fails with
Validating compose file...
Preparing stage 2 root filesystem...
Runtime hash: e2e074d03ab2fbacaacb01e6d63ce093fde04e4cc620dd8804e8afbb20390525
Creating squashfs filesystem...
Error: failed to create rootfs image: failed to copy file content: write |1: broken pipe
Pushing ROFL app to OCI repository 'rofl.sh/2ef1ae2d-7f04-495d-be0c-35593853dc55:1787832314'...
Pushing... 100.00% [#################################################] 84.53 MiB
And the old version of .orc is pushed.
Figure out where does the clash happen during the creation of rootfs image and make each deployment use unique tmp directory naming.
ps: Another issue is the race condition between two oasis rofl build instances when updating rofl.yaml. This may not be so trivial. Perhaps it would be more convenient for rofl build command to build ROFL for all deployments out there. Then, we could parallelize it easier.
- Lingua principale
- Go
- Stelle
- 80
- Fork
- 23
- Merge medio
- 9h 43m
- PR unite (30g)
- 3
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di oasisprotocol/cli
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
oasisprotocol/cli#709 ·
-
oasisprotocol/cli#717 · 1 assegnatario ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
oasisprotocol/cli#707 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
oasisprotocol/cli#704 ·
-
Rename ROFL provider offer Apertarofl
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
oasisprotocol/cli#703 ·
Tutte le issue di oasisprotocol/cli
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
acceptance-tests phase-coding schema-coverage testing triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100