release-info

command module
v0.0.0-...-c21a40d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2022 License: EUPL-1.2 Imports: 4 Imported by: 0

README

Release info shows latest available version of helm charts and deployments as used by CNO components.

The tool reads PlatformProductRelease manifests from a k8s cluster to detect the installed CNO components. Next, available upgrades and patches are searched for helm charts, github releases, ansible role dependencies and pip deployments.

Example gitlab pipeline is provided below.

image: registry.gitlab.com/logius/cloud-native-overheid/tools/release-info:latest

stages:
  - installed
  - release

# The .installed jobs read PlatformProductRelease manifests from the cluster and dump this info in a <cluster>.json file. 
.installed: 
  stage: installed
  script: 
    - kubectl config rename-context gitlab-deploy ${CI_ENVIRONMENT_NAME}
    - /bin/release-info show-installed-products
  artifacts:
    paths:
    - ./versions/
    expire_in: 1 hour

cluster1:
  extends: .installed
  environment: cluster1

cluster2:
  extends: .installed
  environment: cluster2

# The release-info job reads the <cluster>.json files with information and searches for upgrades and patches. 
release-info: 
  stage: release
  script: 
    - /bin/release-info show-release-info

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL