Add clarification for Docker image releases TINKERPOP-1897
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/80931cee Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/80931cee Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/80931cee Branch: refs/heads/TINKERPOP-1975 Commit: 80931cee80613c1f910f26c6ceeb25bcf796cd83 Parents: e3c6dde Author: Florian Hockmann <f...@florian-hockmann.de> Authored: Wed May 23 18:30:53 2018 +0200 Committer: Florian Hockmann <f...@florian-hockmann.de> Committed: Mon Jun 4 15:57:29 2018 +0200 ---------------------------------------------------------------------- docs/src/dev/developer/development-environment.asciidoc | 8 +++++--- docs/src/dev/developer/release.asciidoc | 5 +++++ 2 files changed, 10 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/80931cee/docs/src/dev/developer/development-environment.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/dev/developer/development-environment.asciidoc b/docs/src/dev/developer/development-environment.asciidoc index c50b189..cb20d4e 100644 --- a/docs/src/dev/developer/development-environment.asciidoc +++ b/docs/src/dev/developer/development-environment.asciidoc @@ -197,9 +197,11 @@ authentication information on the ~/.npmrc file. The easiest way to do that is t must be done only once, as the auth token doesn't have an expiration date and it's stored on your file system. If this account is newly created then request that a PMC member add your account to the "gremlin" package on npm. -Deploying Docker images to link:https://hub.docker.com/[Docker Hub] requires authentication information in the -`~/.docker/config.json` file. This information can simply be added with the `docker login` command which will ask for -credentials. This must be done only once. Afterwards, `docker push` can be used to push images to Docker Hub which will +Deploying Docker images to link:https://hub.docker.com/[Docker Hub] requires an account that is a member of the TinkerPop +organization. So if you don't already have an account on Docker Hub then create one and request that +a PMC member adds your account to the TinkerPop organization. Afterwards, authentication information needs to be added to +the `~/.docker/config.json` file. This information can simply be added with the `docker login` command which will ask for +credentials. This must be done only once. Finally, `docker push` can be used to push images to Docker Hub which will be done automatically on `mvn deploy` or it can be triggered manually with `mvn dockerfile:push`. [[building-testing]] http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/80931cee/docs/src/dev/developer/release.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/dev/developer/release.asciidoc b/docs/src/dev/developer/release.asciidoc index 473e842..7963004 100644 --- a/docs/src/dev/developer/release.asciidoc +++ b/docs/src/dev/developer/release.asciidoc @@ -233,6 +233,11 @@ for generating javadoc and without that the binary distributions won't contain t .. `mvn deploy -pl gremlin-javascript -DskipTests -Dnpm` . Review the GLV releases at link:https://pypi.org/project/gremlinpython/[PyPi], link:https://www.nuget.org/packages/Gremlin.Net/[nuget] and link:https://www.npmjs.com/package/gremlin[npm] +. Deploy the Docker images +.. `mvn deploy -pl gremlin-console -DskipTests -Pdocker-images` +.. `mvn deploy -pl gremlin-server -DskipTests -Pdocker-images` +. Review the deployed Docker images at link:https://hub.docker.com/r/tinkerpop/gremlin-console/[Console] +and link:https://hub.docker.com/r/tinkerpop/gremlin-server/[Server] . `svn co --depth empty https://dist.apache.org/repos/dist/dev/tinkerpop dev; svn up dev/xx.yy.zz` . `svn co --depth empty https://dist.apache.org/repos/dist/release/tinkerpop release; mkdir release/xx.yy.zz` . Copy release files from `dev/xx.yy.zz` to `release/xx.yy.zz`.