Skip to content

Files

Latest commit

15e008b · Apr 13, 2018

History

History
This branch is 42 commits behind jfrogtraining/kubernetes_example:master.

docker-app-chart

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 1, 2018
Apr 4, 2018
Feb 1, 2018
Apr 13, 2018
Feb 20, 2018
Feb 1, 2018

Create Helm chart of product Docker image

  • Create helm chart of docker-app
  • Push helm chart in local helm repository in Artifactory
  1. On the Jenkins front page, click on Credentials -> System -> Global credentials -> Add Credentials Add your Artifactory credentials as the type Username with password, with the ID artifactory-credentials Add_Artifactory_Credentials

  2. Create new Jenkins Pipeline Job.

  3. Add String Parameters:

    • IMAGE_TAG (String Parameter) : Domain of Artifactory docker registry e.g IMAGE_TAG : latest
    • SERVER_URL (String Parameter) : Artifactory Server URL
      e.g. SERVER_URL -> http://35.225.27.231/artifactory
    • REPO (String Parameter) : Artifactory Helm repo
      e.g. REPO -> helm
    • CREDENTIALS (Credentials Parameter) : Artifactory Credential
      e.g. CREDENTIALS -> artifactory-credentials
  4. Copy Jenkinsfile to Pipeline Script.

  5. To build it, press Build Now.

  6. Check your newly published build in build browser of Artifactory.