mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
This PR introduces new functionality for running e2e-tests in k8s-cluster. `make test` from a root invokes deploying of new sandbox for testing cozystack. from `packages/core/testing`: `make test` - runs the end-to-end tests. `make exec` - opens an interactive shell in the sandbox container. `make login` - downloads the kubeconfig into a temporary directory and runs a shell with the sandbox environment; mirrord must be installed. `make proxy` - enables a SOCKS5 proxy; mirrord and gost must be installed. Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
34 lines
971 B
Makefile
34 lines
971 B
Makefile
.PHONY: manifests repos assets
|
|
|
|
build:
|
|
make -C packages/apps/http-cache image
|
|
make -C packages/apps/kubernetes image
|
|
make -C packages/system/cilium image
|
|
make -C packages/system/kubeovn image
|
|
make -C packages/system/dashboard image
|
|
make -C packages/system/kamaji image
|
|
make -C packages/core/installer image
|
|
make -C packages/core/e2e image
|
|
make manifests
|
|
|
|
manifests:
|
|
(cd packages/core/installer/; helm template -n cozy-installer installer .) > manifests/cozystack-installer.yaml
|
|
sed -i 's|@sha256:[^"]\+||' manifests/cozystack-installer.yaml
|
|
|
|
repos:
|
|
rm -rf _out
|
|
make -C packages/apps check-version-map
|
|
make -C packages/extra check-version-map
|
|
make -C packages/system repo
|
|
make -C packages/apps repo
|
|
make -C packages/extra repo
|
|
mkdir -p _out/logos
|
|
cp ./packages/apps/*/logos/*.svg ./packages/extra/*/logos/*.svg _out/logos/
|
|
|
|
assets:
|
|
make -C packages/core/installer/ assets
|
|
|
|
test:
|
|
make -C packages/core/testing apply
|
|
make -C packages/core/testing test
|