File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ name : Chekout repos
3+ description : Chekout repos
4+ runs :
5+ using : " composite"
6+ steps :
7+ - name : Checkout workspace repo
8+ uses : actions/checkout@v6
9+ with :
10+ repository : orglang/go-workspace
11+ - name : Checkout sdk repo
12+ uses : actions/checkout@v6
13+ with :
14+ repository : orglang/go-sdk
15+ path : sdk
16+ - name : Checkout engine repo
17+ uses : actions/checkout@v6
18+ with :
19+ repository : orglang/go-engine
20+ path : engine
Original file line number Diff line number Diff line change 1+ ---
2+ name : Setup gear
3+ description : Setup gear
4+ runs :
5+ using : " composite"
6+ steps :
7+ - name : Setup go
8+ uses : actions/setup-go@v6.2.0
9+ with :
10+ go-version : ' 1.25'
11+ - name : Setup task
12+ uses : go-task/setup-task@v1
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ Code structure reflects abstraction aspects.
151151
152152### Workflow
153153
154- - ` task sources ` - before commit to task branch
155- - ` task binaries ` - before push to task branch
156- - ` task distros ` - before push or merge to feature branch
157- - ` task stacks ` - before merge to main branch
154+ - ` task sources ` - before commit to branch
155+ - ` task binaries ` - before push to branch
156+ - ` task distros ` - before merge to branch
157+ - ` task stacks ` - before merge to trunk
Original file line number Diff line number Diff line change 1+ ---
2+ name : Branch proposal
3+
4+ on :
5+ push :
6+ branches : [main]
7+ pull_request :
8+ branches-ignore : [main]
9+ types :
10+ - opened
11+ - reopened
12+ - ready_for_review
13+ workflow_dispatch :
14+
15+ defaults :
16+ run :
17+ shell : bash
18+ working-directory : ./engine
19+
20+ jobs :
21+ packages :
22+ timeout-minutes : 10
23+ strategy :
24+ fail-fast : false
25+ runs-on : ubuntu-latest
26+ steps :
27+ - uses : ./.github/actions/checkout-repos
28+ - uses : ./.github/actions/setup-tools
29+ - run : task packages
Original file line number Diff line number Diff line change 1+ ---
2+ name : Branch revision
3+
4+ on :
5+ pull_request :
6+ branches : [main]
7+ types :
8+ - synchronize
9+ workflow_dispatch :
10+
11+ defaults :
12+ run :
13+ shell : bash
14+ working-directory : ./engine
15+
16+ jobs :
17+ packages :
18+ timeout-minutes : 10
19+ strategy :
20+ fail-fast : false
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : ./.github/actions/checkout-repos
24+ - uses : ./.github/actions/setup-tools
25+ - run : task packages
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ ---
2+ name : Trunk proposal
3+
4+ on :
5+ pull_request :
6+ branches : [main]
7+ types :
8+ - opened
9+ - reopened
10+ - ready_for_review
11+ merge_group :
12+ branches : [main]
13+ workflow_dispatch :
14+
15+ defaults :
16+ run :
17+ shell : bash
18+ working-directory : ./engine
19+
20+ jobs :
21+ stacks :
22+ timeout-minutes : 30
23+ strategy :
24+ fail-fast : false
25+ runs-on : ubuntu-latest
26+ steps :
27+ - uses : ./.github/actions/checkout-repos
28+ - uses : ./.github/actions/setup-tools
29+ - run : task stack:commons
Original file line number Diff line number Diff line change 1- # Orglang Runtime
1+ # Orglang Engine
22
33Рантайм исполнения Orglang на Go
44
Original file line number Diff line number Diff line change 11version : ' 3'
22
33vars :
4- DB : postgres
4+ VENDOR : postgres
55 CID :
66 sh : >-
7- find {{.DB }} -type f -exec md5sum {} +
7+ find {{.VENDOR }} -type f -exec md5sum {} +
88 | LC_ALL=C sort -k 2
99 | md5sum
1010 | head -c 7
1414 aliases : [proc]
1515 cmd : >-
1616 docker compose
17- --file {{.DB }}/compose.yaml
17+ --file {{.VENDOR }}/compose.yaml
1818 up
1919 --remove-orphans
2020 --pull missing
Original file line number Diff line number Diff line change @@ -22,26 +22,21 @@ tasks:
2222 - cmd : go fmt ./...
2323 - cmd : go build ./...
2424
25- tests :
26- aliases : [test]
27- desc : Run specified tests
28- cmds :
29- - cmd : go test -tags=unit ./lib/... ./adt/... ./app/...
30- if : ' {{eq .LVL "unit"}}'
31- - cmd : go test -run=TestIntegration ./lib/... ./adt/... ./app/...
32- if : ' {{eq .LVL "it"}}'
33- - cmd : go test ./stack/...
34- if : ' {{eq .LVL "e2e"}}'
35-
3625 process :
3726 aliases : [proc]
3827 desc : Run specified process in foreground
3928 cmds :
4029 - task : app:process
4130
31+ container :
32+ aliases : [cnt]
33+ desc : Start specified container in background
34+ cmds :
35+ - cmd : container started
36+
4237 processes :
4338 aliases : [procs]
44- desc : Start and stop all processes
39+ desc : Run and interrupt all processes
4540 cmds :
4641 - task : app:process
4742
@@ -54,3 +49,14 @@ tasks:
5449 LVL : unit
5550 cmds :
5651 - task : app:binary
52+
53+ tests :
54+ aliases : [test]
55+ desc : Run specified level tests
56+ cmds :
57+ - cmd : go test -tags=unit ./lib/... ./adt/... ./app/...
58+ if : ' {{eq .LVL "unit"}}'
59+ - cmd : go test -run=TestIntegration ./lib/... ./adt/... ./app/...
60+ if : ' {{eq .LVL "it"}}'
61+ - cmd : go test ./test/...
62+ if : ' {{eq .LVL "e2e"}}'
You can’t perform that action at this time.
0 commit comments