From c9fade4220c0e42ae52d857be682d80c57cdccb3 Mon Sep 17 00:00:00 2001
From: Hannes Feldt <feldt@astron.nl>
Date: Tue, 10 Dec 2024 11:09:34 +0100
Subject: [PATCH] fix artifact size

---
 .gitlab-ci.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e6bdf6b..4ec5520 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -25,14 +25,13 @@ build-template:
     - git add .
     - git commit -m 'Test'
     - git push --dry-run -u origin test
+    - rm -r .venv
+    - rm -r .git
   # cannot use needs, for artifacts on child pipeline so must regenerate template!
   artifacts:
     paths:
       - my_awesome_app/*
       - project.gitlab-ci.yml
-    exclude:
-      - my_awesome_app/.venv
-      - my_awesome_app/.git
 
 # Spawn pipeline using the gitlab-ci.yml from generated template instance
 # use project.gitlab.ci.yml for necessary job overrides from this template instance
-- 
GitLab