Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-openldap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
et-public
docker-openldap
Commits
e65ef92a
Commit
e65ef92a
authored
3 years ago
by
Xueshan Feng
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md to switch to gitlab runner.
parent
2757906e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+2
-26
2 additions, 26 deletions
README.md
with
2 additions
and
26 deletions
README.md
+
2
−
26
View file @
e65ef92a
[[
_TOC_
]]
[

](https://
drone.svc
.stanford.edu/authnz/docker-openldap)
[

](https://
code
.stanford.edu/authnz/docker-openldap
/-/commits/master
)
# Stanford OpenLDAP in Container
This repository contains instructions on how to build and publish docker-openldap image to
Google Container Registry.
This repository supports
[
DroneCI
](
https://drone.svc.stanford.edu/authnz/docker-openldap
)
.
# Get and setup personal drone token
Drone CLI requires access token to authenticate to a drone server.
You can get your
[
personal token
](
https://drone.svc.stanford.edu/account/token
)
,
and save the token to ${HOME}/.drone-token file.
_NOTE_
: Make sure you do not have newline at the end of the token file. You will get authentication failure.
# Turn on the ci job defined in .drone.yml
NOTE: This will setup the hook for CI trigger. It needs to be done only once. You don't
need to run this if it's been setup already.
```
console
$
make drone-setup
...
```
See .drone.yml for build steps and triggers.
# Update OpenLdap image
To upgrade software version and base image, edit build.sh, env.sh to change
`OPENLDAP_VERSION`
, and edit
`.
drone
.yml`
to change tag.
To upgrade software version and base image, edit build.sh, env.sh to change
`OPENLDAP_VERSION`
, and edit
`.
gitlab
.yml`
to change tag.
If you make changes to the repository, you can test build manually. If the build is successful,
then commit and push changes to the docker-openldap repository. It will trigger CI/CD to build and upload
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment