Set custom entrypoint for ci scripts to run image
increase timeout for cache push revert test db change
This commit is contained in:
parent
79a05909d5
commit
479f4c3fa4
3 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ before_script:
|
||||||
- sudo service postgresql stop
|
- sudo service postgresql stop
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
|
timeout: 1000
|
||||||
directories:
|
directories:
|
||||||
- $HOME/docker
|
- $HOME/docker
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ clean_cache() {
|
||||||
|
|
||||||
|
|
||||||
quay_run() {
|
quay_run() {
|
||||||
docker run --net=host -e TEST_DATABASE_URI -ti "${IMAGE}:${IMAGE_TAG}" "$@"
|
docker run --net=host --entrypoint "/bin/bash" -e TEST_DATABASE_URI -ti "${IMAGE}:${IMAGE_TAG}" -c "$*"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
Reference in a new issue