Running ./scripts/build on a Mac results in an error due to the base64 command not explicitly providing the filename as -i, instead relying on positional arguments.
Solution
Explicitly pass in -i. Works within a Docker container as well (verified by the fact that the Dapper build is passing).
Testing
Ran it locally
Versioning
For Community Members or Maintainers Making Changes
Please checkmark one of the boxes below to indicate you have following the versioning guidelines for rancher-project-monitoring:
If you are introducing a change to packages/rancher-project-monitoring or packages/rancher-project-grafana:
[ ] Increment the patch version in the version of packages/rancher-project-monitoring/charts/Chart.yaml by 1
[x] I am not introducing a change to package/rancher-project-monitoring
Note: We do not use RC versions for rancher-project-monitoring since it is hidden anyways and not intended for standalone use
Please checkmark one of the boxes below to indicate that you have followed the versioning guidelines for prometheus-federator:
If you are introducing a change to main.go or packages/rancher-project-monitoring (including a change introduced in the above step):
[ ] If packages/prometheus-federator/charts/Chart.yaml has a version that is a -rc version, increment the -rc version in this file by one (i.e. 0.1.2-rc1 -> 0.1.2-rc2). Modify the appVersion to match this new version. Modify the helmProjectOperator.image.tag in packages/prometheus-federator/charts/values.yaml to match this appVersion.
[ ] If packages/prometheus-federator/charts/Chart.yaml has a version that is not a -rc version, increment the patch version in this file by 1 and add -rc1 (i.e. 0.1.1 -> 0.1.2-rc1). Modify the appVersion to match this new version. Modify the helmProjectOperator.image.tag in packages/prometheus-federator/charts/values.yaml to match this appVersion.
If you are only introducing a change to packages/prometheus-federator:
[ ] If packages/prometheus-federator/charts/Chart.yaml has a version that is a -rc version, increment the -rc version in this file by one (i.e. 0.1.2-rc1 -> 0.1.2-rc2). Do not modify the appVersion or the helmProjectOperator.image.tag in packages/prometheus-federator/charts/values.yaml.
[ ] If packages/prometheus-federator/charts/Chart.yaml has a version that is not a -rc version, increment the patch version by 1 in this file and add -rc1 (i.e. 0.1.1 -> 0.1.2-rc1). Do not modify the appVersion or the helmProjectOperator.image.tag in packages/prometheus-federator/charts/values.yaml.
For Maintainers Releasing The Chart On QA Validation
Please checkmark both of the boxes below to indicate that you have followed the versioning guidelines for prometheus-federator:
[ ] The -rc tag has been removed from the version in packages/prometheus-federator/charts/Chart.yaml
[ ] The -rc tag has been removed from the helmProjectOperator.image.tag in packages/prometheus-federator/charts/values.yaml
Issue: https://github.com/rancher/prometheus-federator/issues/29
Problem
Running
./scripts/build
on a Mac results in an error due to thebase64
command not explicitly providing the filename as-i
, instead relying on positional arguments.Solution
Explicitly pass in
-i
. Works within a Docker container as well (verified by the fact that the Dapper build is passing).Testing
Ran it locally
Versioning
For Community Members or Maintainers Making Changes
Please checkmark one of the boxes below to indicate you have following the versioning guidelines for
rancher-project-monitoring
:packages/rancher-project-monitoring
orpackages/rancher-project-grafana
:version
ofpackages/rancher-project-monitoring/charts/Chart.yaml
by 1package/rancher-project-monitoring
Please checkmark one of the boxes below to indicate that you have followed the versioning guidelines for
prometheus-federator
:main.go
orpackages/rancher-project-monitoring
(including a change introduced in the above step):packages/prometheus-federator/charts/Chart.yaml
has aversion
that is a-rc
version, increment the-rc
version in this file by one (i.e.0.1.2-rc1
->0.1.2-rc2
). Modify theappVersion
to match this newversion
. Modify thehelmProjectOperator.image.tag
inpackages/prometheus-federator/charts/values.yaml
to match thisappVersion
.packages/prometheus-federator/charts/Chart.yaml
has aversion
that is not a-rc
version, increment the patch version in this file by 1 and add-rc1
(i.e.0.1.1
->0.1.2-rc1
). Modify theappVersion
to match this newversion
. Modify thehelmProjectOperator.image.tag
inpackages/prometheus-federator/charts/values.yaml
to match thisappVersion
.packages/prometheus-federator
:packages/prometheus-federator/charts/Chart.yaml
has aversion
that is a-rc
version, increment the-rc
version in this file by one (i.e.0.1.2-rc1
->0.1.2-rc2
). Do not modify theappVersion
or thehelmProjectOperator.image.tag
inpackages/prometheus-federator/charts/values.yaml
.packages/prometheus-federator/charts/Chart.yaml
has aversion
that is not a-rc
version, increment the patch version by 1 in this file and add-rc1
(i.e.0.1.1
->0.1.2-rc1
). Do not modify theappVersion
or thehelmProjectOperator.image.tag
inpackages/prometheus-federator/charts/values.yaml
.For Maintainers Releasing The Chart On QA Validation
Please checkmark both of the boxes below to indicate that you have followed the versioning guidelines for
prometheus-federator
:-rc
tag has been removed from theversion
inpackages/prometheus-federator/charts/Chart.yaml
-rc
tag has been removed from thehelmProjectOperator.image.tag
inpackages/prometheus-federator/charts/values.yaml
Engineering Testing
Manual Testing
Automated Testing
QA Testing Considerations
Regressions Considerations