fix mandatory handling

This commit is contained in:
Andreas Neue 2024-06-05 09:43:19 +02:00
parent c5ed8be31b
commit 37bb6e9c12
5 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,7 @@
DEPLOY_START_DELAY = 0
MANDATORY = DEPLOY_NAME DEPLOY_HOSTS DEPLOY_PATH SSH_USER
-include secrets.mk
include config.mk
-include $(DEPLOY_CONFIG_OVERRIDE)

2
apt.mk
View File

@ -1,4 +1,4 @@
MANDATORY-apt = DEPLOY_HOSTS SSH_USER APT_PACKAGES DEPLOY_NAME
MANDATORY = $(MANDATORY) APT_PACKAGES
pull-apt:
# nop

View File

@ -1,4 +1,6 @@
MANDATORY-compose = DEPLOY_HOSTS DEPLOY_TYPE SSH_USER DEPLOY_NAME
ifdef DOCKER_LOGIN
MANDATORY = $(MANDATORY) DOCKER_USER DOCKER_PASS DOCKER_REGISTRY
endif
ifndef DOCKER_LOGIN
DOCKER_LOGIN = 0

View File

@ -1,5 +1,4 @@
MANDATORY-copy = DEPLOY_TYPE DEPLOY_HOSTS SSH_USER DEPLOY_PATH DEPLOY_NAME
MANDATORY-simple = $(MANDATORY-copy)
#MANDATORY = $(MANDATORY) DEPLOY_PATH
# copy
#

3
tf.mk
View File

@ -1,4 +1,5 @@
MANDATORY-tf =
MANDATORY = $(MANDATORY) TF_FLAGS
# tf
#
# deploys via tf apply