coder / coder/envbuilder

Force cloning or pull of repo on each run of envbuilder

Aperta
#112 3 commenti 5 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
300
Fork
64
Merge medio
20m
PR unite (30g)
1

Descrizione

When using envbuilder and restarting my workspace I nearly always want a fresh copy of the repo, but when using a pvc similar to this [example template](https://github.com/coder/coder/blob/main/examples/templates/devcontainer-kubernetes/main.tf) I envbuilder simply finds the existing repo, prints:

```
#1: 📦 Cloning MY_REPO...
#1: 📦 The repository already exists! [5.29944ms]
```

I see no way to force envbuilder to either clone it each time or, preferably, run a git pull to ensure the repo is fresh between rebuilds, but this would make the process more intuitive for our users.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.