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
f0afffcd
Commit
f0afffcd
authored
2 years ago
by
Grzegorz Rola
Browse files
Options
Downloads
Patches
Plain Diff
feature(deploy): composer package
parent
265d6dd8
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
includes/deploy.yml
+4
-0
4 additions, 0 deletions
includes/deploy.yml
includes/tests/codeception.yml
+1
-0
1 addition, 0 deletions
includes/tests/codeception.yml
includes/tests/lint.yml
+2
-0
2 additions, 0 deletions
includes/tests/lint.yml
with
7 additions
and
0 deletions
includes/deploy.yml
+
4
−
0
View file @
f0afffcd
...
...
@@ -55,6 +55,8 @@ hooks docs refresh:
paths
:
-
release
-
release.zip
before_script
:
-
composer config gitlab-token.gitlab.wpdesk.dev gitlab-ci-token ${CI_JOB_TOKEN}
script
:
-
echo ${WPDESK_CI_VERSION}
-
php --version
...
...
@@ -270,6 +272,8 @@ library:
name
:
"
${CI_PROJECT_NAME}-${CI_COMMIT_REF_NAME}"
paths
:
-
wp-desk
before_script
:
-
composer config gitlab-token.gitlab.wpdesk.dev gitlab-ci-token ${CI_JOB_TOKEN}
script
:
-
rm -rf ${CI_PROJECT_DIR}/wp-desk
-
mkdir -p /tmp/wp-desk
...
...
This diff is collapsed.
Click to expand it.
includes/tests/codeception.yml
+
1
−
0
View file @
f0afffcd
...
...
@@ -41,6 +41,7 @@
allow_failure
:
false
interruptible
:
true
before_script
:
-
composer config gitlab-token.gitlab.wpdesk.dev gitlab-ci-token ${CI_JOB_TOKEN}
-
echo "xdebug.max_nesting_level=2560" >> /usr/local/etc/php/php.ini
-
export DEPENDENT_PLUGINS_DIR=${CI_PROJECT_DIR}/tests/dependent_plugins
-
mkdir -p /cache/wp-cli
...
...
This diff is collapsed.
Click to expand it.
includes/tests/lint.yml
+
2
−
0
View file @
f0afffcd
...
...
@@ -2,6 +2,8 @@
needs
:
-
prepare prefixed vendor
stage
:
tests
before_script
:
-
composer config gitlab-token.gitlab.wpdesk.dev gitlab-ci-token ${CI_JOB_TOKEN}
script
:
-
composer install --no-dev
-
find -name '*.php' -print0 |xargs -n1 -0 -P16 php -l |grep -v "No syntax errors detected" || exit
0
...
...
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