aboutsummaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2018-05-11 10:55:32 +0300
committerLunny Xiao <xiaolunwen@gmail.com>2018-05-11 15:55:32 +0800
commitff3971b8304def1d592e522a391f545560b00788 (patch)
tree7420815b56298366e31c5678c15c6f7cc9a1ebef /.drone.yml
parentaafb0ea1c630ec66315912a7e0966d87ad0deadc (diff)
downloadgitea-ff3971b8304def1d592e522a391f545560b00788.tar.gz
gitea-ff3971b8304def1d592e522a391f545560b00788.zip
Add LDAP integration tests (#3897)
* Add LDAP service for tests * Add LDAP login source and test user sign-in * Add checks to test if user data is correct * Add LDAP user sync test * Add failed user sign-in test
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index c568050d44..1fd42fa4ec 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -134,6 +134,7 @@ pipeline:
group: test
environment:
TAGS: bindata
+ TEST_LDAP: "1"
commands:
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
- apt-get install -y git-lfs
@@ -148,6 +149,7 @@ pipeline:
group: test
environment:
TAGS: bindata
+ TEST_LDAP: "1"
commands:
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
- apt-get install -y git-lfs
@@ -161,6 +163,7 @@ pipeline:
group: test
environment:
TAGS: bindata
+ TEST_LDAP: "1"
commands:
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
- apt-get install -y git-lfs
@@ -336,3 +339,8 @@ services:
- POSTGRES_DB=test
when:
event: [ push, tag, pull_request ]
+
+ ldap:
+ image: gitea/test-openldap:latest
+ when:
+ event: [ push, tag, pull_request ]