Sign inSign up

soluto/tweek-blackbox

By soluto

Updated over 6 years ago

Tweek compose runner for blackbox tests

Image
1

1.9K

soluto/tweek-blackbox repository overview

tweek-blackbox

Use this docker image for blackbox tests

Usage

In order to use tweek-blackbox run the following command:

docker run --rm -v=/var/run/docker.sock:/var/run/docker.sock soluto/tweek-blackbox:latest
Explaination of the switches
  • --rm - remove container after it finishes running
  • -v=/var/run/docker.sock:/var/run/docker.sock - mount docker socket as a volume so docker-compose can run
Environement variables

Use the following environment variables to amend the port mapping and image version to use (using -e VARIABLE=VALUE)

  • GIT_PORT - default 4001
  • API_PORT - default 4003
  • AUTHORING_PORT - default 4005
  • GATEWAY_PORT - default 4006
  • PUBLISHING_SSH_PORT - default 4009
  • API_VERSION - default latest
  • PUBLISHING_VERSION - default latest
  • EDITOR_VERSION - default latest
  • AUTHORING_VERSION - default latest
  • PROJECT_NAME - default blackbox
Amending custom initial repository

Mount a volume with the files to /repo by adding a switch like this

-v=/local/path/to/repo/:/repo

The files will be added to bare repository upon startup

Default App for authoring API

The initial repository comes with the following default app settings

Secret: gm0RBGHQ3u25NfDMo7b3/N/GotzGutEN/7PCjdCnPm9mlmz6ZtEtPR+l7Rq+YgvPhWMFhtyIcH4MjcySBB3nkKUAnoiFU/3hM/7nlQycB6RfkjQCUHIp/cktk8nAF/RYNy4R8w54qnMtWUaNKvA1qutwPBQHuN3CJvm5nTGjZtA=

App id: a08c4f27-7969-4aff-aa4d-88af2c2de838

Permissions: All permissions except admin

Tag summary

Content type

Image

Digest

Size

38.3 MB

Last updated

over 6 years ago

docker pull soluto/tweek-blackbox