Repository navigation
Commit 213f805
committed
Improve pin-bundle-images.sh to handle different fork names
BASE was derived from Replace.Path, so a fork named
sdatko/openstack-k8s-operators-telemetry-operator gave BASE
"openstack-k8s-operators-telemetry" instead of "telemetry",
querying a non-existent bundle repo on quay.rdoproject.org and
failing the telemetry-operator-build-deploy-kuttl prow job.
Derive BASE from the original module Path so the bundle lookup
depends on the PR target, not the fork name. Use Replace.Path
only for GITHUB_USER/GIT_REPO where the fork identity matters.
Modules replaced with a local directory (./api, ../foo) are
skipped like the old "./apis" check did, and Main modules are
excluded explicitly.
Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>1 parent be32086 commit 213f805
1 file changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
29 | | - | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
| |||
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
42 | | - | |
| 48 | + | |
| 49 | + | |
43 | 50 | | |
44 | 51 | | |
45 | 52 | | |
| |||
0 commit comments