Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Redis User Session Storage
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WP Plugins
Redis User Session Storage
Commits
0ccbeefc
Commit
0ccbeefc
authored
2 years ago
by
Erick Hitter
Browse files
Options
Downloads
Patches
Plain Diff
Test coverage
parent
e73803aa
No related branches found
No related tags found
1 merge request
!6
Add tests
Pipeline
#5047
failed with stages
in 2 minutes and 14 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+0
-6
0 additions, 6 deletions
.gitlab-ci.yml
tests/bootstrap.php
+4
-0
4 additions, 0 deletions
tests/bootstrap.php
with
4 additions
and
6 deletions
.gitlab-ci.yml
+
0
−
6
View file @
0ccbeefc
...
@@ -3,9 +3,3 @@ include:
...
@@ -3,9 +3,3 @@ include:
-
remote
:
https://git-cdn.e15r.co/gitlab/ci/wordpress/-/raw/main/plugins/templates/cache.yml
-
remote
:
https://git-cdn.e15r.co/gitlab/ci/wordpress/-/raw/main/plugins/templates/cache.yml
-
remote
:
https://git.ethitter.com/gitlab/ci/wordpress/-/raw/add/redis/plugins/templates/before-script-redis.yml
-
remote
:
https://git.ethitter.com/gitlab/ci/wordpress/-/raw/add/redis/plugins/templates/before-script-redis.yml
-
remote
:
https://git.ethitter.com/gitlab/ci/wordpress/-/raw/add/redis/plugins/templates/matrix-redis.yml
-
remote
:
https://git.ethitter.com/gitlab/ci/wordpress/-/raw/add/redis/plugins/templates/matrix-redis.yml
connect
:
# Connect to PostgreSQL database as user postgres, without password
image
:
redis
script
:
-
redis-cli -h redis PING
This diff is collapsed.
Click to expand it.
tests/bootstrap.php
+
4
−
0
View file @
0ccbeefc
...
@@ -5,6 +5,10 @@
...
@@ -5,6 +5,10 @@
* @package WP_Revisions_Control
* @package WP_Revisions_Control
*/
*/
if
(
!
defined
(
'WP_REDIS_USER_SESSION_HOST'
)
)
{
define
(
'WP_REDIS_USER_SESSION_HOST'
,
'redis'
);
}
$redis_user_session_storage
=
getenv
(
'WP_TESTS_DIR'
);
$redis_user_session_storage
=
getenv
(
'WP_TESTS_DIR'
);
if
(
!
$redis_user_session_storage
)
{
if
(
!
$redis_user_session_storage
)
{
...
...
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