From 61a8725d8db3986ad1c55fc4cc3090ad71222f32 Mon Sep 17 00:00:00 2001 From: Phil Weir Date: Thu, 16 Nov 2023 15:22:27 +0000 Subject: [PATCH] add CI snippet --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0490ce6..06bc788 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,8 @@ DOCKER_COMPOSE_COMMAND = ARCHES_PROJECT_ROOT=$(ARCHES_PROJECT_ROOT) ARCHES_BASE= CMD ?= create: docker - FORUSER=$(shell id -u) $(DOCKER_COMPOSE_COMMAND) run -e FORUSER=$${FORUSER} --entrypoint /bin/sh arches_base -c ". ../ENV/bin/activate; apt install -y git; pip install 'pyjwt<2.1,>=2.0.0' 'cryptography<3.4.0' --only-binary cryptography --only-binary cffi; cd /local_root; ls -ltr; id -u; arches-project create $(ARCHES_PROJECT) && mv docker Makefile $(ARCHES_PROJECT); ls -ltr; groupadd -g $${FORUSER} externaluser; useradd -u $${FORUSER} -g $${FORUSER} externaluser; chown -R $${FORUSER}:$${FORUSER} $(ARCHES_PROJECT); echo $$?; ls -ltr $(ARCHES_PROJECT)" + echo $(shell id -u) + FORUSER=$(shell id -u) $(DOCKER_COMPOSE_COMMAND) run -e FORUSER=$${FORUSER} --entrypoint /bin/sh arches_base -c ". ../ENV/bin/activate; apt install -y git; pip install 'pyjwt<2.1,>=2.0.0' 'cryptography<3.4.0' --only-binary cryptography --only-binary cffi; cd /local_root; ls -ltr; id -u; arches-project create $(ARCHES_PROJECT) && mv docker Makefile $(ARCHES_PROJECT); ls -ltr; echo $${FORUSER}; groupadd -g $${FORUSER} externaluser; useradd -u $${FORUSER} -g $${FORUSER} externaluser; chown -R $${FORUSER}:$${FORUSER} $(ARCHES_PROJECT); echo $$?; ls -ltr $(ARCHES_PROJECT)" .PHONY: docker docker: