Docker image for tests of viewer's php-api based on PHP 7.x
- ridibooks/viewer-php-api-test:7.0 (Dockerfile) - Docker image for tests of viewer's php-api based on PHP 7.0
- ridibooks/viewer-php-api-test:7.1 (Dockerfile) - Docker image for tests of viewer's php-api based on PHP 7.1
- ridibooks/viewer-php-api-test:7.2 (Dockerfile) - Docker image for tests of viewer's php-api based on PHP 7.2
- Download and install gitlab-ci-multi-runner
- Go to the project's directory that has
.gitlab-ci.yml
file. - Run
gitlab-runner exec ...
command like below:
# without SSH key
gitlab-runner exec docker [task_name]
# with SSH key
gitlab-runner exec docker [task_name] --env SSH_PRIVATE_KEY="`cat ~/.ssh/id_rsa`"