This repository was archived by the owner on Mar 23, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,14 +91,14 @@ start: ## Manually start the local infrastructure for testing
9191 ($( VENV_RUN) ; python3 -m localstack.runtime.main)
9292
9393docker-run-tests : # # Initializes the test environment and runs the tests in a docker container
94- docker run -e LOCALSTACK_INTERNAL_TEST_COLLECT_METRIC=1 --entrypoint= -v ` pwd` /.git:/opt/code/localstack/.git -v ` pwd` /requirements-test.txt:/opt/code/localstack/requirements-test.txt -v ` pwd` /.test_durations:/opt/code/localstack/.test_durations -v ` pwd` /tests/:/opt/code/localstack/tests/ -v ` pwd` /dist/:/opt/code/localstack/dist/ -v ` pwd` /target/:/opt/code/localstack/target/ -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/localstack:/var/lib/localstack \
94+ docker run -e LOCALSTACK_INTERNAL_TEST_COLLECT_METRIC=1 -e DOCKERHUB_USERNAME -e DOCKERHUB_PASSWORD - -entrypoint= -v ` pwd` /.git:/opt/code/localstack/.git -v ` pwd` /requirements-test.txt:/opt/code/localstack/requirements-test.txt -v ` pwd` /.test_durations:/opt/code/localstack/.test_durations -v ` pwd` /tests/:/opt/code/localstack/tests/ -v ` pwd` /dist/:/opt/code/localstack/dist/ -v ` pwd` /target/:/opt/code/localstack/target/ -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/localstack:/var/lib/localstack \
9595 $(IMAGE_NAME ) :$(DEFAULT_TAG ) \
9696 bash -c " make install-test && DEBUG=$( DEBUG) PYTEST_LOGLEVEL=$( PYTEST_LOGLEVEL) PYTEST_ARGS='$( PYTEST_ARGS) ' COVERAGE_FILE='$( COVERAGE_FILE) ' JUNIT_REPORTS_FILE=$( JUNIT_REPORTS_FILE) TEST_PATH='$( TEST_PATH) ' LAMBDA_IGNORE_ARCHITECTURE=1 LAMBDA_INIT_POST_INVOKE_WAIT_MS=50 TINYBIRD_PYTEST_ARGS='$( TINYBIRD_PYTEST_ARGS) ' TINYBIRD_DATASOURCE='$( TINYBIRD_DATASOURCE) ' TINYBIRD_TOKEN='$( TINYBIRD_TOKEN) ' TINYBIRD_URL='$( TINYBIRD_URL) ' CI_REPOSITORY_NAME='$( CI_REPOSITORY_NAME) ' CI_WORKFLOW_NAME='$( CI_WORKFLOW_NAME) ' CI_COMMIT_BRANCH='$( CI_COMMIT_BRANCH) ' CI_COMMIT_SHA='$( CI_COMMIT_SHA) ' CI_JOB_URL='$( CI_JOB_URL) ' CI_JOB_NAME='$( CI_JOB_NAME) ' CI_JOB_ID='$( CI_JOB_ID) ' CI='$( CI) ' TEST_AWS_REGION_NAME='${TEST_AWS_REGION_NAME} ' TEST_AWS_ACCESS_KEY_ID='${TEST_AWS_ACCESS_KEY_ID} ' TEST_AWS_ACCOUNT_ID='${TEST_AWS_ACCOUNT_ID} ' make test-coverage"
9797
9898docker-run-tests-s3-only : # # Initializes the test environment and runs the tests in a docker container for the S3 only image
9999 # TODO: We need node as it's a dependency of the InfraProvisioner at import time, remove when we do not need it anymore
100100 # g++ is a workaround to fix the JPype1 compile error on ARM Linux "gcc: fatal error: cannot execute ‘cc1plus’" because the test dependencies include the runtime dependencies.
101- docker run -e LOCALSTACK_INTERNAL_TEST_COLLECT_METRIC=1 --entrypoint= -v ` pwd` /.git:/opt/code/localstack/.git -v ` pwd` /requirements-test.txt:/opt/code/localstack/requirements-test.txt -v ` pwd` /tests/:/opt/code/localstack/tests/ -v ` pwd` /target/:/opt/code/localstack/target/ -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/localstack:/var/lib/localstack \
101+ docker run -e LOCALSTACK_INTERNAL_TEST_COLLECT_METRIC=1 -e DOCKERHUB_USERNAME -e DOCKERHUB_PASSWORD - -entrypoint= -v ` pwd` /.git:/opt/code/localstack/.git -v ` pwd` /requirements-test.txt:/opt/code/localstack/requirements-test.txt -v ` pwd` /tests/:/opt/code/localstack/tests/ -v ` pwd` /target/:/opt/code/localstack/target/ -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/localstack:/var/lib/localstack \
102102 $(IMAGE_NAME ) :$(DEFAULT_TAG ) \
103103 bash -c " apt-get update && apt-get install -y g++ git && make install-test && apt-get install -y --no-install-recommends gnupg && mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo \" deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main\" > /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install -y --no-install-recommends nodejs && DEBUG=$( DEBUG) PYTEST_LOGLEVEL=$( PYTEST_LOGLEVEL) PYTEST_ARGS='$( PYTEST_ARGS) ' TEST_PATH='$( TEST_PATH) ' TINYBIRD_PYTEST_ARGS='$( TINYBIRD_PYTEST_ARGS) ' TINYBIRD_DATASOURCE='$( TINYBIRD_DATASOURCE) ' TINYBIRD_TOKEN='$( TINYBIRD_TOKEN) ' TINYBIRD_URL='$( TINYBIRD_URL) ' CI_COMMIT_BRANCH='$( CI_COMMIT_BRANCH) ' CI_COMMIT_SHA='$( CI_COMMIT_SHA) ' CI_JOB_URL='$( CI_JOB_URL) ' CI_JOB_NAME='$( CI_JOB_NAME) ' CI_JOB_ID='$( CI_JOB_ID) ' CI='$( CI) ' make test"
104104
You can’t perform that action at this time.
0 commit comments