Skip to content

Commit 5a63db5

Browse files
Merge pull request #354 from codefresh-io/synchronize-release-3.6
chore(CR-27156): synchronization release 3.6
2 parents 45fbc3b + e8a7a44 commit 5a63db5

Some content is hidden

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

57 files changed

+1254
-1011
lines changed

.devcontainer/pre-build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sudo mv ./kubectl /usr/local/bin/kubectl
1313
kubectl cluster-info
1414

1515
# install kit
16-
curl -q https://raw.githubusercontent.com/kitproj/kit/main/install.sh | sh
16+
make kit
1717

1818
# install protocol buffer compiler (protoc)
1919
sudo apt update
@@ -25,7 +25,7 @@ sudo chown vscode:vscode /home/vscode/go/src || true
2525
sudo chown vscode:vscode /home/vscode/go/src/github.com || true
2626

2727
# download dependencies and do first-pass compile
28-
CI=1 kit pre-up
28+
kit build
2929

3030
# Patch CoreDNS to have host.docker.internal inside the cluster available
3131
kubectl get cm coredns -n kube-system -o yaml | sed "s/ NodeHosts: |/ NodeHosts: |\n `grep host.docker.internal /etc/hosts`/" | kubectl apply -f -

.github/cherry-pick-bot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
enabled: true
2+
preservePullRequestTitle: true

.github/dependabot.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ updates:
6464
schedule:
6565
interval: "weekly"
6666
day: "saturday"
67-
ignore:
68-
# temporarily ignore until https://github.com/actions/download-artifact/issues/249 is resolved
69-
- dependency-name: "actions/download-artifact"
70-
- dependency-name: "actions/upload-artifact"
7167
# ignore all non-security updates: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#open-pull-requests-limit
7268
open-pull-requests-limit: 0
7369
labels:

.github/workflows/ci-build.yaml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
branches:
1010
- "main"
1111
- "release-*"
12+
issue_comment:
13+
types: [created]
1214

1315
concurrency:
1416
group: ${{ github.workflow }}-${{ github.ref }}
@@ -20,6 +22,15 @@ permissions:
2022
jobs:
2123
changed-files:
2224
name: Get changed files
25+
if: >
26+
(
27+
github.event_name == 'issue_comment' &&
28+
github.event.issue.pull_request != null &&
29+
github.event.comment.author_association == 'MEMBER' &&
30+
github.event.comment.body == '/test'
31+
) || (
32+
github.event_name != 'issue_comment'
33+
)
2334
outputs:
2435
# reference: https://github.com/tj-actions/changed-files#outputs-
2536
tests: ${{ steps.changed-files.outputs.tests_any_modified == 'true' }}
@@ -179,15 +190,15 @@ jobs:
179190
cache-from: type=gha
180191
cache-to: type=gha,mode=max
181192
- name: Upload
182-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
193+
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
183194
with:
184195
name: ${{matrix.image}}_image.tar
185196
path: /tmp/${{matrix.image}}_image.tar
186197
if-no-files-found: error
187198

188199
e2e-tests:
189200
name: E2E Tests
190-
needs: [changed-files, argo-images]
201+
needs: [ changed-files, argo-images ]
191202
if: ${{ needs.changed-files.outputs.e2e-tests == 'true' }}
192203
runs-on: ubuntu-24.04
193204
# These tests usually finish in ~25m, but occasionally they take much longer due to resource
@@ -262,14 +273,14 @@ jobs:
262273
if: ${{matrix.test == 'test-java-sdk'}}
263274
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
264275
with:
265-
java-version: "8"
276+
java-version: '8'
266277
distribution: adopt
267278
cache: maven
268279
- name: Install Python for the SDK
269280
if: ${{matrix.test == 'test-python-sdk'}}
270281
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
271282
with:
272-
python-version: "3.x"
283+
python-version: '3.x'
273284
cache: pip
274285
- name: Install and start K3S
275286
run: |
@@ -290,9 +301,9 @@ jobs:
290301
echo " token: xxxxxx" >> $KUBECONFIG
291302
until kubectl cluster-info ; do sleep 10s ; done
292303
- name: Download images
293-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
304+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
294305
with:
295-
pattern: "*_image.tar"
306+
pattern: '*_image.tar'
296307
path: /tmp
297308
- name: Load images
298309
run: |
@@ -371,7 +382,7 @@ jobs:
371382
# see https://github.com/orgs/community/discussions/9141#discussioncomment-2296809 and https://github.com/orgs/community/discussions/26822#discussioncomment-3305794
372383
e2e-tests-composite-result:
373384
name: E2E Tests - Composite result
374-
needs: [e2e-tests]
385+
needs: [ e2e-tests ]
375386
if: ${{ always() }}
376387
runs-on: ubuntu-24.04
377388
steps:
@@ -386,7 +397,7 @@ jobs:
386397
387398
codegen:
388399
name: Codegen
389-
needs: [changed-files]
400+
needs: [ changed-files ]
390401
if: ${{ needs.changed-files.outputs.codegen == 'true' }}
391402
runs-on: ubuntu-24.04
392403
timeout-minutes: 20
@@ -423,7 +434,7 @@ jobs:
423434

424435
lint:
425436
name: Lint
426-
needs: [changed-files]
437+
needs: [ changed-files ]
427438
if: ${{ needs.changed-files.outputs.lint == 'true' }}
428439
runs-on: ubuntu-24.04
429440
timeout-minutes: 15 # must be strictly greater than the timeout in .golangci.yml
@@ -445,7 +456,7 @@ jobs:
445456

446457
ui:
447458
name: UI
448-
needs: [changed-files]
459+
needs: [ changed-files ]
449460
if: ${{ needs.changed-files.outputs.ui == 'true' }}
450461
runs-on: ubuntu-24.04
451462
timeout-minutes: 6

.github/workflows/docs.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
pull_request:
88
branches:
99
- main
10+
- release/*
11+
issue_comment:
12+
types: [created]
1013

1114
concurrency:
1215
group: ${{ github.workflow }}-${{ github.ref }}
@@ -18,6 +21,15 @@ permissions:
1821
jobs:
1922
docs:
2023
runs-on: ubuntu-24.04
24+
if: >
25+
(
26+
github.event_name == 'issue_comment' &&
27+
github.event.issue.pull_request != null &&
28+
github.event.comment.author_association == 'MEMBER' &&
29+
github.event.comment.body == '/test'
30+
) || (
31+
github.event_name != 'issue_comment'
32+
)
2133
steps:
2234
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2335
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
@@ -37,7 +49,7 @@ jobs:
3749
run: git diff --exit-code
3850
# Upload the site so reviewers see it.
3951
- name: Upload Docs Site
40-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
52+
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
4153
with:
4254
name: docs
4355
path: site

.github/workflows/pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ jobs:
1616
runs-on: ubuntu-24.04
1717
steps:
1818
- name: Check PR Title's semantic conformance
19-
uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f # v5.4.0
19+
uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
2020
env:
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
version: v0.10.4
4242

4343
- name: Cache Docker layers
44-
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
44+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
4545
id: cache
4646
with:
4747
path: /tmp/.buildx-cache
@@ -247,7 +247,7 @@ jobs:
247247
with:
248248
go-version: "1.23"
249249
- name: Restore node packages cache
250-
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
250+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
251251
with:
252252
path: ui/node_modules
253253
key: ${{ runner.os }}-node-dep-v1-${{ hashFiles('**/yarn.lock') }}

.readthedocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ version: 2
22
formats: all
33
mkdocs:
44
fail_on_warning: false
5+
configuration: mkdocs.yml
56
python:
67
install:
78
- requirements: docs/requirements.txt

Makefile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -532,15 +532,7 @@ dist/argosay:
532532

533533
.PHONY: kit
534534
kit: Makefile
535-
ifeq ($(shell command -v kit),)
536-
ifeq ($(shell uname),Darwin)
537-
brew tap kitproj/kit --custom-remote https://github.com/kitproj/kit
538-
brew install kit
539-
else
540-
curl -q https://raw.githubusercontent.com/kitproj/kit/main/install.sh | tag=v0.1.8 sh
541-
endif
542-
endif
543-
535+
go install github.com/kitproj/[email protected]
544536

545537
.PHONY: start
546538
ifeq ($(RUN_MODE),local)

docs/CONTRIBUTING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,16 @@ Subsequently, if there is still no response, it will be automatically closed as
134134

135135
See the [Stale Action configuration](https://github.com/argoproj/argo-workflows/blob/main/.github/workflows/stale.yaml) for more details.
136136

137+
## Automated actions
138+
139+
As a member (see [roles](https://github.com/argoproj/argoproj/blob/main/community/membership.md)) of the argo-project you can use the following comments on PRs to trigger actions:
140+
141+
* `/retest` - re-run any failing test cases
142+
* `/test` - trigger the full test suite.
143+
Only use this for PRs where the test suite has not automatically triggered - this is almost always wasteful and will not make things pass that `/retest` doesn't pass.
144+
* `/cherry-pick <branchname>` - will [attempt to cherry-pick](https://github.com/googleapis/repo-automation-bots/tree/main/packages/cherry-pick-bot) this commit after it has been merged to the target branch.
145+
This can be used prior to merging and the PR will be created after the merge, or commented after merging for an immediate attempt.
146+
137147
## Sustainability Effort
138148

139149
Argo Workflows is seeking more [Reviewers and Approvers](https://github.com/argoproj/argoproj/blob/main/community/membership.md) to help keep it viable.

0 commit comments

Comments
 (0)