2023-01-19 11:40:42 +01:00
|
|
|
DIST := "ubuntu:latest"
|
|
|
|
|
2024-05-13 18:56:03 +02:00
|
|
|
FACTS_YAML := global/overlay/etc/puppet/static-cosmos-facts.yaml
|
|
|
|
|
2013-09-02 16:17:46 +02:00
|
|
|
cosmos:
|
2023-01-19 11:40:42 +01:00
|
|
|
fab all cosmos
|
2013-09-02 16:17:46 +02:00
|
|
|
|
|
|
|
upgrade:
|
|
|
|
fab upgrade
|
|
|
|
|
2023-02-07 15:04:01 +01:00
|
|
|
tag:
|
2023-01-19 11:40:42 +01:00
|
|
|
./bump-tag
|
|
|
|
|
|
|
|
test_in_docker:
|
|
|
|
docker run --rm -it \
|
|
|
|
-v ${CURDIR}:/multiverse:ro \
|
|
|
|
\
|
|
|
|
$(DIST) /multiverse/scripts/test-in-docker.sh
|
2024-05-13 18:56:03 +02:00
|
|
|
|
|
|
|
static-facts:
|
|
|
|
@echo
|
|
|
|
@echo Facts:
|
|
|
|
@echo "-------------------------------------------------------------------------------"
|
|
|
|
mkdir -p $(dir ${FACTS_YAML})
|
|
|
|
./scripts/cosmos-facts \
|
|
|
|
--dirs .komreg.net \
|
|
|
|
--classesfile cosmos-rules.yaml \
|
|
|
|
--ignore_nonexistent \
|
|
|
|
--roles metadata/roles-in.yaml \
|
|
|
|
--outfile ${FACTS_YAML}
|
|
|
|
git add ${FACTS_YAML} metadata/roles-in.yaml
|
|
|
|
git diff --cached ${FACTS_YAML} metadata/roles-in.yaml
|