Simple web UI to manage users in AD. Used as a lightweight replacement to Windows box.
Together with samba-ad-dc and adtool provides Active Directory environment good enough to cover many integration testing cases.
Bare: BASE_DN="CN=Users,DC=domain,DC=local" DC_URL="dc-test-host" ./go-ad-man
Minikube: helm install ./k8s/go-ad-man/ -n ad-man -f ./k8s/vars_local.yml
EC2: helm install ./k8s/go-ad-man/ -n ad-man -f ./k8s/vars_ec2.yml
Note: Please review var-file before deploying GO-AD-MAN to your k8s cluster.
-
Build image
docker build -t builditdigital/go-ad-man-builder build
-
Run build in builder container
docker run --rm -ti -v $GOPATH/src:/go/src -w /go/src/github.com/electroma/go-ad-man builditdigital/go-ad-man-builder bash -c 'go get -v && make build'
-
Build Docker image
make package
ormake push
-
Deploy test setup with embedded ad-dc
helm install ./k8s/go-ad-man/ -n ad-man-test -f ./k8s/vars_test.yml --set service.hostName=[put ingress hostname here or leave blank if not needed] --set image.tag=[the image you’ve just built]
-
Execute test pack
URL=[your ingress url] npm run test
-
Do cleanup
helm delete --purge ad-man-test