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
9a81ae2f
Commit
9a81ae2f
authored
2 years ago
by
Grzegorz Rola
Browse files
Options
Downloads
Patches
Plain Diff
feature(deploy): composer package
parent
f0afffcd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
includes/deploy.yml
+2
-0
2 additions, 0 deletions
includes/deploy.yml
includes/prepare.yml
+0
-1
0 additions, 1 deletion
includes/prepare.yml
includes/tests/codeception.yml
+1
-0
1 addition, 0 deletions
includes/tests/codeception.yml
includes/tests/lint.yml
+1
-0
1 addition, 0 deletions
includes/tests/lint.yml
with
4 additions
and
1 deletion
includes/deploy.yml
+
2
−
0
View file @
9a81ae2f
...
@@ -71,6 +71,7 @@ hooks docs refresh:
...
@@ -71,6 +71,7 @@ hooks docs refresh:
-
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}
-
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 auth.json
-
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
...
@@ -282,6 +283,7 @@ library:
...
@@ -282,6 +283,7 @@ library:
-
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}
-
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 auth.json
-
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
+
0
−
1
View file @
9a81ae2f
...
@@ -19,7 +19,6 @@ prepare prefixed vendor:
...
@@ -19,7 +19,6 @@ prepare prefixed vendor:
-
php --version
-
php --version
script
:
script
:
-
composer install
-
composer install
after_script
:
-
rm auth.json
-
rm auth.json
prepare npm assets
:
prepare npm assets
:
...
...
This diff is collapsed.
Click to expand it.
includes/tests/codeception.yml
+
1
−
0
View file @
9a81ae2f
...
@@ -53,6 +53,7 @@
...
@@ -53,6 +53,7 @@
-
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 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
-
if [ -f ${CI_PROJECT_DIR}/tests/codeception/bootstrap.sh ]; then rm auth.json; 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.
includes/tests/lint.yml
+
1
−
0
View file @
9a81ae2f
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
-
composer config gitlab-token.gitlab.wpdesk.dev gitlab-ci-token ${CI_JOB_TOKEN}
-
composer config gitlab-token.gitlab.wpdesk.dev gitlab-ci-token ${CI_JOB_TOKEN}
script
:
script
:
-
composer install --no-dev
-
composer install --no-dev
-
rm auth.json
-
find -name '*.php' -print0 |xargs -n1 -0 -P16 php -l |grep -v "No syntax errors detected" || exit
0
-
find -name '*.php' -print0 |xargs -n1 -0 -P16 php -l |grep -v "No syntax errors detected" || exit
0
lint:8.2
:
lint:8.2
:
...
...
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