forked from argoproj/argo-helm
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from codefresh-io/argo-cd-5.53.12
argo-cd: merge 5.53.12 chart from upstream
- Loading branch information
Showing
74 changed files
with
667 additions
and
415 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
argo-cd: | ||
- charts/argo-cd/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: charts/argo-cd/** | ||
|
||
argo-events: | ||
- charts/argo-events/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: charts/argo-events/** | ||
|
||
argo-rollouts: | ||
- charts/argo-rollouts/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: charts/argo-rollouts/** | ||
|
||
argo-workflows: | ||
- charts/argo-workflows/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: charts/argo-workflows/** | ||
|
||
argocd-image-updater: | ||
- charts/argocd-image-updater/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: charts/argocd-image-updater/** | ||
|
||
argocd-apps: | ||
- charts/argocd-apps/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: charts/argocd-apps/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
## Used on Renovate PRs to bump the chart version and add a changelog entry | ||
## Reference: https://github.com/stefanzweifel/git-auto-commit-action | ||
## Reference: https://github.com/marketplace/actions/changed-files | ||
name: 'Chart Version Bump and Changelog' | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- labeled | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
helm-bumper: | ||
if: ${{ (contains(github.event.pull_request.labels.*.name, 'renovate')) }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
token: ${{ secrets.PAT }} | ||
fetch-depth: 0 | ||
|
||
- name: Get changed files | ||
id: changed-files | ||
uses: tj-actions/changed-files@90a06d6ba9543371ab4df8eeca0be07ca6054959 # v42.0.2 | ||
with: | ||
files: charts/{argo-workflows,argo-cd,argo-events,argo-rollouts,argocd-image-updater}/Chart.yaml | ||
|
||
- name: "Bump Version and Changelog" | ||
run: | | ||
chartName="$(echo \"${{ steps.changed-files.outputs.all_changed_files }}\" | cut -d '/' -f2)" | ||
echo "Changed chart name is: $chartName" | ||
echo "----------------------------------------" | ||
parentDir="charts/${chartName}" | ||
# Bump the chart version by one patch version | ||
version=$(grep '^version:' ${parentDir}/Chart.yaml | awk '{print $2}') | ||
major=$(echo $version | cut -d. -f1) | ||
minor=$(echo $version | cut -d. -f2) | ||
patch=$(echo $version | cut -d. -f3) | ||
patch=$(expr $patch + 1) | ||
sed -i "s/^version:.*/version: ${major}.${minor}.${patch}/g" ${parentDir}/Chart.yaml | ||
# Add a changelog entry | ||
appVersion=$(grep '^appVersion:' ${parentDir}/Chart.yaml | awk '{print $2}') | ||
sed -i -e '/^ artifacthub.io\/changes: |/,$d' ${parentDir}/Chart.yaml | ||
echo " artifacthub.io/changes: |" >> ${parentDir}/Chart.yaml | ||
echo " - kind: changed" >> ${parentDir}/Chart.yaml | ||
echo " description: Bump ${chartName} to ${appVersion}" >> ${parentDir}/Chart.yaml | ||
cat ${parentDir}/Chart.yaml | ||
- name: "Commit and push changes" | ||
uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0 | ||
with: | ||
commit_options: '--signoff' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Test Argo CD extension | ||
crds: | ||
keep: false | ||
# Ref: https://github.com/argoproj-labs/argocd-extension-metrics?tab=readme-ov-file#install-ui-extension | ||
server: | ||
extensions: | ||
enabled: true | ||
extensionList: | ||
- name: extension-metrics | ||
env: | ||
- name: EXTENSION_URL | ||
value: https://github.com/argoproj-labs/argocd-extension-metrics/releases/download/v1.0.0/extension.tar.gz | ||
- name: EXTENSION_CHECKSUM_URL | ||
value: https://github.com/argoproj-labs/argocd-extension-metrics/releases/download/v1.0.0/extension_checksums.txt |
Oops, something went wrong.