(t testing.TB, rt *runtime.Runtime, id string, files ...string)
| 37 | } |
| 38 | |
| 39 | func DeleteFiles(t testing.TB, rt *runtime.Runtime, id string, files ...string) { |
| 40 | ctx := t.Context() |
| 41 | repo, release, err := rt.Repo(ctx, id) |
| 42 | require.NoError(t, err) |
| 43 | defer release() |
| 44 | |
| 45 | for _, path := range files { |
| 46 | err := repo.Delete(ctx, path, false) |
| 47 | require.NoError(t, err) |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | func ReconcileParserAndWait(t testing.TB, rt *runtime.Runtime, id string) { |
| 52 | ReconcileAndWait(t, rt, id, runtime.GlobalProjectParserName) |