Commit 7d829ae
committed
prow-entrypoint: always prepare repos in cosa_init
PR #44 moved prepare_repos to cosa_init because 1. we want to take
advantage of the $variant variable defined in this function and not
have to define another time in cosa_build 2. it feel the right
place to fetch the repos during the cosa init operation.
But, as prepare_repos is placed after testing the existence of the
'builds' directory, the repos are not fetch when already in an
intilialized cosa dir.
This changes the behavior by always fetching the repos during the
cosa_init process.1 parent a0131ea commit 7d829ae
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 36 | | |
42 | 37 | | |
43 | 38 | | |
44 | 39 | | |
45 | 40 | | |
46 | 41 | | |
47 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
0 commit comments