mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 09:42:02 +08:00
Add documentation to docker_test.rb
This commit is contained in:
parent
a3f5878ec9
commit
6e7488178f
|
@ -1,3 +1,12 @@
|
|||
# This script is run in the discourse_test docker image
|
||||
# Available environment variables:
|
||||
# => COMMIT_HASH used by the discourse_test docker image to load a specific commit of discourse
|
||||
# this can also be set to a branch, e.g. "origin/tests-passed"
|
||||
# => SKIP_LINT if using the discourse_test docker image, this will skip the docker:test task, and only run the docker:lint task
|
||||
# => LINT_ONLY if using the discourse_test docker image, this will skip the docker:lint task, and only run the docker:test task
|
||||
#
|
||||
# See lib/tasks/docker.rake for other available environment variables
|
||||
|
||||
def run_or_fail(command)
|
||||
pid = Process.spawn(command)
|
||||
Process.wait(pid)
|
||||
|
|
Loading…
Reference in New Issue
Block a user