Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
apache
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
webarch
apache
Commits
6d4f507f
Commit
6d4f507f
authored
5 years ago
by
Chris Croome
Browse files
Options
Downloads
Patches
Plain Diff
tests updated
parent
be514d69
No related branches found
No related tags found
No related merge requests found
Pipeline
#9790
passed
5 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/checks.yml
+5
-12
5 additions, 12 deletions
tasks/checks.yml
with
5 additions
and
12 deletions
tasks/checks.yml
+
5
−
12
View file @
6d4f507f
---
# TODO Check that the supplied variables are sane, for example we can't have no
# mpm or we can't have mpm_event and mpm_prefork
-
name
:
Check that only one of mpm_prefork or mpm_events is enabled or disabled
block
:
-
name
:
Check that a
mpm
is enabled
-
name
:
Check that a
t least one module is in apache_mods_enabled and that either mpm_event or mpm_prefork
is enabled
assert
:
that
:
-
( apache_mods_enabled is defined ) and ( apache_mods_enabled[0] is defined )
-
( "mpm_prefork" in apache_mods_enabled ) or ( "mpm_event" in apache_mods_enabled )
-
name
:
Checks when mpm_event enabled
assert
:
that
:
-
( "mpm_prefork" not in apache_mods_enabled )
-
( "mpm_event" not in apache_mods_diabled )
-
( "mpm_itk" not in apache_mods_diabled )
-
( "mpm_event" not in apache_mods_di
s
abled )
-
( "mpm_itk" not in apache_mods_di
s
abled )
when
:
( "mpm_event" in apache_mods_enabled )
-
name
:
Checks when mpm_prefork enabled
assert
:
that
:
-
( "mpm_event" not in apache_mods_enabled )
-
( "mpm_prefork" not in apache_mods_diabled )
-
( "mpm_prefork" not in apache_mods_di
s
abled )
when
:
( "mpm_prefork" in apache_mods_enabled )
-
name
:
Check that a mpm is enabled
assert
:
that
:
-
( "mpm_prefork" in apache_mods_enabled ) or ( "mpm_event" in apache_mods_enabled )
-
name
:
Check the Apache version, modules and conf, loaded and enabled
block
:
...
...
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