Skip to content

Commit d3af5b3

Browse files
Merge pull request #88 from codefresh-io/rollouts-upgrade-1.7.1
feat: sync rollouts to upstream 1.7.1
2 parents eaf6b37 + 7cc904c commit d3af5b3

File tree

229 files changed

+6152
-1863
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+6152
-1863
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
/charts/argo-workflows/ @vladlosev @jmeridth @yu-croco @tico24
44
/charts/argo-cd/ @mbevc1 @mkilchhofer @yu-croco @jmeridth @pdrastil @tico24
5-
/charts/argo-events/ @pdrastil @jmeridth @tico24
6-
/charts/argo-rollouts/ @jmeridth
5+
/charts/argo-events/ @pdrastil @jmeridth @tico24 @yu-croco
6+
/charts/argo-rollouts/ @jmeridth @yu-croco

.github/configs/labeler.yaml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
argo-cd:
2-
- charts/argo-cd/**/*
2+
- changed-files:
3+
- any-glob-to-any-file: charts/argo-cd/**
34

45
argo-events:
5-
- charts/argo-events/**/*
6+
- changed-files:
7+
- any-glob-to-any-file: charts/argo-events/**
68

79
argo-rollouts:
8-
- charts/argo-rollouts/**/*
10+
- changed-files:
11+
- any-glob-to-any-file: charts/argo-rollouts/**
912

1013
argo-workflows:
11-
- charts/argo-workflows/**/*
14+
- changed-files:
15+
- any-glob-to-any-file: charts/argo-workflows/**
1216

1317
argocd-image-updater:
14-
- charts/argocd-image-updater/**/*
18+
- changed-files:
19+
- any-glob-to-any-file: charts/argocd-image-updater/**
1520

1621
argocd-apps:
17-
- charts/argocd-apps/**/*
22+
- changed-files:
23+
- any-glob-to-any-file: charts/argocd-apps/**

.github/configs/renovate-config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
platform: 'github',
3+
gitAuthor: 'renovate[bot] <renovate[bot]@users.noreply.github.com>',
4+
autodiscover: false,
5+
allowPostUpgradeCommandTemplating: true,
6+
allowedPostUpgradeCommands: [".*"],
7+
};

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,11 @@ updates:
66
schedule:
77
interval: weekly
88
day: "saturday"
9+
commit-message:
10+
prefix: "chore(deps)"
11+
groups:
12+
dependencies:
13+
applies-to: version-updates
14+
update-types:
15+
- "minor"
16+
- "patch"

.github/workflows/lint-and-test.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
## Reference: https://github.com/helm/chart-testing-action
12
name: Linting and Testing
2-
33
on: pull_request
44

55
permissions:
@@ -13,7 +13,7 @@ jobs:
1313
options: --user 1001
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
16+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1717
- name: Run ah lint
1818
working-directory: ./charts
1919
run: ah lint
@@ -22,17 +22,17 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
25+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2626
with:
2727
fetch-depth: 0
2828

2929
- name: Set up Helm
30-
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
30+
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
3131
with:
3232
version: v3.10.1 # Also update in publish.yaml
3333

3434
- name: Set up python
35-
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
35+
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
3636
with:
3737
python-version: 3.9
3838

@@ -47,14 +47,15 @@ jobs:
4747
id: list-changed
4848
run: |
4949
## If executed with debug this won't work anymore.
50-
changed=$(ct --config ./.github/configs/ct-lint.yaml --target-branch ${{ github.base_ref }} list-changed)
50+
changed=$(ct --config ./.github/configs/ct-lint.yaml list-changed)
5151
charts=$(echo "$changed" | tr '\n' ' ' | xargs)
5252
if [[ -n "$changed" ]]; then
5353
echo "changed=true" >> $GITHUB_OUTPUT
5454
echo "changed_charts=$charts" >> $GITHUB_OUTPUT
5555
fi
56+
5657
- name: Run chart-testing (lint)
57-
run: ct lint --debug --config ./.github/configs/ct-lint.yaml --target-branch ${{ github.base_ref }} --lint-conf ./.github/configs/lintconf.yaml
58+
run: ct lint --debug --config ./.github/configs/ct-lint.yaml --lint-conf ./.github/configs/lintconf.yaml
5859

5960
- name: Run docs-testing (helm-docs)
6061
id: helm-docs
@@ -67,8 +68,9 @@ jobs:
6768
else
6869
echo -e '\033[0;32mDocumentation up to date\033[0m ✔'
6970
fi
71+
7072
- name: Create kind cluster
71-
uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0
73+
uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0
7274
if: steps.list-changed.outputs.changed == 'true'
7375
with:
7476
config: .github/configs/kind-config.yaml
@@ -87,12 +89,14 @@ jobs:
8789
run: |
8890
## Metrics API not available in kind cluster
8991
rm charts/argo-cd/ci/ha-autoscaling-values.yaml
92+
9093
- name: Create an external redis for ArgoCD externalRedis feature
9194
if: contains(steps.list-changed.outputs.changed_charts, 'argo-cd')
9295
run: |
9396
kubectl create namespace redis
9497
helm repo add bitnami https://charts.bitnami.com/bitnami
9598
helm install redis bitnami/redis --wait --namespace redis --set auth.password=argocd --set architecture=standalone
99+
96100
- name: Run chart-testing (install)
97-
run: ct install --config ./.github/configs/ct-install.yaml --target-branch ${{ github.base_ref }}
101+
run: ct install --config ./.github/configs/ct-install.yaml
98102
if: steps.list-changed.outputs.changed == 'true'

.github/workflows/pr-sizing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
triage:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # v4.3.0
19+
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
2020
with:
2121
configuration-path: ".github/configs/labeler.yaml"
2222
repo-token: "${{ secrets.GITHUB_TOKEN }}"
@@ -25,6 +25,6 @@ jobs:
2525
size-label:
2626
runs-on: ubuntu-latest
2727
steps:
28-
- uses: pascalgn/size-label-action@37a5ad4ae20ea8032abf169d953bcd661fd82cd3 # v0.5.0
28+
- uses: pascalgn/size-label-action@bbbaa0d5ccce8e2e76254560df5c64b82dac2e12 # v0.5.2
2929
env:
3030
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/pr-title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
name: Validate PR title
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f # v5.4.0
22+
- uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2525
with:

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,19 @@ permissions:
1313

1414
jobs:
1515
publish:
16+
if: github.repository == 'argoproj/argo-helm'
1617
permissions:
1718
contents: write # for helm/chart-releaser-action to push chart release and create a release
1819
packages: write # to push OCI chart package to GitHub Registry
1920
runs-on: ubuntu-latest
2021
steps:
2122
- name: Checkout
22-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
23+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2324
with:
2425
fetch-depth: 0
2526

2627
- name: Install Helm
27-
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
28+
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
2829
with:
2930
version: v3.10.1 # Also update in lint-and-test.yaml
3031

@@ -59,7 +60,7 @@ jobs:
5960

6061

6162
- name: Run chart-releaser
62-
uses: helm/chart-releaser-action@be16258da8010256c6e82849661221415f031968 # v1.5.0
63+
uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584 # v1.6.0
6364
with:
6465
config: "./.github/configs/cr.yaml"
6566
skip_packaging: true

.github/workflows/renovate.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Renovate
2+
on:
3+
# The "*" (#42, asterisk) character has special semantics in YAML, so this
4+
# string has to be quoted.
5+
schedule:
6+
- cron: '0 * * * *'
7+
# Manual trigger is also possible
8+
workflow_dispatch: {}
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
renovate:
15+
if: github.repository == 'argoproj/argo-helm'
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Get token
19+
uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3
20+
id: get_token
21+
with:
22+
app-id: ${{ vars.RENOVATE_APP_ID }}
23+
private-key: ${{ secrets.RENOVATE_APP_PRIVATE_KEY }}
24+
25+
- name: Checkout
26+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
27+
28+
- name: Self-hosted Renovate
29+
uses: renovatebot/github-action@8ce0fe8066eb6b16e1bf499b21bc96e5ccd962a4 # v40.2.3
30+
with:
31+
configurationFile: .github/configs/renovate-config.js
32+
# renovate: datasource=docker depName=ghcr.io/renovatebot/renovate
33+
renovate-version: 37.421.4
34+
token: '${{ steps.get_token.outputs.token }}'
35+
env:
36+
LOG_LEVEL: 'debug'
37+
RENOVATE_REPOSITORIES: '${{ github.repository }}'

.github/workflows/scorecard.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ jobs:
3333

3434
steps:
3535
- name: "Checkout code"
36-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
36+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
3737
with:
3838
persist-credentials: false
3939

4040
- name: "Run analysis"
41-
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
41+
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
4242
with:
4343
results_file: results.sarif
4444
results_format: sarif
@@ -60,14 +60,14 @@ jobs:
6060
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6161
# format to the repository Actions tab.
6262
- name: "Upload artifact"
63-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
63+
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
6464
with:
6565
name: SARIF file
6666
path: results.sarif
6767
retention-days: 5
6868

6969
# Upload the results to GitHub's code scanning dashboard.
7070
- name: "Upload to code-scanning"
71-
uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
71+
uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15
7272
with:
7373
sarif_file: results.sarif

0 commit comments

Comments
 (0)