Skip to content

jumanjihouse/docker-etcd

Repository files navigation

Overview

etcd server based on Alpine Linux

Source: https://github.com/jumanjihouse/docker-etcd
Image: https://registry.hub.docker.com/u/jumanjiman/etcd/
Upstream: https://github.com/coreos/etcd/
Package: https://pkgs.alpinelinux.org/packages?name=etcd

Download size  Version  Source code  Docker Registry  CircleCI

Docker tags:

  • optimistic: latest
  • pessimistic: ${etcd_version}_${build_date}_git_${hash}

Example:

jumanjiman/etcd:3.2.1-r0_20170702T1659_git_6fead99
                ^^^^^^^^ ^^^^^^^^^^^^^     ^^^^^^^
                   |         |              |
                   |         |              +--> hash from this git repo
                   |         |
                   |         +-----------------> build date and time
                   |
                   +---------------------------> version of etcd

Usage

My current intent is to use this image to test other repos, such as https://github.com/jumanjihouse/docker-puppet/

Build and test

The test harness requires:

  • Python and the pip command
  • BATS

Output from ci/test resembles:

[yamllint] yamllint..........................................................................Passed
[check-added-large-files] Check for added large files........................................Passed
[check-case-conflict] Check for case conflicts...............................................Passed
[check-executables-have-shebangs] Check that executables have shebangs.......................Passed
[check-symlinks] Check for broken symlinks...............................(no files to check)Skipped
[check-vcs-permalinks] Check vcs permalinks..................................................Passed
[detect-private-key] Detect Private Key......................................................Passed
[forbid-crlf] CRLF end-lines checker.........................................................Passed
[forbid-tabs] No-tabs checker................................................................Passed
[forbid-binary] Forbid binaries..........................................(no files to check)Skipped
[git-check] Check for conflict markers and core.whitespace errors............................Passed
[git-dirty] Check if the git tree is dirty...................................................Passed
[shellcheck] Test shell scripts with shellcheck..............................................Passed
[shfmt] Check shell style with shfmt.........................................................Passed

ok image exists
ok tagged image exists
ok etcd is running
ok etcd is ready to serve client requests
- ci-build-url label is present (skipped: This test only runs on circleci)

5 tests, 0 failures, 1 skipped

License

See LICENSE in this repo.

About

etcd in a container; use in a test harness

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published