Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Docker file build steps

...

6.3.10. Prepare cloud images

Todo: add description of steps ? 

6.3.10.1 Docker image

This section Intented for preparing docker image for https://apacheignite.readme.io/docs/docker-deployment

Prerequisite: Docker installed. For example, for Windows you can download https://docs.docker.com/docker-for-windows/ You may need to register at docker hub.  

Docker build file is available at https://github.com/apache/ignite/tree/master/docker/apache-ignite

You can get binary distribution from vote folder of the release candidate.

Follow instructions from README file https://github.com/apache/ignite/blob/master/docker/apache-ignite/README.txt

To build image run following command (insert correct release number):

Code Block
languagebash
docker build . -t apacheignite/ignite:2.7.5

This build take distribution from some folder named like apache-ignite*

You can validate image created by calling

Code Block
languagebash
docker images

Run image to check it works well:

Code Block
languagebash
docker run -it --name apache-ignite <IMAGE>

To publish image run

Code Block
languagebash
docker login

Run

Code Block
languagebash
docker push apacheignite/ignite:2.7.5

Check results at https://hub.docker.com/r/apacheignite/ignite

6.3.10.2. AWS deployment

Todo: add description of steps ? 

Prepare the cloud images and update links to them here https://ignite.apache.org/download.cgi#docker. In addition, update the links to the images on the following documentation pages whenever is needed:

  1. httphttps://apacheignite.gridgainreadme.orgio/docs/docker-deploymentaws-deployment

6.3.10.3. GCE deployment

Todo: add description of steps ? 

  1. https://apacheignite.readme.io/docs/awsgoogle-compute-deployment

Prepare the cloud images and update links to them here https://

apacheignite

ignite.

readme

apache.

io/docs/google-compute-deployment

org/download.cgi#docker.

6.3.11. Update Web Console docker

Todo add description of the step ?

Update Web Console docker image: https://hub.docker.com/r/apacheignite/web-console-standalone/tags/

6.3.12. Delete previous release from dist SVN directory

Delete previous releases from https://dist.apache.org/repos/dist/release/ignite/..., replace their download URLs by https://archive.apache.org/dist/ignite/...

6.3.13. Upload NuGet packages to nuget.org

Retrieve all .nupkg files from build artifacts of step 4.5

Initial setup

You many need to install client tools for .NET https://docs.microsoft.com/en-us/nuget/install-nuget-client-tools (download file & add it to PATH). You can use nuget.exe 4.x version (because NuGet.exe 5.0 and later require .NET Framework 4.7.2 ).

It may be required to configure nuget.exe using NuGet.Config(XML) https://docs.microsoft.com/en-us/nuget/tools/cli-ref-push for using nuget.org as default push source .

You can find configuration file under user home directory, for example, on Windows

No Format
cd %appdata%\Nuget

 Example of configuration:

Code Block
languagexml
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
  </packageSources>
  <config>
    <add key="defaultPushSource" value="https://nuget.org/" />
  </config>
</configuration>


...