Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: sync upstream v3.5.7 #338

Merged
merged 89 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
66741ba
docs: update CHANGELOG.md for v3.5.6 (#12956)
github-actions[bot] Apr 19, 2024
3f3ac8e
fix(ui): properly get archive logs when no node was chosen (#12932)
agilgur5 Apr 19, 2024
437044c
fix(ui): handle non-existent labels in `isWorkflowInCluster` (#12898)
agilgur5 Apr 21, 2024
8d2bebc
fix(ui): use router navigation instead of page load after submit (#12…
agilgur5 Apr 21, 2024
47f920b
fix(ui): remove unnecessary hard reload after delete (#12930)
agilgur5 Apr 22, 2024
3e8de5d
fix(ui): try retrieving live workflow first then archived (#12972)
ryancurrah Apr 24, 2024
c1869ec
docs: Correct some mistake in docs. (#12014)
luyang93 Oct 16, 2023
1ab1d8c
docs: replace duplicate Expression docs with a link (#11744)
agilgur5 Oct 16, 2023
7e71471
docs(auth): clarify "Bearer token" terminology (#11714)
agilgur5 Oct 18, 2023
9393359
docs: improve grammar + wording on Managed NS install (#11817)
agilgur5 Oct 19, 2023
739d1a6
docs: correct link to k8s docs for manually creating Secrets (#12042)
agilgur5 Oct 20, 2023
afdcc54
docs: clarify + improve Workflow Restrictions page (#11807)
agilgur5 Oct 20, 2023
bda056c
docs: full copy-edit of DAG page (#11943)
agilgur5 Oct 20, 2023
1dca7f6
docs: remove no longer needed spelling exceptions (#11814)
agilgur5 Oct 19, 2023
3e1b7a0
docs: add FOSSA License Badge for CLOMonitor (#12032)
agilgur5 Oct 20, 2023
cd3d2f4
docs: Add an example field to argo list command. Fixes #11898 (#12076)
Krunal2017 Oct 28, 2023
e4a0bab
docs: fix description of argo stop --dry-run. Fixes #10782 (#12102)
anastasiiakozlova245 Oct 31, 2023
cf91352
docs: Add an example field to argo cluster-template create command. F…
shubhamch71 Oct 31, 2023
14b51f4
docs: Add an example field to argo cluster-template list command. Fix…
shubhamch71 Nov 3, 2023
59915a6
docs: Minor update for memoization (#12119)
Joibel Nov 1, 2023
3737789
docs(cli): correct headings in `argo` command's `Long` description (#…
agilgur5 Nov 20, 2023
ce6501d
docs: Update killercoda url (#12244)
tico24 Nov 23, 2023
a87698d
docs(variables): state that workflow.duration is reported in seconds …
ryancurrah Nov 23, 2023
f867118
docs: try to explain the metric `operation_duration_seconds` better (…
Joibel Nov 28, 2023
44f4517
docs: Add link to Killercoda interactive course (#12306)
terrytangyuan Dec 2, 2023
863be2a
docs: Add link to Killercoda interactive course in docs/README.md (#1…
terrytangyuan Dec 28, 2023
2b8264d
docs: update quick start guide (#12420)
shabeebk Jan 5, 2024
ad75ef0
docs: Fix path (#12415)
Jellyfrog Jan 14, 2024
e377d35
docs: Add Snyk status badge to README.md (#12517)
terrytangyuan Jan 14, 2024
e9f8edb
docs: Additional badges (#12531)
terrytangyuan Feb 1, 2024
d7cc9bd
docs: typo fix in container-set-template.md 2 (#12664)
gregsheremeta Feb 13, 2024
22549cf
docs: typo fix in container-set-template.md (#12662)
gregsheremeta Feb 13, 2024
ec64e27
docs: link to RBAC from installation and add notes (#12680)
rnathuji Feb 19, 2024
ae24647
docs: remove Workflow RBAC 3.5.2 note and example (#12686)
rnathuji Feb 21, 2024
66bddc5
docs: Improve archive log docs as to why it's not recommended (#12597)
Joibel Feb 21, 2024
df2eb7f
docs: add an example for nested `withSequence` (#12577)
shuangkun Feb 21, 2024
f208cf9
docs(quick-start): consolidate UI & port-forward sections (#12560)
agilgur5 Feb 26, 2024
cab5fc0
docs(cli): add `stdin` example for `argo submit`. Relates to #926 (#1…
philBrown Mar 19, 2024
d9f083d
docs(sso): clarify Dex `staticClients` ID (#12843)
DavidGamba Mar 26, 2024
ee68789
docs: reformat README as 1 sentence per line of markdown (#12764)
agilgur5 Mar 27, 2024
c2c4655
docs(security): add Draft GHSA option (#12747)
agilgur5 Apr 4, 2024
8361f9d
docs: describe containerset retrystrategy and verify it works. Fixes:…
shuangkun Apr 4, 2024
202366a
docs: full copy-edit of Quick Start (#12772)
agilgur5 Apr 27, 2024
574a2d7
docs: update badges in `docs/README.md` to match `README.md`
agilgur5 May 4, 2024
27a3159
fix: use GetTemplateFromNode to determine template name (#12970)
ryancurrah Apr 26, 2024
32c3e03
fix: `insecureSkipVerify` for `GetUserInfoGroups` (#12982)
sycured Apr 26, 2024
db3b1a2
fix: retry large archived wf. Fixes #12740 (#12741)
heidongxianhua Apr 28, 2024
b8d256d
docs: change quick-start guide to use quick-start install. Fixes #123…
cardoe Jan 3, 2024
2071a90
build(manifests): `quick-start` should use `cluster-install` (#12557)
agilgur5 Feb 17, 2024
4dd50bf
build(docs): auto alphabetize `.spelling` file (#12521)
agilgur5 Jan 17, 2024
8bfffcf
docs: Add notes on release branch to work with versioned docs (#12472)
terrytangyuan Jan 5, 2024
6c52b5e
docs(releasing): add step for announcing on Slack (#12751)
agilgur5 Mar 11, 2024
b33a6cd
docs: Add Semgrep as a user (#12115)
cgdolan Oct 31, 2023
9f87db7
docs: add DP Technology to USERS.md (#12411)
shuangkun Dec 25, 2023
0edc468
docs: Add PayIt to USERS.md (#12669)
menzenski Feb 15, 2024
8934f92
docs: add SternumIOT to USERS.md (#12710)
itayvolo Feb 28, 2024
f7494b3
docs: Add CloudGeometry to USERS.md (#12910)
sergs-pci Apr 8, 2024
89e61c6
docs: Add new approvers (#12641)
terrytangyuan Feb 8, 2024
370d673
docs: Clarify the approach to release candidates (#11934)
tico24 Nov 23, 2023
8f37a3f
docs(faq): add note about `pods` `patch` error (#13041)
agilgur5 May 13, 2024
7eaaf97
docs: update link to Piper (#13034)
agilgur5 May 11, 2024
d22eacd
docs: updated CHANGELOG.md (#13043)
github-actions[bot] May 13, 2024
d8b78be
chore: change onepanel project address. (#13033)
shuangkun May 11, 2024
3e3d8ba
chore: Update OWNERS from recent promotions (#13072)
terrytangyuan May 21, 2024
50dc580
feat: add sqlite-based memory store for live workflows. Fixes #12025 …
jiachengxu Apr 29, 2024
c18b1d0
fix: use argocli image from pull request in CI (#13018)
Joibel May 8, 2024
2110c20
ci: run E2E tests if `Dockerfile` changes (#13024)
Joibel May 8, 2024
e103f6b
fix: don't rebuild `ui/dist/app/index.html` in `argocli-build` stage …
Joibel May 8, 2024
c57ca59
ci: optimise image building (#13027)
Joibel May 20, 2024
a6fec41
feat: add sqlite-based memory store for live workflows. Fixes #12025 …
jiachengxu May 11, 2024
c26f2da
fix(docs): Clarify quick start installation. Fixes #13032 (#13047)
mfisher87 May 16, 2024
e0925c9
fix: setBucketLifecycleRule error in OSS Artifact Driver. Fixes #129…
AlbeeSo May 4, 2024
210f1f9
fix: ignore retry node when check succeeded descendant nodes. Fixes: …
shuangkun May 16, 2024
ca947f3
fix: nodeAntiAffinity is not working as expected when boundaryID is e…
shuangkun May 17, 2024
433bbac
fix: delete skipped node when resubmit with memoized.Fixes: #12936 (#…
shuangkun May 17, 2024
d2ff152
fix: Enable realtime metric gc after its workflow is completed. Fixes…
jswxstw May 22, 2024
27a283a
fix(ui): show container logs when using `templateRef` (#12973)
agilgur5 May 22, 2024
a2bbac5
build: Remove misleading logs from crdgen.sh (#12989)
terrytangyuan Apr 28, 2024
c9a1212
ci: ensure least privilege permissions for GHA tokens (#12035)
agilgur5 Oct 19, 2023
4d58a0b
chore(deps): bump actions/setup-go from 4 to 5 (#12341)
dependabot[bot] Dec 9, 2023
b2b1ecd
chore(deps): bump tj-actions/changed-files from 40 to 41 (#12433)
dependabot[bot] Dec 30, 2023
503eef1
ci: pin all GH Actions (#12619)
agilgur5 Feb 5, 2024
0f415f4
Merge branch 'release-3.5' into cr-24608-sync-upstream-3.5.7
ATGardner Jul 15, 2024
3d7773a
fix: tests
ATGardner Jul 15, 2024
c165611
fix: lint
ATGardner Jul 15, 2024
0c078ef
fix: lint
ATGardner Jul 15, 2024
f4186a6
fix: lint
ATGardner Jul 15, 2024
59c9442
fix: pin default branch check
ATGardner Jul 15, 2024
94b6007
ci: pin peaceiris/actions-gh-pages action
ATGardner Jul 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
tags:
- v*
- "!v0.0.0"

permissions:
contents: read

Expand All @@ -17,15 +18,15 @@ jobs:
pull-requests: write # for peter-evans/create-pull-request to create a PR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
ref: main
fetch-depth: 0
- run: git fetch --prune --prune-tags
- run: git tag -l 'v*'
# avoid invoking `make` to reduce the risk of a Makefile bug failing this workflow
- run: ./hack/changelog.sh > CHANGELOG.md
- uses: peter-evans/create-pull-request@v5
- uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2
with:
title: 'docs: updated CHANGELOG.md'
commit-message: 'docs: updated CHANGELOG.md'
Expand Down
79 changes: 48 additions & 31 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
ui: ${{ steps.changed-files.outputs.ui_any_modified == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 50 # assume PRs are less than 50 commits
- name: Get relevant files changed per group
id: changed-files
uses: tj-actions/changed-files@v40
uses: tj-actions/changed-files@cbda684547adc8c052d50711417fa61b428a9f88 # v41.1.2
with:
files_yaml: |
common: &common
Expand All @@ -57,6 +57,7 @@ jobs:
e2e-tests:
- *tests
# plus manifests and SDKs that are used in E2E tests
- Dockerfile
- manifests/**
- sdks/**
codegen:
Expand All @@ -73,6 +74,7 @@ jobs:
- pkg/**
- cmd/**
- examples/** # examples are used within the fields lists
- manifests/** # a few of these are generated and committed
# generation scripts
- hack/cli/**
- hack/jsonschema/**
Expand All @@ -88,6 +90,8 @@ jobs:
- *tests
# plus lint config
- .golangci.yml
# all GH workflows / actions
- .github/workflows/**
# docs files below
- docs/**
# generated files are covered by codegen
Expand All @@ -111,8 +115,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: "1.21"
cache: true
Expand All @@ -122,33 +126,40 @@ jobs:
if: github.ref == 'refs/heads/main'
run: bash <(curl -s https://codecov.io/bash)

argoexec-image:
name: argoexec-image
argo-images:
name: argo-images
# needs: [ lint ]
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
- image: argoexec
- image: argocli
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
- name: Build and export
uses: docker/build-push-action@v5
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
with:
context: .
tags: quay.io/argoproj/argoexec:latest
outputs: type=docker,dest=/tmp/argoexec_image.tar
target: argoexec
tags: quay.io/argoproj/${{matrix.image}}:latest
outputs: type=docker,dest=/tmp/${{matrix.image}}_image.tar
target: ${{matrix.image}}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Upload
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: argoexec
path: /tmp/argoexec_image.tar
name: ${{matrix.image}}_image.tar
path: /tmp/${{matrix.image}}_image.tar
if-no-files-found: error

e2e-tests:
name: E2E Tests
needs: [ argoexec-image ]
needs: [ changed-files, argo-images ]
if: ${{ needs.changed-files.outputs.e2e-tests == 'true' }}
runs-on: ubuntu-latest
timeout-minutes: 30
env:
Expand Down Expand Up @@ -190,21 +201,21 @@ jobs:
steps:
- name: Install socat (needed by Kubernetes v1.25)
run: sudo apt-get -y install socat
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: "1.21"
cache: true
- name: Install Java for the SDK
if: ${{matrix.test == 'test-java-sdk'}}
uses: actions/setup-java@v4
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
with:
java-version: '8'
distribution: adopt
cache: maven
- name: Install Python for the SDK
if: ${{matrix.test == 'test-python-sdk'}}
uses: actions/setup-python@v5
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: '3.x'
cache: pip
Expand All @@ -222,13 +233,16 @@ jobs:
echo " user:" >> $KUBECONFIG
echo " token: xxxxxx" >> $KUBECONFIG
until kubectl cluster-info ; do sleep 10s ; done
- name: Download argoexec image
uses: actions/download-artifact@v4
- name: Download images
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
name: argoexec
pattern: '*_image.tar'
path: /tmp
- name: Load argoexec image
run: docker load < /tmp/argoexec_image.tar
- name: Load images
run: |
set -eux
docker load < /tmp/argoexec_image.tar/argoexec_image.tar
docker load < /tmp/argocli_image.tar/argocli_image.tar
- name: Set-up /etc/hosts
run: |
echo '127.0.0.1 dex' | sudo tee -a /etc/hosts
Expand Down Expand Up @@ -295,8 +309,8 @@ jobs:
env:
GOPATH: /home/runner/go
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: "1.21"
cache: true
Expand Down Expand Up @@ -331,15 +345,18 @@ jobs:
env:
GOPATH: /home/runner/go
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: "1.21"
cache: true
- run: make lint STATIC_FILES=false
# if lint makes changes that are not in the PR, fail the build
- name: Check if lint made changes not present in the PR
run: git diff --exit-code
# lint GH Actions
- name: Ensure GH Actions are pinned to SHAs
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@ba37328d4ea95eaf8b3bd6c6cef308f709a5f2ec # v3.0.3

ui:
name: UI
Expand All @@ -348,8 +365,8 @@ jobs:
env:
NODE_OPTIONS: --max-old-space-size=4096
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: "20" # change in all GH Workflows
cache: yarn
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/default-branch-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- name: fail if base branch is not default branch
if: ${{ github.event.pull_request.base.ref != github.event.repository.default_branch }}
uses: actions/github-script@v3
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
core.setFailed("Base branch of the PR - ${{ github.event.pull_request.base.ref }} is not a default branch. Please reopen your PR to ${{ github.event.repository.default_branch }}")
6 changes: 3 additions & 3 deletions .github/workflows/dependabot-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
review:
if: ${{ github.actor == 'dependabot[bot]' && github.repository == 'argoproj/argo-workflows'}}
permissions:
pull-requests: write
contents: write
pull-requests: write # for approving a PR
contents: write # for enabling auto-merge on a PR
runs-on: ubuntu-latest
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
uses: dependabot/fetch-metadata@c9c4182bf1b97f5224aee3906fd373f6b61b4526 # v1.6.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve PR
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,38 +13,40 @@ concurrency:
cancel-in-progress: true

permissions:
contents: write
contents: read

jobs:
docs:
runs-on: ubuntu-latest
permissions:
contents: write # for publishing the docs to GH Pages
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: 3.9
- uses: actions/setup-go@v4
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: '1.21'
- uses: actions/setup-node@v4
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: "19"
# Use the same make target both locally and on CI to make it easier to debug failures.
- name: Build & Lint docs
run: make docs
# If markdownlint fixes issues, files will be changed. If so, fail the build.
- name: Check if markdownlint --fix made changes
# If linters auto-fix issues, files will be changed. If so, fail the build.
- name: Check if linters made changes
run: git diff --exit-code
# Upload the site so reviewers see it.
- name: Upload Docs Site
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: docs
path: site
if-no-files-found: error
- name: Publish to GH Pages (when on main)
if: github.repository == 'argoproj/argo-workflows' && github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ on:
- reopened
- synchronize

permissions:
contents: read

jobs:
title-check:
runs-on: ubuntu-latest
steps:
- name: Check PR Title's semantic conformance
uses: amannn/action-semantic-pull-request@v5
uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f # v5.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading
Loading