Skip to content

Commit fcc2a1a

Browse files
state-models.json generated and not in git (#681)
1 parent 397c969 commit fcc2a1a

4 files changed

Lines changed: 4 additions & 770 deletions

File tree

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- '**.xsd'
1313
- '**.html'
1414
- '**.sql'
15-
- '**/sqlc.yaml'
15+
- '**.yaml'
1616
- '**/Makefile'
1717
- '**/Dockerfile' #run this workflow first to ensure tests are passing
1818
- '**/chart/**' #trigger also when chart templates chnage to force republish
@@ -26,7 +26,7 @@ on:
2626
- '**.xsd'
2727
- '**.html'
2828
- '**.sql'
29-
- '**/sqlc.yaml'
29+
- '**.yaml'
3030
- '**/Makefile'
3131
- '**/Dockerfile' #run this workflow first to ensure tests are passing
3232
- '**/chart/**' #trigger also when chart templates change to force republish

broker/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/broker
33
/data
44
/pg_data
5+
/patron_request/service/statemodels/state-models.json

broker/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ generate-sqlc: $(SQL_GEN_OUT)
7777
generate-api: $(OAPI_GEN) $(PR_OAPI_GEN) $(PS_OAPI_GEN) $(SCHED_OAPI_GEN)
7878

7979
$(STATE_MODELS_JSON): $(STATE_MODELS_YAML)
80+
mkdir -p $(@D)
8081
$(GO) run github.com/mikefarah/yq/v4@v4.52.5 eval -o=json $< > $@.tmp
8182
mv -f $@.tmp $@
8283

0 commit comments

Comments
 (0)