[Test] Exercise Workbench git-ops push scenarios in the nightly suite

Aperta
#773 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
git, github-actions
Ambito
ci-cd, testing

Direzione di ricerca

Start in the workflow file workbench-smoke.yml, where the vip.toml is generated, and add an https-token [workbench.git_test] block only for the nightly and dispatch runs. Then check that test_push_rstudio, test_push_vscode and test_push_positron no longer skip with auth_method='none'. This needs a writable test repository and a VIP_GIT_TOKEN secret from a maintainer, so confirm access before starting.

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

Descrizione

team: workbench

Nightly Workbench Smoke Tests never push. The vip.toml that workbench-smoke.yml generates has no [workbench.git_test] block, so VIP falls back to an anonymous clone of a public repo, and test_push_rstudio, test_push_vscode and test_push_positron all skip with "auth_method='none' is anonymous (read-only)". Clones run on three Workbench versions every night; pushes have never run in CI.

To cover them we need a test repository the CI token can write to, that token stored as a repository secret (for example VIP_GIT_TOKEN), and an https-token [workbench.git_test] block in the generated vip.toml. The block should only go into the full suite (nightly and dispatch), not the PR gate.

Lingua principale
Python
Stelle
9
Fork
1
Merge medio
15h 31m
PR unite (30g)
44

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 posit-dev/vip

Tutte le issue di posit-dev/vip

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.