Skip to content

Scalingo/go-plugins-helpers

 
 

Repository files navigation

go-plugins-helpers v2.0.0

A collection of helper packages to extend Docker Engine in Go

Plugin type Documentation Description
Authorization Link Extend API authorization mechanism
Network Link Extend network management
Volume Link Extend persistent storage
IPAM Link Extend IP address management

See the understand Docker plugins documentation section.

Test Environment

In a non-Docker environment, you may want to define the environment variable PLUGIN_SPEC_DIR to a user-writable folder such as:

PLUGIN_SPEC_DIR=$(pwd)/_dev go test -v ./...

Release a New Version

Bump new version number in:

  • CHANGELOG.md
  • README.md

Commit, tag and create a new release:

version="2.0.0"

git switch --create release/${version}
git add CHANGELOG.md README.md
git commit --message="Bump v${version}"
git push --set-upstream origin release/${version}
gh pr create --reviewer=EtienneM --title "$(git log -1 --pretty=%B)"

Once the pull request merged, you can tag the new release.

git tag v${version}
git push origin master v${version}
gh release create v${version}

The title of the release should be the version number and the text of the release is the same as the changelog.

See the understand Docker plugins documentation section.

Packages

No packages published

Languages

  • Go 99.7%
  • Dockerfile 0.3%