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.
- Loading branch information
Showing
256 changed files
with
18,612 additions
and
3,605 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
* @mkilchhofer @jmeridth @yu-croco | ||
|
||
/charts/argo-workflows/ @vladlosev @jmeridth @yu-croco @tico24 | ||
/charts/argo-cd/ @mbevc1 @mkilchhofer @yu-croco @jmeridth @pdrastil @tico24 | ||
/charts/argo-events/ @pdrastil @jmeridth @tico24 @yu-croco | ||
/charts/argo-rollouts/ @jmeridth @yu-croco |
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,2 +1,12 @@ | ||
## Reference: https://github.com/helm/chart-releaser | ||
index-path: "./index.yaml" | ||
index-path: "./index.yaml" | ||
|
||
# PGP signing | ||
sign: true | ||
key: Argo Helm maintainers | ||
# keyring: # Set via env variable CR_KEYRING | ||
# passphrase-file: # Set via env variable CR_PASSPHRASE_FILE | ||
|
||
# Enable automatic generation of release notes using GitHubs release notes generator. | ||
# see: https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes | ||
generate-release-notes: true |
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
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@716b1e13042866565e00e85fd4ec490e186c4a2f # v41.0.1 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
## Reference: https://github.com/pascalgn/size-label-action | ||
name: 'PR Labeling' | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, synchronize, reopened] | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
|
||
permissions: | ||
contents: read | ||
|
@@ -12,7 +16,7 @@ jobs: | |
triage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v4 | ||
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 | ||
with: | ||
configuration-path: ".github/configs/labeler.yaml" | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
@@ -21,7 +25,6 @@ jobs: | |
size-label: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: size-label | ||
uses: "pascalgn/[email protected]" | ||
- uses: pascalgn/size-label-action@37a5ad4ae20ea8032abf169d953bcd661fd82cd3 # v0.5.0 | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
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
Oops, something went wrong.