Commit 721da6e
authored
fix(release): widen dispatch branch + tag patterns for test mode (#700)
The conductor in openemr/openemr#12061 widened the dispatch payload
`branch` pattern to `^rel-[A-Za-z0-9]+$` so a sandbox branch like
`rel-test` can drive end-to-end testing without a real release-cut.
openemr/openemr#12063 then widened the `tag` pattern to allow an
optional `-test.{shortSha}` suffix that the conductor produces when a
test-mode prep PR merges (e.g. `v8_1_2-test.419858f`).
Both widenings landed in the `openemr/openemr` vendored copy of
`dispatch.schema.json` but never propagated to the canonical schema
here, which is what `website-openemr` (and eventually
`website-openemr-files`) re-vendor. Result: every `repository_dispatch`
this session sent to `website-openemr`'s `release-docs` consumer failed
schema validation on `/data/branch` and `/data/tag`.
Bringing the canonical schema in line; adds a `good-tag-test.json`
fixture covering the new shape. The companion vendored-copy update lands
in `openemr/website-openemr`.
Refs #664. Follow-up to openemr/openemr#12061 / openemr/openemr#12063.1 parent 01240ef commit 721da6e
3 files changed
Lines changed: 17 additions & 4 deletions
File tree
- tools/release
- contracts
- tests
- Contracts
- fixtures/dispatch
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments