feat(archie): the single binary's skeleton: bootstrap config, migrations under an advisory lock, health (#1977)
This commit is contained in:
11 files changed
+391
-17
No files matched your search
+2
-1
@@ -255,10 +255,11 @@ tasks:
|
||||
- "{{.BIN_DIR}}/archie-ui"
|
||||
- "{{.BIN_DIR}}/archie-messaging"
|
||||
- "{{.BIN_DIR}}/archie-agent"
|
||||
- "{{.BIN_DIR}}/archie"
|
||||
cmds:
|
||||
# One flag set for every service, matching the release workflow, so each
|
||||
# binary reports the same version.
|
||||
- for: [archied, archie-gateway, archie-state-store, archie-ui, archie-messaging]
|
||||
- for: [archie, archied, archie-gateway, archie-state-store, archie-ui, archie-messaging]
|
||||
cmd: go build -trimpath -ldflags "{{.SERVICE_LDFLAGS}}" -o {{.BIN_DIR}}/{{.ITEM}} ./cmd/{{.ITEM}}
|
||||
- go build -trimpath -ldflags "-X github.com/samcharles93/archie-core/internal/app/agentworker.version={{.RUNTIME_VERSION}} -X github.com/samcharles93/archie-core/internal/installtype.buildType=binary" -o {{.BIN_DIR}}/archie-agent ./cmd/archie-agent
|
||||
|
||||
|
||||
Reference in new issue
Block a user