stack/ and docker/ now live in the myos-stacks project (extracted with their history). What the framework itself needs stays here: - stack/myos/*.yml -> share/compose/ - docker/myos/ -> share/docker/myos/ - docker/compose/ -> dropped, docker compose >= 2.24.4 is now required Residues fixed along the way: DOCKER_IMAGES scanned a hardcoded ./docker, include.mk filtered a hardcoded stack/*.mk, and docker-image-myos expanded an undefined MYOS_DOCKER_IMAGES on every up/build. README and CHANGELOG rewritten: they still documented make host, host-certbot-* and user-config, all removed when the catalogue was split out.
53 lines
1.4 KiB
Plaintext
53 lines
1.4 KiB
Plaintext
Usage:
|
|
make [target]
|
|
|
|
Targets:
|
|
test Run unit + golden tests
|
|
test-unit Run unit tests only
|
|
test-golden Run golden tests only (MYOS_ENGINE=legacy|cli)
|
|
test-integration Run tests needing a real docker daemon
|
|
golden-record Re-record golden expectations from the legacy engine
|
|
lint shellcheck all shell sources
|
|
help This help
|
|
attach Attach to docker SERVICE
|
|
bootstrap Configure system
|
|
build Build application docker images
|
|
clean Clean application and docker stuffs
|
|
config View application docker compose file
|
|
connect Connect to docker SERVICE
|
|
deploy Deploy application dockers
|
|
down Remove application dockers
|
|
exec Exec command in docker SERVICE
|
|
install Install application
|
|
logs Display application dockers logs
|
|
rebuild Rebuild application dockers images
|
|
reinstall Reinstall application
|
|
release Create release VERSION
|
|
restart Restart application
|
|
run Run a command in a new docker
|
|
scale Scale SERVICE application to NUM dockers
|
|
shutdown Shutdown all dockers
|
|
start Start application dockers
|
|
stop Stop application dockers
|
|
tests Test application
|
|
up Create application dockers
|
|
update Update application files
|
|
upgrade Upgrade application
|
|
ssh Connect to first remote host
|
|
|
|
Context:
|
|
ENV local
|
|
ENV_PATH @WD@
|
|
DOCKER_MACHINE x86_64
|
|
DOCKER_SOCKET_LOCATION /var/run/docker.sock
|
|
DOCKER_SYSTEM Linux
|
|
DOMAIN example.test
|
|
APP myos
|
|
APPS @APPS@
|
|
BRANCH @BRANCH@
|
|
VERSION @VERSION@
|
|
RELEASE
|
|
COMPOSE_FILE @MYOS@/share/compose/networks.yml
|
|
DOCKER_REPOSITORY tester/myos/local
|
|
[exit 0]
|