Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
330 commits
Select commit Hold shift + click to select a range
7b9ff6c
fix:修复资源管理工具类型切换 (#239)
Jan 11, 2024
3c2e14d
fix: 左右两侧面板宽度固定为280px (#230)
lizhijie429 Jan 12, 2024
236445e
fix(styles-spacing): 增大物料设置内外边距时点击区域 #134 (#184)
wenmine Jan 15, 2024
421dda2
fix:预览引入builtin组件依赖,built组件样式文件注入js (#251)
Jan 15, 2024
435f817
add config (#262)
lu-yg Jan 19, 2024
12b7a11
fix: 修复由于物料边框引起的左侧面板样式问题 (#247)
lizhijie429 Jan 19, 2024
35c7e91
fix: 设计器构建后使用vue runtime prod build(本地开发保持development, preview预览保持dev…
rhlin Jan 19, 2024
9c72525
fix(canvas-renderer): 修复 isNative component 判断失效的 bug (#241)
chilingling Jan 19, 2024
91ff6ae
feat: js panel add jsx support (#253)
gene9831 Jan 19, 2024
fd3272c
feat: algo node
GaoNeng-wWw Jan 20, 2024
8e47079
fix: 修复报错
GaoNeng-wWw Jan 20, 2024
f930f86
fix: fix overflow
GaoNeng-wWw Jan 20, 2024
34f6491
feat: add node
GaoNeng-wWw Jan 21, 2024
4930ea3
feat(setting): property
GaoNeng-wWw Jan 22, 2024
1256ef6
feat: property setting
GaoNeng-wWw Jan 24, 2024
bfcd0db
Merge pull request #1 from GaoNeng-wWw/feat/setting
GaoNeng-wWw Jan 24, 2024
35f9441
feat(layer): bundle schema
GaoNeng-wWw Jan 25, 2024
727f89f
feat: useMonaco hook
GaoNeng-wWw Jan 27, 2024
6d890ed
feat(code): monaco editor
GaoNeng-wWw Jan 27, 2024
b7cc892
feat: code editor
GaoNeng-wWw Jan 29, 2024
c4df4e7
refactor: monaco editor
GaoNeng-wWw Jan 30, 2024
9eb57a4
feat: useVisitor
GaoNeng-wWw Jan 30, 2024
07e5158
feat(front-end): save layer
GaoNeng-wWw Jan 31, 2024
cd5afcf
Merge pull request #2 from GaoNeng-wWw/feat/layer
GaoNeng-wWw Jan 31, 2024
63db8fa
init: backend project init
GaoNeng-wWw Jan 31, 2024
8a66472
refactor: move dl-flow-front repository to dl-flow
GaoNeng-wWw Feb 1, 2024
d147dec
Merge remote-tracking branch 'backend/main'
GaoNeng-wWw Feb 1, 2024
41c73d0
chore: move dl-flow-backend to dl-flow
GaoNeng-wWw Feb 1, 2024
5264000
chore: 重构仓库结构
GaoNeng-wWw Feb 1, 2024
10ae06a
ci: fix ci
GaoNeng-wWw Feb 1, 2024
605c61a
feat(backend): unit test
GaoNeng-wWw Feb 1, 2024
9b90901
chore: update ci
GaoNeng-wWw Feb 1, 2024
57ee574
ci: 手动触发
GaoNeng-wWw Feb 1, 2024
91388c5
Merge pull request #1 from GaoNeng-wWw/feat--unit-test
GaoNeng-wWw Feb 1, 2024
b631fb4
fix: ci error
GaoNeng-wWw Feb 1, 2024
93bb4a8
Merge pull request #2 from GaoNeng-wWw/fix/ci
GaoNeng-wWw Feb 1, 2024
36096ed
feat: hot load & minifiy
GaoNeng-wWw Feb 1, 2024
1faf504
fix: ci error
GaoNeng-wWw Feb 2, 2024
8fec652
Merge pull request #3 from GaoNeng-wWw/feat/layer
GaoNeng-wWw Feb 2, 2024
03c48a7
feat(back): refactor to nest.js
GaoNeng-wWw Feb 2, 2024
a5c5f25
feat: expose port in docker-compose.yaml
GaoNeng-wWw Feb 2, 2024
19a755c
Merge pull request #4 from GaoNeng-wWw/feat/back-refactor
GaoNeng-wWw Feb 2, 2024
c8f2a98
release: v0.0.2
GaoNeng-wWw Feb 2, 2024
e906d29
release: v0.0.3 release
GaoNeng-wWw Feb 2, 2024
1a91cd5
release: v0.0.4
GaoNeng-wWw Feb 2, 2024
442a6a5
fix: ci fix
GaoNeng-wWw Feb 2, 2024
1efe1a8
fix: ci
GaoNeng-wWw Feb 2, 2024
040a0cc
fix: ci
GaoNeng-wWw Feb 2, 2024
c4baf8f
fix: ci
GaoNeng-wWw Feb 2, 2024
4b58e57
fix: ci
GaoNeng-wWw Feb 2, 2024
433bf20
fix: ci
GaoNeng-wWw Feb 2, 2024
d431d43
fix: ci
GaoNeng-wWw Feb 2, 2024
d93cb9a
Merge pull request #5 from GaoNeng-wWw/fix/ci
GaoNeng-wWw Feb 2, 2024
8aa28f4
fix: fix import
GaoNeng-wWw Feb 3, 2024
11aedbf
Merge branch 'main' of https://github.com/GaoNeng-wWw/dl-flow
GaoNeng-wWw Feb 3, 2024
55b4e5e
fix: fix import
GaoNeng-wWw Feb 3, 2024
540b31c
feat(backend): layer controller
GaoNeng-wWw Feb 3, 2024
8ad6736
Merge pull request #6 from GaoNeng-wWw/feat/layer-controller
GaoNeng-wWw Feb 3, 2024
5175a23
Merge #5 into main from feat/layer-controller
GaoNeng-wWw Feb 3, 2024
35e1b33
feat(bakend): material
GaoNeng-wWw Feb 3, 2024
f4184d5
fix: fix layer unit test error
GaoNeng-wWw Feb 3, 2024
90a0b0a
Merge pull request #7 from GaoNeng-wWw/feat/backend-material
GaoNeng-wWw Feb 3, 2024
348e84c
Merge #6 into main from feat/backend-material
GaoNeng-wWw Feb 3, 2024
3310fe0
release: version 0.0.7 release
GaoNeng-wWw Feb 3, 2024
31304e9
fix(front-end): fix warning
GaoNeng-wWw Feb 3, 2024
4b6a14b
feat: save layer
GaoNeng-wWw Feb 4, 2024
d5de618
fix(backend): if property is undefined will no longer throw server error
GaoNeng-wWw Feb 4, 2024
aa9b16e
feat: remove memory server in dev env
GaoNeng-wWw Feb 5, 2024
587b495
fix(front): delete tab item lazy load
GaoNeng-wWw Feb 5, 2024
8be853e
feat: remove cache when install dependencies
GaoNeng-wWw Feb 5, 2024
32d8aa2
fix: ci
GaoNeng-wWw Feb 5, 2024
c923e9e
Merge pull request #9 from GaoNeng-wWw/feat/ci-cache
GaoNeng-wWw Feb 5, 2024
1315962
Merge pull request #8 from GaoNeng-wWw/feat/front-save-layer
GaoNeng-wWw Feb 5, 2024
de3f4b0
Merge #7 into main from feat/front-save-layer
GaoNeng-wWw Feb 5, 2024
497045e
Merge #8 into main from feat/ci-cache
GaoNeng-wWw Feb 5, 2024
554c913
styled(front): delete console.log
GaoNeng-wWw Feb 5, 2024
59ecf1e
feat(frontend): context menu
GaoNeng-wWw Feb 6, 2024
f09328c
feat(front): group
GaoNeng-wWw Feb 6, 2024
9fde138
feat(front): group layout
GaoNeng-wWw Feb 6, 2024
38ed5ca
feat(front): group auto size & auto position
GaoNeng-wWw Feb 7, 2024
b5a01c6
feat(front): update schema
GaoNeng-wWw Feb 7, 2024
16b5f71
feat(front): schema plugin
GaoNeng-wWw Feb 7, 2024
6fc9001
feat(front): schema editor
GaoNeng-wWw Feb 7, 2024
9f737ea
feat(front): schema field change
GaoNeng-wWw Feb 8, 2024
1c6f449
Merge pull request #10 from GaoNeng-wWw/feat/schema
GaoNeng-wWw Feb 8, 2024
1d67669
Merge #9 into main from feat/schema
GaoNeng-wWw Feb 8, 2024
5efe4b8
feat(front): schema dynamic change
GaoNeng-wWw Feb 9, 2024
25208bd
feat(frontend): export button
GaoNeng-wWw Feb 10, 2024
1e5b2ea
feat(backend): should add layer identifier when save
GaoNeng-wWw Feb 11, 2024
0283da6
feat(backend): code-generate service
GaoNeng-wWw Feb 11, 2024
c57f0f3
feat(backend): code generate
GaoNeng-wWw Feb 12, 2024
58fc72b
test(backend): base unit test
GaoNeng-wWw Feb 12, 2024
59e30e1
test(ast): ast base unit test
GaoNeng-wWw Feb 13, 2024
bdd9a2d
feat(frontend): emit createCodeGenerate event
GaoNeng-wWw Feb 14, 2024
e0317c3
feat(bakend): generate python code
GaoNeng-wWw Feb 14, 2024
f7ff252
feat(backend): file download
GaoNeng-wWw Feb 15, 2024
bc78b19
feat(front): download file
GaoNeng-wWw Feb 15, 2024
6ecaf01
test(backend): remove code-generate gateway unit test
GaoNeng-wWw Feb 16, 2024
b4f6229
Merge pull request #11 from GaoNeng-wWw/feat/code-generate
GaoNeng-wWw Feb 16, 2024
0f01f3f
feat(frontend): add layer
GaoNeng-wWw Feb 16, 2024
f5a58d2
feat(backend): remove generate res
GaoNeng-wWw Feb 16, 2024
ee41bf1
fix(frontend): retry
GaoNeng-wWw Feb 16, 2024
68df7af
fix: group generate code fail
GaoNeng-wWw Feb 17, 2024
aef3f67
Merge pull request #13 from GaoNeng-wWw/fix/retry
GaoNeng-wWw Feb 18, 2024
ef620e5
fix: build error
GaoNeng-wWw Feb 18, 2024
12e4fb5
Merge pull request #14 from GaoNeng-wWw/fix/build-error
GaoNeng-wWw Feb 18, 2024
f47524e
🐳 chore: frontend image
GaoNeng-wWw Feb 21, 2024
1f978b6
Merge pull request #15 from GaoNeng-wWw/feat/front-docker
GaoNeng-wWw Feb 21, 2024
98f17f2
chore: add packaging strategy
GaoNeng-wWw Feb 21, 2024
c6ca7c6
fix: expose 9000-9900 ports
GaoNeng-wWw Feb 21, 2024
ae95604
chore: ignore all conf file when docker build
GaoNeng-wWw Feb 21, 2024
62f5ff5
feat: deploy example
GaoNeng-wWw Feb 21, 2024
9541d7c
Merge pull request #16 from GaoNeng-wWw/feat/deploy-example
GaoNeng-wWw Feb 21, 2024
918b197
Merge #10 into main from feat/deploy-example
GaoNeng-wWw Feb 21, 2024
9998bfd
feat: expose bundle.json
GaoNeng-wWw Feb 21, 2024
6416216
Merge pull request #17 from GaoNeng-wWw/feat/expose-bundle
GaoNeng-wWw Feb 21, 2024
8699a2d
feat(backend): get material
GaoNeng-wWw Feb 21, 2024
98d65a9
feat(frontend): unexpose bundle.json
GaoNeng-wWw Feb 21, 2024
9049e57
test: skip ast
GaoNeng-wWw Feb 21, 2024
2319cf9
feat(frontend): get material
GaoNeng-wWw Feb 21, 2024
ded8568
Merge pull request #18 from GaoNeng-wWw/feat/getMaterial
GaoNeng-wWw Feb 21, 2024
c88a834
feat: README.md
GaoNeng-wWw Feb 21, 2024
4a66423
Merge #11 into main from feat/README.md
GaoNeng-wWw Feb 21, 2024
69119f8
Merge pull request #19 from GaoNeng-wWw/feat/README.md
GaoNeng-wWw Feb 21, 2024
f2be029
feat(bundle): bundle data
GaoNeng-wWw Feb 23, 2024
7b296dd
feat: update css
GaoNeng-wWw Feb 23, 2024
719e5cb
feat: ref schema
GaoNeng-wWw Feb 24, 2024
ac69daa
feat(font): list data sturct support
GaoNeng-wWw Feb 24, 2024
9b035b0
Merge branch 'main' of https://github.com/GaoNeng-wWw/dl-flow into fe…
GaoNeng-wWw Feb 24, 2024
739755b
feat(backend): support list data-struct
GaoNeng-wWw Feb 24, 2024
2549d60
feat(bundle): upsample, SpectralNorm Unflatten
GaoNeng-wWw Feb 24, 2024
ff8db47
test(back): ast unit test
GaoNeng-wWw Feb 25, 2024
2e4d6b6
feat(back): user api
GaoNeng-wWw Feb 26, 2024
a19401f
feat: use secret at test
GaoNeng-wWw Feb 26, 2024
6731953
feat: Add environment variables to dockerfile
GaoNeng-wWw Feb 26, 2024
6290131
Merge pull request #12 from GaoNeng-wWw/feat/bundle
GaoNeng-wWw Feb 26, 2024
87c2ffa
fix: ci error
GaoNeng-wWw Feb 26, 2024
5aab1f9
feat(back): auth guard
GaoNeng-wWw Feb 27, 2024
5ea7674
Merge #12 into main from feat/bundle
GaoNeng-wWw Feb 27, 2024
a28bd39
feat(user): register
GaoNeng-wWw Feb 27, 2024
d3d67da
feat(front): login & register
GaoNeng-wWw Feb 28, 2024
59576e7
feat(backend): auth at code generate
GaoNeng-wWw Feb 28, 2024
fc01e2b
feat: remove dashboard
GaoNeng-wWw Feb 28, 2024
7f31f48
Merge pull request #20 from GaoNeng-wWw/feat/user
GaoNeng-wWw Feb 28, 2024
f902c17
Merge #13 into main from feat/user
GaoNeng-wWw Feb 28, 2024
1e62260
refactor: group generate
GaoNeng-wWw Feb 29, 2024
1edba80
styled: clean comment code
GaoNeng-wWw Feb 29, 2024
fd8a0d2
feat: build sequential
GaoNeng-wWw Feb 29, 2024
a7ff174
feat(backend): Sequential
GaoNeng-wWw Mar 1, 2024
f0c7c5e
feat(backend): auto load bundle.json
GaoNeng-wWw Mar 2, 2024
785ba42
feat: update example bundle.json
GaoNeng-wWw Mar 2, 2024
4c96224
Merge pull request #22 from GaoNeng-wWw/feat/auto-load-bundle
GaoNeng-wWw Mar 2, 2024
7ed4eae
Merge #15 into main from feat/auto-load-bundle
GaoNeng-wWw Mar 2, 2024
56e84de
doc: update readme
GaoNeng-wWw Mar 2, 2024
7aaf286
Merge pull request #23 from GaoNeng-wWw/doc/update-readme
GaoNeng-wWw Mar 2, 2024
83be81e
doc: update readme & docker-compose
GaoNeng-wWw Mar 2, 2024
ebaa612
Merge pull request #24 from GaoNeng-wWw/doc/update-readme
GaoNeng-wWw Mar 2, 2024
2e5947c
fix(backend): jwt token expire
GaoNeng-wWw Mar 2, 2024
a552b78
Merge pull request #25 from GaoNeng-wWw/fix/jwt-token-expire
GaoNeng-wWw Mar 2, 2024
5160a28
Merge pull request #21 from GaoNeng-wWw/feat/code-generate
GaoNeng-wWw Mar 2, 2024
9332970
fix: data will never is empty
GaoNeng-wWw Mar 2, 2024
10c61a5
fix: force get schema
GaoNeng-wWw Mar 2, 2024
d150367
Merge pull request #27 from GaoNeng-wWw/fix/data-loss
GaoNeng-wWw Mar 3, 2024
71e1aea
Merge pull request #26 from GaoNeng-wWw/fix/force-get-schema
GaoNeng-wWw Mar 3, 2024
2499a71
feat: Improve link logic
GaoNeng-wWw Mar 3, 2024
799d94e
fix(backend): stack overflow at sequencingNode
GaoNeng-wWw Mar 3, 2024
a5e1afb
feat: Fix the issue of untraceable child nodes
GaoNeng-wWw Mar 4, 2024
0f874b0
feat: Nested groups are not allowed
GaoNeng-wWw Mar 4, 2024
f3e11b7
feat: completion bundle.json
GaoNeng-wWw Mar 4, 2024
ac64c68
Merge #14 into main from feat/code-generate
GaoNeng-wWw Mar 6, 2024
978302c
Merge #16 into main from fix/stack-overflow
GaoNeng-wWw Mar 6, 2024
6d1ef51
Merge pull request #28 from GaoNeng-wWw/fix/stack-overflow
GaoNeng-wWw Mar 6, 2024
8c90cf5
fix(backend): bcrypt error
GaoNeng-wWw Mar 6, 2024
1524c7c
Merge pull request #29 from GaoNeng-wWw/fix/reg-error
GaoNeng-wWw Mar 6, 2024
c66c4f5
Merge #17 into main from fix/reg-error
GaoNeng-wWw Mar 6, 2024
bd8688b
fix(backend): restore auth in gateway
GaoNeng-wWw Mar 6, 2024
8c3bb22
Merge pull request #30 from GaoNeng-wWw/feat/restore-auth
GaoNeng-wWw Mar 6, 2024
8c26227
Merge #18 into main from feat/restore-auth
GaoNeng-wWw Mar 6, 2024
dbb0788
feat(backend): ws exception
GaoNeng-wWw Mar 13, 2024
584839f
feat(frontend): error retry
GaoNeng-wWw Mar 13, 2024
d2a232a
feat: salt len
GaoNeng-wWw Mar 13, 2024
004ee48
fix: ci error
GaoNeng-wWw Mar 13, 2024
e6c67a0
Merge pull request #31 from GaoNeng-wWw/feat/ws-exception
GaoNeng-wWw Mar 13, 2024
c3536dc
fix: when process.env.PWD_SALT is undefined
GaoNeng-wWw Mar 13, 2024
56dc38b
Merge pull request #32 from GaoNeng-wWw/feat/salt
GaoNeng-wWw Mar 13, 2024
d83ed5b
Merge #20 into main from feat/salt
GaoNeng-wWw Mar 13, 2024
21d3f7e
Merge #19 into main from feat/ws-exception
GaoNeng-wWw Mar 13, 2024
dfc7fe2
fix(backend): salt error
GaoNeng-wWw Mar 13, 2024
f9dfae4
Merge pull request #33 from GaoNeng-wWw/fix/salt-error
GaoNeng-wWw Mar 13, 2024
6b95022
Merge #21 into main from fix/salt-error
GaoNeng-wWw Mar 21, 2024
6e05372
refactor(addons): clean toolbars
GaoNeng-wWw Mar 22, 2024
8ac8918
refactor(canvas): remove Unused components
GaoNeng-wWw Mar 22, 2024
5a41384
doc: perfect document
GaoNeng-wWw Mar 22, 2024
772b7ed
docs: Discussion on the Commutability of Function Combinations
GaoNeng-wWw Mar 23, 2024
9cbdd29
docs: complete the images in the document
GaoNeng-wWw Mar 23, 2024
12aeb25
doc: refinish documents
GaoNeng-wWw Mar 23, 2024
8ce8341
Merge #22 into main from refactor/struct
GaoNeng-wWw Mar 23, 2024
88d8302
更新 README.md
GaoNeng-wWw Mar 23, 2024
9f33f5f
Merge pull request #34 from GaoNeng-wWw/refactor/struct
GaoNeng-wWw Mar 24, 2024
6ed4205
doc: improve documentation and annotations
GaoNeng-wWw Mar 24, 2024
96eb700
docs: improve documentation
GaoNeng-wWw Mar 24, 2024
2023a62
Merge branch 'main' of atomgit.com:opentiny/000003
GaoNeng-wWw Mar 24, 2024
d079570
refactor: repo sturct
GaoNeng-wWw Apr 4, 2024
09fe8a3
Merge pull request #35 from GaoNeng-wWw/refactor/monorepo
GaoNeng-wWw Apr 4, 2024
ee0e387
fix: dry run
GaoNeng-wWw Apr 4, 2024
9810ed5
Merge pull request #36 from GaoNeng-wWw/refactor/monorepo
GaoNeng-wWw Apr 4, 2024
5d6e08c
fix: build error
GaoNeng-wWw Apr 5, 2024
6143a0a
Merge pull request #37 from GaoNeng-wWw/fix/build-error
GaoNeng-wWw Apr 5, 2024
c83da66
fix: build err
GaoNeng-wWw Apr 5, 2024
53b1bdd
Merge branch 'main' of https://github.com/GaoNeng-wWw/dl-flow
GaoNeng-wWw Apr 5, 2024
a0a3905
fix(example): docker compose up -d can run
GaoNeng-wWw Apr 5, 2024
c33dc22
feat: all in one start
GaoNeng-wWw Apr 5, 2024
691b68e
Merge pull request #38 from GaoNeng-wWw/feat/monorepo
GaoNeng-wWw Apr 5, 2024
c45700d
feat(dashboard): backend
GaoNeng-wWw Apr 6, 2024
ba2fed4
fix(backend): project:counter loss
GaoNeng-wWw Apr 7, 2024
3f009dd
feat(frontend): infinity scroll load project
GaoNeng-wWw Apr 7, 2024
1dce0fe
feat(frontend): navigator
GaoNeng-wWw Apr 7, 2024
fc08684
feat(frontend): save schema
GaoNeng-wWw Apr 8, 2024
9fed169
feat(backend): add data field when return project info
GaoNeng-wWw Apr 8, 2024
3a86a60
feat(backend): should take graphData when save
GaoNeng-wWw Apr 8, 2024
557f7e1
feat(frontend): save and import data
GaoNeng-wWw Apr 8, 2024
d3e9920
feat: welcome will take nick name
GaoNeng-wWw Apr 8, 2024
8b00974
fix: return data at create
GaoNeng-wWw Apr 8, 2024
188b914
fix(front): edge loss
GaoNeng-wWw Apr 8, 2024
38224d0
Merge branch 'main' into feat/dashboard
GaoNeng-wWw Apr 8, 2024
83e8bad
Merge pull request #39 from GaoNeng-wWw/feat/dashboard
GaoNeng-wWw Apr 8, 2024
776d738
fix: build error
GaoNeng-wWw Apr 8, 2024
aab8b85
fix: build error
GaoNeng-wWw Apr 8, 2024
ef88da8
fix: build error
GaoNeng-wWw Apr 8, 2024
80638da
feat(front): rename
GaoNeng-wWw Apr 8, 2024
5a2c576
feat(front): update state
GaoNeng-wWw Apr 8, 2024
0fb1889
fix(rename): import style
GaoNeng-wWw Apr 8, 2024
bbc1d29
Merge pull request #40 from GaoNeng-wWw/feat/rename
GaoNeng-wWw Apr 9, 2024
414198e
feat(frontend): menu
GaoNeng-wWw Apr 9, 2024
b92bfb3
feat(frontend): menu
GaoNeng-wWw Apr 9, 2024
920f6d8
Merge branch 'feat/menu' of atomgit.com:opentiny/000003 into feat/menu
GaoNeng-wWw Apr 9, 2024
28c0d52
Merge pull request #41 from GaoNeng-wWw/feat/menu
GaoNeng-wWw Apr 9, 2024
68e5e06
fix: add loss entry
GaoNeng-wWw Apr 9, 2024
1244222
fix: add loss dep
GaoNeng-wWw Apr 9, 2024
aefbce5
fix: prettier error
GaoNeng-wWw Apr 9, 2024
7fc4727
fix: collapse error
GaoNeng-wWw Apr 9, 2024
1ffccd6
fix: do not use jsx
GaoNeng-wWw Apr 10, 2024
22333b3
feat: menu take style
GaoNeng-wWw Apr 10, 2024
f244aa1
fix(backend):when paramattr name is empty, use uuid
GaoNeng-wWw Apr 10, 2024
ad15711
feat(backend): expose example volume
GaoNeng-wWw Apr 10, 2024
1017102
Merge pull request #42 from GaoNeng-wWw/feat/example
GaoNeng-wWw Apr 10, 2024
43c9497
fix: add padding property
GaoNeng-wWw Apr 11, 2024
5b0fd3c
✨ feat(example): add example
GaoNeng-wWw Apr 12, 2024
8b532a5
docs: update README
GaoNeng-wWw Apr 12, 2024
f0656a9
fix: mirror error
GaoNeng-wWw Apr 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
*.conf
pnpm-lock.yaml
79 changes: 79 additions & 0 deletions .github/workflows/docker-dry-run.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Build And Publish (Dry run)

on:
workflow_dispatch:

jobs:
front:
name: Build front-end docker image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
gaonengwww/dl-flow-frontend
tags: |
type=semver,pattern={{version}}
type=raw,value=latest,enable=${{ github.event_name != 'pull_request' }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
working-directory: ./
context: ./
build-context: ./
file: ./dockerfile
push: false
back:
name: Build back-end docker image
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./dl-flow-backend
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
gaonengwww/dl-flow-backend
tags: |
type=semver,pattern={{version}}
type=raw,value=latest,enable=${{ github.event_name != 'pull_request' }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
working-directory: dl-flow-backend/
context: dl-flow-backend/
build-context: dl-flow-backend/
file: dl-flow-backend/dockerfile
push: false
92 changes: 92 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: Build And Publish

on:
push:
tags:
- "*.*.*"

jobs:
front:
name: Build Front docker image
runs-on: ubuntu-latest
defaults:
run:
working-directory: .
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
gaonengwww/dl-flow-frontend
tags: |
type=semver,pattern={{version}}
type=raw,value=latest,enable=${{ github.event_name != 'pull_request' }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
working-directory: ./
context: ./
build-context: ./
file: ./dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
back:
name: Build docker image
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./dl-flow-backend
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
gaonengwww/dl-flow-backend
tags: |
type=semver,pattern={{version}}
type=raw,value=latest,enable=${{ github.event_name != 'pull_request' }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
working-directory: dl-flow-backend/
context: dl-flow-backend/
build-context: dl-flow-backend/
file: dl-flow-backend/dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
**/node_modules
Loading