diff options
author | Lauris BH <lauris@nix.lv> | 2018-05-11 10:55:32 +0300 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2018-05-11 15:55:32 +0800 |
commit | ff3971b8304def1d592e522a391f545560b00788 (patch) | |
tree | 7420815b56298366e31c5678c15c6f7cc9a1ebef /.drone.yml | |
parent | aafb0ea1c630ec66315912a7e0966d87ad0deadc (diff) | |
download | gitea-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.yml | 8 |
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 ] |