Commit 8cd0131
authored
ci: fix package-oci failure in parent pipeline (#3679)
* ci: suppress package-oci in parent pipeline
Commit a3409cd included one-pipeline.locked.yml in the parent pipeline
to get the supported-configurations validation job templates. This
accidentally also brought in the package-oci job, which has no needs:
and therefore no access to the package loader artifacts.
Before that commit, package-oci only ran in the child pipeline
(package-gen.yml) where generate-package.php overrides its needs: to
depend on the package loader jobs. The fix restores the original
behavior by suppressing package-oci in the parent pipeline.
* ci: suppress package-oci in parent pipeline
Commit a3409cd included one-pipeline.locked.yml in the parent pipeline
to get the supported-configurations validation job templates. This
accidentally also brought in shared-pipeline jobs (package-oci and its
downstream) which have no access to the package loader artifacts.
Fix: set SKIP_SHARED_PIPELINE=true globally in the parent pipeline so
all shared-pipeline jobs from one-pipeline.yml that check this variable
are suppressed. Override it to false in package-trigger so the child
pipeline (package-gen.yml) still runs package-oci correctly with its
needs: [package loader] override.
Also suppress requirements_json_test explicitly since it does not check
SKIP_SHARED_PIPELINE (it only checks DANGEROUSLY_SKIP_SHARED_PIPELINE_TESTS).
It runs correctly in the child pipeline via generate-package.php overrides.1 parent c9f888d commit 8cd0131
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
97 | 102 | | |
98 | 103 | | |
99 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
100 | 111 | | |
101 | 112 | | |
102 | 113 | | |
| |||
0 commit comments