Skip to content

Commit

Permalink
Update AMAUAT compose configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill committed Sep 5, 2023
1 parent 8688156 commit bfa7e33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hack/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ TAGS ?= black-box
BROWSER ?= Firefox
test-at-behave: test-at-build ## AMAUAT: run behave, default is `make test-at-behave TAGS=black-box BROWSER=Firefox`.
$(call compose_amauat, \
run --rm -e HEADLESS=1 --no-deps archivematica-acceptance-tests /usr/local/bin/behave \
run --rm -e HEADLESS=1 --no-deps archivematica-acceptance-tests behave \
--no-capture --no-capture-stderr --no-logcapture \
$(subst $(SPACE), --tags=,$(SPACE)$(TAGS)) --no-skipped -v --stop \
-D driver_name=$(BROWSER) \
Expand Down
6 changes: 5 additions & 1 deletion hack/docker-compose.acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ services:
build:
context: "./submodules/archivematica-acceptance-tests"
dockerfile: "Dockerfile"
args:
TARGET: "archivematica-acceptance-tests"
USER_ID: ${USER_ID:-1000}
GROUP_ID: ${GROUP_ID:-1000}
PYTHON_VERSION: ${PYTHON_VERSION:-3.9}
security_opt:
- "seccomp:unconfined"
volumes:
- "/dev/shm:/dev/shm"
- "./submodules/archivematica-acceptance-tests:/home/archivematica/acceptance-tests:rw"
- "./submodules/archivematica-sampledata:/home/archivematica/archivematica-sampledata:ro"
- "archivematica_pipeline_data:/var/archivematica/sharedDirectory:ro"
links:
Expand Down

0 comments on commit bfa7e33

Please sign in to comment.