google-storage-v2-direct template configuration (Recommended)

JFrog Installation & Setup Documentation

Content Type
Installation & Setup
ft:sourceType
Paligo

The google-storage-v2-direct (or eventual-less) template allows directly uploading to Google storage, bypassing the eventual upload mechanism.

<config version="2">
  <chain template="google-storage-v2-direct"/>
    <provider id="google-storage-v2" type="google-storage-v2">
       <bucketName>my-bucket</bucketName>
       <path>myPath</path>
       <useInstanceCredentials>false</useInstanceCredentials>
       <signatureExpirySeconds>10</signatureExpirySeconds>
       <proxyHost>127.0.0.1</proxyHost>
       <proxyPort>8888</proxyPort>
       <proxyIdentity>username</proxyIdentity>
       <proxyCredential>password</proxyCredential>
       <maxConnections>50</maxConnections>
       <connectionTimeout>120000</connectionTimeout>
     </provider>
</config>

What's in the template?

<chain> <!-- template="google-storage-v2-direct" -->
    <provider id="cache-fs" type="cache-fs">
        <provider id="google-storage-v2" type="google-storage-v2"/>
    </provider>
</chain>

For details about the cache-fs provider, see Cached Filesystem Binary Provider.

For details about the eventual provider, see Eventual Binary Provider.

For details about the retry provider, see Retry Binary Provider.