Sybren A. Stüvel
4627169106
Remove unused Makefile targets
...
The Makefile started as a standard file I use for multiple Go projects,
but it was aimed at having only one executable to build. I've removed
everything that assumes a single executable, and kept the parts that are
actually used now.
2022-02-28 12:59:30 +01:00
Sybren A. Stüvel
17e622ebc3
Some build & filename tweaks to allow building from scratch again
...
The build chain got a bit confused when doing things from scratch, as
`test_support.go` was used in the non-test builds. Renaming it to
`support_test.go` was the easiest way to avoid that.
2022-02-25 16:17:49 +01:00
Sybren A. Stüvel
4cd10e57b2
Run all Go commands with CGO_ENABLED=0
...
This ensures that nothing will require a C compiler.
2022-02-24 11:37:02 +01:00
Sybren A. Stüvel
f0aea6646f
Run go generate
in the right order
...
The `pkg/api` code needs to be generated before the interface mocks that
use it.
2022-02-24 11:35:54 +01:00
Sybren A. Stüvel
d50efa87ed
Don't run go generate
with make test
...
`go generate` is taking quite some time now, so just run when necessary.
2022-02-19 14:39:43 +01:00
Sybren A. Stüvel
bb53cc1e4a
Task log storage service
2022-02-18 18:19:35 +01:00
Sybren A. Stüvel
8424e690ee
Bump Go version to 1.18 for generics support
2022-02-18 11:41:31 +01:00
Sybren A. Stüvel
f1ad0a66a8
Makefile: separate build rule for each app
...
These do not run `go generate`, so they're faster but take a bit more care.
2022-02-17 13:58:10 +01:00
Sybren A. Stüvel
96023932da
SocketIO based chat client as PoC for backend/frontend communication
...
The chat client itself is just a throwaway project. The SocketIO system
will be used to send realtime updates about jobs, tasks, and workers to
the web frontend.
2022-02-11 14:47:26 +01:00
Sybren A. Stüvel
2ee66af6d4
Prevent tests running in parallel
...
Each test tries to reset the database, which shouldn't happen in parallel.
2022-02-01 17:17:19 +01:00
Sybren A. Stüvel
28a56f3d91
Store workers in database when registering
2022-01-28 15:31:39 +01:00
Sybren A. Stüvel
860ad168a6
Remove GORM PoC; it's used in Flamenco Manager now anyway
2022-01-25 17:27:44 +01:00
Sybren A. Stüvel
2a4bf1c60f
Toying around with GORM and PostgreSQL
2022-01-24 16:59:48 +01:00
Sybren A. Stüvel
b446b02739
Change package URL
...
Change package URL from `gitlab.com/blender/flamenco-goja-test` to
`gitlab.com/blender/flamenco-ng-poc` so that it matches the actual URL
on Gitlab.
2022-01-24 14:28:00 +01:00
Sybren A. Stüvel
e4be846de8
Add make with-deps
target to install dependencies and build the apps
2022-01-24 14:27:25 +01:00
Sybren A. Stüvel
d6638ce114
Track generated files with Git
...
The OpenAPI-generated files can be used by 3rd parties as well. This
makes them available at `gitlab.com/blender/flamenco-goja-test/pkg/api`.
2022-01-10 17:45:13 +01:00
Sybren A. Stüvel
fa6f2a90d3
Also delete generated files with 'make clean'
2022-01-10 17:45:13 +01:00
Sybren A. Stüvel
f1399ca929
Move cmd/flamenco-poc to cmd/flamenco-manager-poc
2022-01-10 17:45:13 +01:00
Sybren A. Stüvel
38a8943767
Add Flamenco Worker PoC
2022-01-10 17:45:13 +01:00
Sybren A. Stüvel
af4304565a
Lots of changes to merge the Gin/OpenAPI PoC
2022-01-10 17:45:13 +01:00
Sybren A. Stüvel
0e424d0a70
Move to more standard Go project structure
2022-01-10 17:45:12 +01:00
Sybren A. Stüvel
da845daaaf
Support for NPM modules
2022-01-03 19:51:22 +01:00
Sybren A. Stüvel
96f2a6bb52
Allow importing stuff from JS
2022-01-03 19:51:22 +01:00
Sybren A. Stüvel
ff63f8b6b0
Add standard Makefile
2022-01-03 19:51:22 +01:00