remove docker-on-docker hacks from Jenkinsfile
This commit is contained in:
parent
c654f02a53
commit
68dee45782
|
@ -6,8 +6,8 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
sh """
|
sh """
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
--volumes-from jenkins-docker_app_1 \
|
--workdir /app \
|
||||||
--workdir ${env.WORKSPACE} \
|
-v ${env.WORKSPACE}:/app \
|
||||||
php:8.1-cli \
|
php:8.1-cli \
|
||||||
php ./vendor/bin/phpunit
|
php ./vendor/bin/phpunit
|
||||||
"""
|
"""
|
||||||
|
@ -18,8 +18,8 @@ pipeline {
|
||||||
sh """
|
sh """
|
||||||
# php -d memory_limit=-1 ....
|
# php -d memory_limit=-1 ....
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
--volumes-from jenkins-docker_app_1 \
|
--workdir /app \
|
||||||
--workdir ${env.WORKSPACE} \
|
-v ${env.WORKSPACE}:/app \
|
||||||
php:8.1-cli \
|
php:8.1-cli \
|
||||||
php -d memory_limit=-1 ./vendor/bin/phpstan --memory-limit=2G
|
php -d memory_limit=-1 ./vendor/bin/phpstan --memory-limit=2G
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue