Skip to content
Snippets Groups Projects
Select Git revision
  • 630e9de658e96a592f319831f66c2fdec4cbeb09
  • master default protected
  • v2.28.0
  • v2.27.0
  • v2.25.1
  • v2.24.3
  • v2.26.0
  • v2.24.2
  • v2.25.0
  • v2.24.1
  • v2.22.2
  • v2.23.3
  • v2.24.0
  • v2.23.2
  • v2.23.1
  • v2.23.0
  • v2.22.1
  • v2.22.0
  • v2.21.0
  • v2.20.0
  • v2.19.1
  • v2.18.2
22 results

check_galaxy_version.sh

Blame
    • Max Gautier's avatar
      e90cae93
      Refactor check_galaxy + fix version (#10729) · e90cae93
      Max Gautier authored
      * Remove checks for docs using exact tags
      
      Instead use a more generic documentation for installing kubespray as a
      collection from git.
      
      * Check that we upgraded galaxy.yml to next version
      
      This is only intented to check for human error. The version in galaxy
      should be the next (which does not mean the same if we're on master or a
      release branch).
      
      * Set collection version to KUBESPRAY_NEXT_VERSION
      Refactor check_galaxy + fix version (#10729)
      Max Gautier authored
      * Remove checks for docs using exact tags
      
      Instead use a more generic documentation for installing kubespray as a
      collection from git.
      
      * Check that we upgraded galaxy.yml to next version
      
      This is only intented to check for human error. The version in galaxy
      should be the next (which does not mean the same if we're on master or a
      release branch).
      
      * Set collection version to KUBESPRAY_NEXT_VERSION
    check_galaxy_version.sh 361 B
    #!/bin/bash
    set -e
    
    version_from_galaxy=$(grep "^version:" galaxy.yml | awk '{print $2}')
    
    # TODO: compute the next expected version somehow
    if [[ $KUBESPRAY_VERSION == "v${version_from_galaxy}" ]]
    then
    	echo "Please update galaxy.yml version to match the next KUBESPRAY_VERSION."
    	echo "Be sure to remove the \"v\" to adhere to semantic versioning"
    	exit 1
    fi