Skip to content

Commit

Permalink
add CI snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Nov 16, 2023
1 parent 693fcfe commit 61a8725
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 61a8725

Please sign in to comment.