Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 2.91 KB

helm-chart-release.md

File metadata and controls

45 lines (36 loc) · 2.91 KB

Creating a new chart-verifier release

Chart verifier - release creation is automated through a git hub workflow. To create a new release follow these steps:

  1. Modify the pkg/chartverifier/version/version_info.json file with information about the new release, for example:

    {
        "version": "1.2.0",
        "quay-image":  "quay.io/redhat-certification/chart-verifier",
        "release-info": [
            "Additions to report command metadata output: #174",
            "New report command: #170"
        ]
    }
    
    • version : set the new chart-verifer version.
    • quay-image : set to the name of the image (only used for testing).
    • release-info : list of significant PR's in the release
  2. Create a PR which contains only pkg/chartverifier/version/version_info.json

  3. The workflow will detect the file is changed and automatically merge the file and create the release if the following conditions are met:

    • The version specified is later that the version in the existing file.
    • The PR does not contain any other files.
    • The submitter has approval authority for the repository.
    • All tests pass.
  4. After merging the PR and creating the release the workflow continues in an attempt to add the latest tag to the new chart verifier image in quay. This may take a while.

    • When the release is created, quay will detect the release and build a docker image for the release.
    • The workflow retries for up to 15 minutes for the docker image to appear in quay so that it can be linked. If this fails it can be done manually:
      1. Navigate to the chart verifier image tags in quay
        1. For the new image hit the options icon on the far right
        2. A drop down list appears, select "add a new tag"
        3. A dialogue appears, enter the new tag name as "latest"
        4. Quay detects latest is laready in use, select "Move" so it points to the new release.

Notes:

  • To link the image to the latest tag in quay an auth token is required. This must be set as a repository secret "QUAY_AUTH_TOKEN"