Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
gitlab-ci
Commits
2520571d
Verified
Commit
2520571d
authored
2 years ago
by
Bartek Jaskulski
Browse files
Options
Downloads
Patches
Plain Diff
refactor: globally raise memory limit for composer ops
Signed-off-by:
Bart Jaskulski
<
bjaskulski@protonmail.com
>
parent
67f0cf10
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
gitlab-ci-1.2.yml
+1
-0
1 addition, 0 deletions
gitlab-ci-1.2.yml
includes/deploy.yml
+2
-2
2 additions, 2 deletions
includes/deploy.yml
includes/prepare.yml
+1
-1
1 addition, 1 deletion
includes/prepare.yml
includes/tests/codeception.yml
+1
-1
1 addition, 1 deletion
includes/tests/codeception.yml
with
5 additions
and
4 deletions
gitlab-ci-1.2.yml
+
1
−
0
View file @
2520571d
...
@@ -7,6 +7,7 @@ variables:
...
@@ -7,6 +7,7 @@ variables:
MYSQL_INNODB_LOG_BUFFER_SIZE
:
"
32M"
MYSQL_INNODB_LOG_BUFFER_SIZE
:
"
32M"
PHP_ERROR_REPORTING
:
"
E_ALL"
PHP_ERROR_REPORTING
:
"
E_ALL"
COMPOSER_ALLOW_SUPERUSER
:
"
1"
COMPOSER_ALLOW_SUPERUSER
:
"
1"
COMPOSER_MEMORY_LIMIT
:
"
-1"
GIT_STRATEGY
:
"
fetch"
GIT_STRATEGY
:
"
fetch"
CONTRIBUTORS
:
"
wpdesk,dyszczo,grola,piotrpo,marcinkolanko"
CONTRIBUTORS
:
"
wpdesk,dyszczo,grola,piotrpo,marcinkolanko"
MINIMAL_WP_TESTED_UP
:
"
5.4"
MINIMAL_WP_TESTED_UP
:
"
5.4"
...
...
This diff is collapsed.
Click to expand it.
includes/deploy.yml
+
2
−
2
View file @
2520571d
...
@@ -65,7 +65,7 @@ hooks docs refresh:
...
@@ -65,7 +65,7 @@ hooks docs refresh:
-
cp -rf /tmp/release/* ${CI_PROJECT_DIR}/release/${CI_PROJECT_NAME}
-
cp -rf /tmp/release/* ${CI_PROJECT_DIR}/release/${CI_PROJECT_NAME}
-
if [ -d "/tmp/release/.wordpress-org" ]; then mkdir ${CI_PROJECT_DIR}/release/${CI_PROJECT_NAME}/.wordpress-org && cp -rf /tmp/release/.wordpress-org/* ${CI_PROJECT_DIR}/release/${CI_PROJECT_NAME}/.wordpress-org; fi
-
if [ -d "/tmp/release/.wordpress-org" ]; then mkdir ${CI_PROJECT_DIR}/release/${CI_PROJECT_NAME}/.wordpress-org && cp -rf /tmp/release/.wordpress-org/* ${CI_PROJECT_DIR}/release/${CI_PROJECT_NAME}/.wordpress-org; fi
-
cd ${CI_PROJECT_DIR}/release/${CI_PROJECT_NAME}
-
cd ${CI_PROJECT_DIR}/release/${CI_PROJECT_NAME}
-
COMPOSER_MEMORY_LIMIT=-1 &&
php -d memory_limit=-1 /usr/local/bin/composer install --no-dev --no-progress --optimize-autoloader --prefer-dist
-
php -d memory_limit=-1 /usr/local/bin/composer install --no-dev --no-progress --optimize-autoloader --prefer-dist
-
rm -rf build-coverage release tests docs .git .editorconfig .gitignore .gitlab-ci.yml apigen.neon phpunit.xml acceptance test_soap.php .gitlab
-
rm -rf build-coverage release tests docs .git .editorconfig .gitignore .gitlab-ci.yml apigen.neon phpunit.xml acceptance test_soap.php .gitlab
-
rm -rf composer.json composer.lock phpcs.xml.dist phpunit-integration.xml phpunit-unit.xml composer.phar wp-cli.phar functional tmp_artifacts .tmp tools codeception.dist.yml .env.testing wp-install.sh
-
rm -rf composer.json composer.lock phpcs.xml.dist phpunit-integration.xml phpunit-unit.xml composer.phar wp-cli.phar functional tmp_artifacts .tmp tools codeception.dist.yml .env.testing wp-install.sh
-
rm -rf phpcs.xml.dist phpunit-integration.xml phpunit-unit.xml wp-cli.phar functional tmp_artifacts scoper.inc.php phpstan.dist phpstan.neon.dist
-
rm -rf phpcs.xml.dist phpunit-integration.xml phpunit-unit.xml wp-cli.phar functional tmp_artifacts scoper.inc.php phpstan.dist phpstan.neon.dist
...
@@ -270,7 +270,7 @@ library:
...
@@ -270,7 +270,7 @@ library:
-
cp -rf ${CI_PROJECT_DIR}/* /tmp/wp-desk
-
cp -rf ${CI_PROJECT_DIR}/* /tmp/wp-desk
-
cp -rf /tmp/wp-desk/* ${CI_PROJECT_DIR}/wp-desk/${CI_PROJECT_NAME}
-
cp -rf /tmp/wp-desk/* ${CI_PROJECT_DIR}/wp-desk/${CI_PROJECT_NAME}
-
cd ${CI_PROJECT_DIR}/wp-desk/${CI_PROJECT_NAME}
-
cd ${CI_PROJECT_DIR}/wp-desk/${CI_PROJECT_NAME}
-
COMPOSER_MEMORY_LIMIT=-1 &&
php -d memory_limit=-1 /usr/local/bin/composer install --no-dev --no-progress --optimize-autoloader --prefer-dist
-
php -d memory_limit=-1 /usr/local/bin/composer install --no-dev --no-progress --optimize-autoloader --prefer-dist
-
rm -rf build-coverage wp-desk release tests docs .git .editorconfig .gitignore .gitlab-ci.yml apigen.neon phpunit.xml acceptance test_soap.php .gitlab
-
rm -rf build-coverage wp-desk release tests docs .git .editorconfig .gitignore .gitlab-ci.yml apigen.neon phpunit.xml acceptance test_soap.php .gitlab
-
rm -rf composer.json composer.lock phpcs.xml.dist phpunit-integration.xml phpunit-unit.xml composer.phar wp-cli.phar functional tmp_artifacts .tmp tools
-
rm -rf composer.json composer.lock phpcs.xml.dist phpunit-integration.xml phpunit-unit.xml composer.phar wp-cli.phar functional tmp_artifacts .tmp tools
-
rm -rf assets-src package.json package-lock.json .babelrc weback.mix.js
-
rm -rf assets-src package.json package-lock.json .babelrc weback.mix.js
...
...
This diff is collapsed.
Click to expand it.
includes/prepare.yml
+
1
−
1
View file @
2520571d
...
@@ -22,7 +22,7 @@ prepare prefixed vendor:
...
@@ -22,7 +22,7 @@ prepare prefixed vendor:
-
php --version
-
php --version
-
apk update && apk upgrade && apk add git libxml2-dev
-
apk update && apk upgrade && apk add git libxml2-dev
-
docker-php-ext-install soap
-
docker-php-ext-install soap
-
COMPOSER_MEMORY_LIMIT=-1 &&
composer install
-
composer install
prepare npm assets
:
prepare npm assets
:
<<
:
*job-prepare
<<
:
*job-prepare
...
...
This diff is collapsed.
Click to expand it.
includes/tests/codeception.yml
+
1
−
1
View file @
2520571d
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
-
mkdir -p /project
-
mkdir -p /project
-
if [ -f ${CI_PROJECT_DIR}/tests/codeception/bootstrap.sh ]; then cp -r ${CI_PROJECT_DIR}/. /project; fi
-
if [ -f ${CI_PROJECT_DIR}/tests/codeception/bootstrap.sh ]; then cp -r ${CI_PROJECT_DIR}/. /project; fi
-
if [ -f ${CI_PROJECT_DIR}/tests/codeception/bootstrap.sh ]; then cd /project; fi
-
if [ -f ${CI_PROJECT_DIR}/tests/codeception/bootstrap.sh ]; then cd /project; fi
-
if [ -f ${CI_PROJECT_DIR}/tests/codeception/bootstrap.sh ]; then
COMPOSER_MEMORY_LIMIT=-1
composer install --no-progress --prefer-dist --no-dev; fi
-
if [ -f ${CI_PROJECT_DIR}/tests/codeception/bootstrap.sh ]; then composer install --no-progress --prefer-dist --no-dev; fi
-
cd ${CI_PROJECT_DIR}
-
cd ${CI_PROJECT_DIR}
-
mkdir -p ${APACHE_DOCUMENT_ROOT}
-
mkdir -p ${APACHE_DOCUMENT_ROOT}
-
cd ${APACHE_DOCUMENT_ROOT}
-
cd ${APACHE_DOCUMENT_ROOT}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment