feat: add compose deployment baseline
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,6 +1,6 @@
|
||||
GO ?= go
|
||||
|
||||
.PHONY: fmt test vet build image integration console-e2e mysql-replication mysql-compatibility sdk-check protocol-check docs-check schedule-backlog release-manifest release-local-check
|
||||
.PHONY: fmt test vet build image integration console-e2e compose-check mysql-replication mysql-compatibility sdk-check protocol-check docs-check schedule-backlog release-manifest release-local-check
|
||||
fmt:
|
||||
$(GO) fmt ./...
|
||||
cd sdk/go && $(GO) fmt ./...
|
||||
@@ -35,6 +35,12 @@ integration:
|
||||
console-e2e:
|
||||
./scripts/test-console-e2e.sh
|
||||
|
||||
compose-check:
|
||||
@test -n "$${ORBIT_DB_USER:-}" || (echo 'ORBIT_DB_USER is required' >&2; exit 1)
|
||||
@test -n "$${ORBIT_DB_PASSWORD:-}" || (echo 'ORBIT_DB_PASSWORD is required' >&2; exit 1)
|
||||
@test -n "$${ORBIT_DB_ROOT_PASSWORD:-}" || (echo 'ORBIT_DB_ROOT_PASSWORD is required' >&2; exit 1)
|
||||
@docker compose -f deploy/docker-compose.yml config >/dev/null
|
||||
|
||||
mysql-replication:
|
||||
./scripts/test-mysql-replication.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user