Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Promoting Release to the Apache JFrog Artifactory Repository

N.B. You should still be in the ${target_version} branch

Prerequisites

Code Block
languagebash
titleInstall prerequisites
# Assuming Mac
$ brew install helm # Which will install Helm >=3.X
$ helm plugin install https://github.com/belitre/helm-push-artifactory-plugin --version 1.0.2 # Which is required for >= Helm 3.X
...
Installing plugin for Helm v3...
Downloading and installing helm-push-artifactory v1.0.2 ...
https://github.com/belitre/helm-push-artifactory-plugin/releases/download/v1.0.2/helm-push-artifactory-v1.0.2-darwin-amd64.tar.gz
Installed plugin: push-artifactory

Promoting the Release

First, download the release artifact you just released to Github. We will assume this artifact is named tika-${target_version}.tar.gz

Code Block
languagebash
# Add the tika Helm repository
$ helm repo add tika https://apache.jfrog.io/artifactory/tika

# Push the tika helm artifact to Artifactory
$ helm push-artifactory tika-helm-${target_version}.tar.gz https://apache.jfrog.io/artifactory/tika --username '${username}' --password "${password}"
...
Pushing tika-1.26-full.tgz to https://apache.jfrog.io/artifactory/tika/tika/tika-1.26-full.tgz...
Done.
Reindex helm repository tika...

...