Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
lemonldap-ng
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
204d2a4e
Commit
204d2a4e
authored
May 13, 2018
by
Xavier Guimard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some DevOps entries in test conf
parent
77a558e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
Makefile
Makefile
+1
-0
e2e-tests/test-nginx.conf
e2e-tests/test-nginx.conf
+8
-0
No files found.
Makefile
View file @
204d2a4e
...
...
@@ -408,6 +408,7 @@ prepare_test_server:
@
cp
-f
$(SRCMANAGERDIR)
/site/htdocs/manager
*
e2e-tests/conf/manager
@
cp
-f
$(SRCPORTALDIR)
/site/htdocs/index
*
e2e-tests/conf/portal
@
cp
e2e-tests/saml-sp.xml e2e-tests/conf/site/saml-sp.xml
@
cp
e2e-tests/rules.json e2e-tests/conf/site/test.json
@
for
f
in
$$
(
find e2e-tests/conf
-name
'*.fcgi'
)
;
do
\
perl
-i
-pe
'if($$.==2){print "BEGIN{\n"; print qq(use lib q('
`
pwd
`
'/lemonldap-ng-$$_/blib/lib);\n) foreach qw(common handler portal manager); print "}\n"; }'
$$
f
;
\
done
...
...
e2e-tests/test-nginx.conf
View file @
204d2a4e
...
...
@@ -9,6 +9,8 @@ server {
include
/
etc
/
nginx
/
fastcgi_params
;
fastcgi_pass
unix
:
__
pwd__
/
e2e
-
tests
/
conf
/
llng
-
fastcgi
.
sock
;
#fastcgi_pass 127.0.0.1:9090;
#fastcgi_param RULES_URL "http://test2.example.com:__port__/test.json";
#fastcgi_param VHOSTTYPE "DevOps";
# Drop post datas
fastcgi_pass_request_body
off
;
...
...
@@ -40,6 +42,12 @@ server {
include
conf
/
nginx
-
lua
-
headers
.
conf
;
}
location
/
test
.
json
{
auth_request
off
;
allow
127
.
0
.
0
.
0
/
8
;
deny
all
;
}
location
/
rules
.
json
{
auth_request
off
;
allow
127
.
0
.
0
.
0
/
8
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment