From 5c124bd619f8b4994385f92cef4480c5d2352b39 Mon Sep 17 00:00:00 2001 From: Emile Swarts Date: Fri, 6 Dec 2024 13:27:57 +0000 Subject: [PATCH 1/2] Install endesive in build pipeline --- .copilot/phases/pre_build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.copilot/phases/pre_build.sh b/.copilot/phases/pre_build.sh index 34bd8bc76..8b9fd317b 100644 --- a/.copilot/phases/pre_build.sh +++ b/.copilot/phases/pre_build.sh @@ -22,4 +22,6 @@ path = django_db_anonymiser url = $git_clone_base_url/django-db-anonymiser.git EOF +sed -i 's/\[packages\]/[packages]\nendesive = "~=1.5.9"/' Pipfile + git submodule update --init --recursive From 42b2ae2c7563c2ed9b71b542bbcfb251203bab94 Mon Sep 17 00:00:00 2001 From: Emile Swarts Date: Fri, 6 Dec 2024 13:33:54 +0000 Subject: [PATCH 2/2] Generate Pipfile.lock after installation --- .copilot/phases/pre_build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.copilot/phases/pre_build.sh b/.copilot/phases/pre_build.sh index 8b9fd317b..2e20c8a88 100644 --- a/.copilot/phases/pre_build.sh +++ b/.copilot/phases/pre_build.sh @@ -22,6 +22,7 @@ path = django_db_anonymiser url = $git_clone_base_url/django-db-anonymiser.git EOF -sed -i 's/\[packages\]/[packages]\nendesive = "~=1.5.9"/' Pipfile - git submodule update --init --recursive + +sed -i 's/\[packages\]/[packages]\nendesive = "~=1.5.9"/' Pipfile +pipenv lock