From 8b9fcd0e31bbc7c8fc3e2fc7c0da40a4585120ac Mon Sep 17 00:00:00 2001 From: Dustin Kaiser <8209087+mrnicegyu11@users.noreply.github.com> Date: Fri, 6 Dec 2024 16:31:34 +0100 Subject: [PATCH] Fix: J2 issue in gitlab CI/CD - Attempt2 (#905) * wip * Add csi-s3 and have portainer use it * Change request @hrytsuk 1GB max portainer volume size * Fix wrong filename * Fix registry local deploy * Traefik local deployment fixes * Fix local deployment graylog provisioning * Fix j2, double venv * Add python version * Idempotency for admin-panels * Remove faulty command * Local deploy fixes * Clean Up Local Minio * Remove unused code * Update Minio * minorfix --------- Co-authored-by: Dustin Kaiser --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 2e80bf48..ef27c8ab 100644 --- a/Makefile +++ b/Makefile @@ -71,6 +71,14 @@ down-maintenance: ## Stop the maintenance mode fi \ ,) +.PHONY: venv +venv: .venv ## Creates a python virtual environment with dev tools (pip, pylint, ...) +.venv: + @python3 -m venv .venv + @.venv/bin/pip3 install --upgrade pip wheel setuptools + @.venv/bin/pip3 install typer + @echo "To activate the venv, execute 'source .venv/bin/activate'" + # Misc: info & clean .PHONY: info info-vars info-local info: ## Displays some important info