Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Nuget upload described

...

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. http://apacheignite.gridgain.org/docs/docker-deployment
  2. https://apacheignite.readme.io/docs/aws-deployment
  3. https://apacheignite.readme.io/docs/google-compute-deployment

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 You may require to install client tools for .NET https://docs.microsoft.com/en-us/nuget/install-nuget-client-toolsCredentials (API key to push packages) can be found in  (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://svndocs.apachemicrosoft.orgcom/reposen-us/privatenuget/pmc/ignite/credentials/nuget.org (PMC only, use Apache ID to login).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>


Credentials (API key to push packages) can be found in https://svn.apache.org/repos/private/pmc/ignite/credentials/nuget.org (PMC only, use Apache ID to login).

Windows

Windows, .NET Classic, PowerShell: 

No Format
ls *.nupkg | % { nuget push $_.FullName API_KEY_HERE }

Power shell example ouptput:


Expand


No Format
>  ls *.nupkg | % { .\nuget push $_.FullName API_KEY_HERE}
Pushing Apache.Ignite.2.7.5.nupkg to 'https://nuget.org/'...
  PUT https://nuget.org/api/v2/package/
ПРЕДУПРЕЖДЕНИЕ. <licenseUrl> element will be deprecated,please consider switching to specifying the license in the package. Learn more: https://aka.ms/deprecateLicenseUrl.
  Created https://nuget.org/api/v2/package/ 16736ms
Your package was pushed.
Pushing Apache.Ignite.AspNet.2.7.5.nupkg to 'https://nuget.org/'...
  PUT https://nuget.org/api/v2/package/
ПРЕДУПРЕЖДЕНИЕ. <licenseUrl> element will be deprecated,please consider switching to specifying the license in the package. Learn more: https://aka.ms/deprecateLicenseUrl.
  Created https://nuget.org/api/v2/package/ 2378ms
Your package was pushed.
Pushing Apache.Ignite.EntityFramework.2.7.5.nupkg to 'https://nuget.org/'...
  PUT https://nuget.org/api/v2/package/
ПРЕДУПРЕЖДЕНИЕ. <licenseUrl> element will be deprecated,please consider switching to specifying the license in the package. Learn more: https://aka.ms/deprecateLicenseUrl.
  Created https://nuget.org/api/v2/package/ 3021ms
Your package was pushed.
Pushing Apache.Ignite.Linq.2.7.5.nupkg to 'https://nuget.org/'...
  PUT https://nuget.org/api/v2/package/
ПРЕДУПРЕЖДЕНИЕ. <licenseUrl> element will be deprecated,please consider switching to specifying the license in the package. Learn more: https://aka.ms/deprecateLicenseUrl.
  Created https://nuget.org/api/v2/package/ 2301ms
Your package was pushed.
Pushing Apache.Ignite.Log4Net.2.7.5.nupkg to 'https://nuget.org/'...
  PUT https://nuget.org/api/v2/package/
ПРЕДУПРЕЖДЕНИЕ. <licenseUrl> element will be deprecated,please consider switching to specifying the license in the package. Learn more: https://aka.ms/deprecateLicenseUrl.
  Created https://nuget.org/api/v2/package/ 1805ms
Your package was pushed.
Pushing Apache.Ignite.NLog.2.7.5.nupkg to 'https://nuget.org/'...
  PUT https://nuget.org/api/v2/package/
ПРЕДУПРЕЖДЕНИЕ. <licenseUrl> element will be deprecated,please consider switching to specifying the license in the package. Learn more: https://aka.ms/deprecateLicenseUrl.
  Created https://nuget.org/api/v2/package/ 2290ms
Your package was pushed.
Pushing Apache.Ignite.Schema.2.7.5.nupkg to 'https://nuget.org/'...
  PUT https://nuget.org/api/v2/package/
ПРЕДУПРЕЖДЕНИЕ. <licenseUrl> element will be deprecated,please consider switching to specifying the license in the package. Learn more: https://aka.ms/deprecateLicenseUrl.
  Created https://nuget.org/api/v2/package/ 1876ms
Your package was pushed.


Linux

Windows, .NET Classic, PowerShell: 

No Format
ls *.nupkg | % { nuget push $_.FullName API_KEY_HERE }

Power shell example ouptput:

Expand No Format> ls *.nupkg | % { .\nuget push $_.FullName API_KEY_HERE} Source parameter was not specified. Source parameter was not specified. Source parameter was not specified. Source parameter was not specified. Source parameter was not specified. Source parameter was not specified. Source parameter was not specified.

Linux, .NET Core, sh: 

No Format
for i in *.nupkg; do dotnet nuget push $i -k API_KEY_HERE; done


Check result at https://www.nuget.org/packages/Apache.Ignite/ 

Packages become visible from UI with some delay (~5-10 minutes)>


6.3.14. Check artifacts are available in Maven Central

Make sure that the artifacts were synced up to  Maven Central. Refer to the recently happened issue (

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyINFRA-13073
)

...