chore: STAGING_PATH entfernt, ci-starter-defaults für Template-Staging
- STAGING_PATH aus .env und Makefile (media-sync-local-to-staging) entfernt, Doku bereinigt - scripts/ci-starter-defaults.sh löst __PLACEHOLDER__ im CI-Workspace auf, dev/master bleiben identisch
This commit is contained in:
@@ -2,7 +2,7 @@ DOCKER_COMPOSE=docker compose -f docker-compose-local.yml
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
.PHONY: init docker-up docker-restart-frontend docker-up-tibi-dev docker-start docker-start-tibi-dev docker-down docker-ps docker-logs yarn-upgrade fix-permissions mongo-sync-master-to-local media-sync-master-to-local mongo-sync-local-to-staging media-sync-local-to-staging test test-e2e test-api test-visual
|
||||
.PHONY: init docker-up docker-restart-frontend docker-up-tibi-dev docker-start docker-start-tibi-dev docker-down docker-ps docker-logs yarn-upgrade fix-permissions mongo-sync-master-to-local media-sync-master-to-local mongo-sync-local-to-staging test test-e2e test-api test-visual
|
||||
|
||||
include ./.env
|
||||
|
||||
@@ -92,6 +92,3 @@ mongo-sync-local-to-staging: ## sync mongo from local to staging area
|
||||
$(DOCKER_COMPOSE) exec -T mongo mongodump --archive --gzip --db=$(TIBI_PREFIX)_$(TIBI_NAMESPACE) | mongorestore --archive --gzip --nsFrom='$(TIBI_PREFIX)_$(TIBI_NAMESPACE).*' --nsTo='$(TIBI_PREFIX)_$(TIBI_NAMESPACE).*' --nsInclude='$(TIBI_PREFIX)_$(TIBI_NAMESPACE).*' --drop
|
||||
sleep 3
|
||||
killall chisel
|
||||
|
||||
media-sync-local-to-staging: ## sync attachments from local to staging area
|
||||
sudo rsync -v -az --info=progress2 media $(STAGING_PATH)/
|
||||
|
||||
Reference in New Issue
Block a user