feat: remove openldap dependencies from apisix
- Dominant language
- Lua
- Stars
- 17.1k
- Forks
- 2.9k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 63
Description
### Description
With lua-resty-ldap, apisix does not need openldap related dependencies anymore.
We could remove it in these files:
* .github/workflows/fuzzing-ci.yaml:53: sudo apt-get install -y git openresty curl openresty-openssl111-dev unzip make gcc libldap2-dev
* ci/centos7-ci.sh:26: git sudo openldap-devel which libxml2-devel openssl-devel libxslt-devel
* ci/common.sh:130: apt install -y cpanminus build-essential libncurses5-dev libreadline-dev libssl-dev perl libpcre3 libpcre3-dev libldap2-dev
* ci/performance_test.sh:25: apt-get -y install lua5.1 liblua5.1-0-dev libldap2-dev
* ci/pod/docker-compose.plugin.yml:148: openldap:
* docs/en/latest/building-apisix.md:94: brew install openldap
* t/chaos/utils/Dockerfile:34: openldap-dev
* utils/install-dependencies.sh:49: local common_dep="curl wget git gcc openresty-openssl111-devel unzip pcre pcre-devel openldap-devel"
* utils/install-dependencies.sh:87: sudo apt-get install -y git openresty curl openresty-openssl111-dev make gcc libpcre3 libpcre3-dev libldap2-dev unzip
* utils/install-dependencies.sh:93: brew install openresty/brew/openresty luarocks lua@5.1 wget curl git pcre openldap
* utils/linux-install-openresty.sh:51:sudo apt-get install "$openresty" openresty-openssl111-debug-dev libldap2-dev
We should also remove it in build-tools:
https://github.com/api7/apisix-build-tools/blob/acedbc07990929efd066b1c25b53e09c6d0d085f/package-apisix.sh#L10
Contributor guide
Research direction
Start by reviewing the listed dependency-installation files, including .github/workflows/fuzzing-ci.yaml, the ci and utils scripts, docs/en/latest/building-apisix.md, and t/chaos/utils/Dockerfile. Check the referenced apisix-build-tools package-apisix.sh as well. Done means the obsolete OpenLDAP dependencies and service references are removed from these locations without breaking the affected installation and CI workflows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- build-system, ci-cd, devops
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100