Skip to content

Commit

Permalink
Merge branch 'master' of github.com:shuangkun/argo-workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
shuangkun.tsk committed Nov 10, 2023
2 parents e547be9 + e343f70 commit 1b132cc
Show file tree
Hide file tree
Showing 25 changed files with 362 additions and 230 deletions.
52 changes: 52 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Changelog

## v3.5.1 (2023-11-03)

* [877c55230](https://github.com/argoproj/argo-workflows/commit/877c5523066e17687856fe3484c9b2d398e986f5) chore(deps): bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 (#12000)
* [2b44c4ad6](https://github.com/argoproj/argo-workflows/commit/2b44c4ad65e5699adf3a2549bf7cb6ae0a0e09ff) chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.3.1 to 1.4.0 (#12003)
* [1a7d9c940](https://github.com/argoproj/argo-workflows/commit/1a7d9c94043b9b1a4a99a317fcdb4e185a8413a3) chore(deps): bump react-datepicker and @types/react-datepicker in /ui (#12004)
* [16dbb6e49](https://github.com/argoproj/argo-workflows/commit/16dbb6e4907f5d675485e651f01acb4d21d679be) chore(deps): use official versions of `bufpipe` and `expr` (#12033)
* [39b8583bd](https://github.com/argoproj/argo-workflows/commit/39b8583bd47c064639c81ada9c6b04b7e3e6ba21) chore(deps): bump github.com/evanphx/json-patch from 5.6.0+incompatible to 5.7.0+incompatible (#11868)
* [9e04496c3](https://github.com/argoproj/argo-workflows/commit/9e04496c3a4f24c1883a2e1fe57a82e2089c8d4f) fix: Upgrade axios to v1.6.0. Fixes #12085 (#12111)
* [0e04980c6](https://github.com/argoproj/argo-workflows/commit/0e04980c670fa7730af1972db21f07ff1ca8ccd4) fix(ui): don't show pagination warning on first page if all are displayed (#11979)
* [98aba1599](https://github.com/argoproj/argo-workflows/commit/98aba159942c8bdf033cfbfc41da6630a5be8358) fix: retry only proper node (#11589) (#11839)
* [d51a87ace](https://github.com/argoproj/argo-workflows/commit/d51a87acef4d0cad0c50adec72eedf2e1c21b3b8) fix: Fix the Maximum Recursion Depth prompt link in the CLI. (#12015)
* [4997ddd7d](https://github.com/argoproj/argo-workflows/commit/4997ddd7d52d95702a07dfa595b38aa7131dca90) fix: remove WorkflowSpec VolumeClaimTemplates patch key (#11662)
* [49fe42088](https://github.com/argoproj/argo-workflows/commit/49fe4208858099aee1295eb6ff8ba7868fbd822f) fix: Fixed workflow onexit condition skipped when retry. Fixes #11884 (#12019)
* [84d15792a](https://github.com/argoproj/argo-workflows/commit/84d15792a631626dcb1cabebcf56215d0c72b844) fix: suppress error about unable to obtain node (#12020)
* [430faf09d](https://github.com/argoproj/argo-workflows/commit/430faf09d3b134746e84bb6705e1a818ecf48405) fix(ui): remove accidentally rendered semi-colon (#12060)
* [2a34dc1a7](https://github.com/argoproj/argo-workflows/commit/2a34dc1a7de2a7e4b8bed61163c7b39241a1f493) fix: Revert #11761 to avoid argo-server performance issue (#12068)
* [7645b98ac](https://github.com/argoproj/argo-workflows/commit/7645b98ac4d259225e55fa6b9ac194efbd78d1f9) fix: conflicting type of "workflow" logging attribute (#12083)
* [90a92215f](https://github.com/argoproj/argo-workflows/commit/90a92215fc43b0cebcd046cd783c3eb237800126) fix: oss list bucket return all records (#12084)
* [8f55b8da7](https://github.com/argoproj/argo-workflows/commit/8f55b8da721e0694aac22dc9a4d12af07b11dcc1) fix: regression in memoization without outputs (#12130)

### Contributors

* Alan Clucas
* Anton Gilgur
* Ruin09
* Takumi Sue
* Vasily Chekalkin
* Yang Lu
* Yuan (Terry) Tang
* dependabot[bot]
* gussan
* happyso
* shuangkun tian

## v3.5.0 (2023-10-13)

* [bf735a2e8](https://github.com/argoproj/argo-workflows/commit/bf735a2e861d6b1c686dd4a076afc3468aa89c4a) fix(windows): prevent infinite run. Fixes #11810 (#11993)
Expand Down Expand Up @@ -454,6 +488,24 @@
* yeicandoit
* younggil

## v3.4.13 (2023-11-03)

* [bdc1b2590](https://github.com/argoproj/argo-workflows/commit/bdc1b25900f44c194ab36d202821cec01ba96a73) fix: regression in memoization without outputs (#12130)
* [1cf98efef](https://github.com/argoproj/argo-workflows/commit/1cf98efef6e9afbbb99f6c481440d0199904b8b8) chore(deps): bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 (#12000)
* [2a044bf8f](https://github.com/argoproj/argo-workflows/commit/2a044bf8f8af2614cce0d25d019ef669b855a230) fix: Upgrade axios to v1.6.0. Fixes #12085 (#12111)
* [37b5750dc](https://github.com/argoproj/argo-workflows/commit/37b5750dcb23916ddd6f18284b5b70fcfae872da) fix: Workflow controller crash on nil pointer (#11770)
* [2c6c4d618](https://github.com/argoproj/argo-workflows/commit/2c6c4d61822493a627b13874987e20ec43d8ee26) fix: conflicting type of "workflow" logging attribute (#12083)
* [ade6fb4d7](https://github.com/argoproj/argo-workflows/commit/ade6fb4d72c98f73486d19a147df5c4919f43c99) fix: oss list bucket return all records (#12084)

### Contributors

* Alan Clucas
* Cheng Wang
* Vasily Chekalkin
* Yuan (Terry) Tang
* dependabot[bot]
* shuangkun tian

## v3.4.12 (2023-10-19)

* [11e61a8fe](https://github.com/argoproj/argo-workflows/commit/11e61a8fe81dd3d110a6bce2f5887f5f9cd3cf3c) fix(ui): remove "last month" default date filter mention from New Version Modal (#11982)
Expand Down
2 changes: 2 additions & 0 deletions OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ approvers:
- juliev0

reviewers:
- agilgur5
- isubasinghe
- joibel
- tczhao
1 change: 1 addition & 0 deletions USERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ Currently, the following organizations are **officially** using Argo Workflows:
1. [Schlumberger](https://slb.com/)
1. [Securitas](https://securitas.com/)
1. [SegmentStream](https://segmentstream.com)
1. [Semgrep](https://semgrep.com)
1. [Sendible](https://sendible.com)
1. [Sidecar Technologies](https://hello.getsidecar.com/)
1. [smallcase](https://smallcase.com/)
Expand Down
10 changes: 10 additions & 0 deletions cmd/argo/commands/clustertemplate/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ func NewCreateCommand() *cobra.Command {
command := &cobra.Command{
Use: "create FILE1 FILE2...",
Short: "create a cluster workflow template",
Example: `# Create a Cluster Workflow Template:
argo cluster-template create FILE1
# Create a Cluster Workflow Template and print it as YAML:
argo cluster-template create FILE1 --output yaml
# Create a Cluster Workflow Template with relaxed validation:
argo cluster-template create FILE1 --strict false
`,

Run: func(cmd *cobra.Command, args []string) {
if len(args) == 0 {
cmd.HelpFunc()(cmd, args)
Expand Down
9 changes: 9 additions & 0 deletions cmd/argo/commands/clustertemplate/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ func NewListCommand() *cobra.Command {
command := &cobra.Command{
Use: "list",
Short: "list cluster workflow templates",
Example: `# List Cluster Workflow Templates:
argo cluster-template list
# List Cluster Workflow Templates with additional details such as labels, annotations, and status:
argo cluster-template list --output wide
# List Cluster Workflow Templates by name only:
argo cluster-template list -o name
`,
Run: func(cmd *cobra.Command, args []string) {
ctx, apiClient := client.NewAPIClient(cmd.Context())
serviceClient, err := apiClient.NewClusterWorkflowTemplateServiceClient()
Expand Down
28 changes: 28 additions & 0 deletions cmd/argo/commands/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,34 @@ func NewListCommand() *cobra.Command {
command := &cobra.Command{
Use: "list",
Short: "list workflows",
Example: `# List all workflows:
argo list
# List all workflows from all namespaces:
argo list -A
# List all running workflows:
argo list --running
# List all completed workflows:
argo list --completed
# List workflows created within the last 10m:
argo list --since 10m
# List workflows that finished more than 2h ago:
argo list --older 2h
# List workflows with more information (such as parameters):
argo list -o wide
# List workflows in YAML format:
argo list -o yaml
# List workflows that have both labels:
argo list -l label1=value1,label2=value2
`,

Run: func(cmd *cobra.Command, args []string) {
ctx, apiClient := client.NewAPIClient(cmd.Context())
serviceClient := apiClient.NewWorkflowServiceClient()
Expand Down
2 changes: 1 addition & 1 deletion cmd/argo/commands/stop.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func NewStopCommand() *cobra.Command {
command.Flags().StringVar(&stopArgs.nodeFieldSelector, "node-field-selector", "", "selector of node to stop, eg: --node-field-selector inputs.paramaters.myparam.value=abc")
command.Flags().StringVarP(&stopArgs.labelSelector, "selector", "l", "", "Selector (label query) to filter on, not including uninitialized ones, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2)")
command.Flags().StringVar(&stopArgs.fieldSelector, "field-selector", "", "Selector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.")
command.Flags().BoolVar(&stopArgs.dryRun, "dry-run", false, "If true, only stop the workflows that would be stopped, without stopping them.")
command.Flags().BoolVar(&stopArgs.dryRun, "dry-run", false, "If true, only print the workflows that would be stopped, without stopping them.")
return command
}

Expand Down
14 changes: 14 additions & 0 deletions docs/cli/argo_cluster-template_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ create a cluster workflow template
argo cluster-template create FILE1 FILE2... [flags]
```

### Examples

```
# Create a Cluster Workflow Template:
argo cluster-template create FILE1
# Create a Cluster Workflow Template and print it as YAML:
argo cluster-template create FILE1 --output yaml
# Create a Cluster Workflow Template with relaxed validation:
argo cluster-template create FILE1 --strict false
```

### Options

```
Expand Down
14 changes: 14 additions & 0 deletions docs/cli/argo_cluster-template_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ list cluster workflow templates
argo cluster-template list [flags]
```

### Examples

```
# List Cluster Workflow Templates:
argo cluster-template list
# List Cluster Workflow Templates with additional details such as labels, annotations, and status:
argo cluster-template list --output wide
# List Cluster Workflow Templates by name only:
argo cluster-template list -o name
```

### Options

```
Expand Down
32 changes: 32 additions & 0 deletions docs/cli/argo_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,38 @@ list workflows
argo list [flags]
```

### Examples

```
# List all workflows:
argo list
# List all workflows from all namespaces:
argo list -A
# List all running workflows:
argo list --running
# List all completed workflows:
argo list --completed
# List workflows created within the last 10m:
argo list --since 10m
# List workflows that finished more than 2h ago:
argo list --older 2h
# List workflows with more information (such as parameters):
argo list -o wide
# List workflows in YAML format:
argo list -o yaml
# List workflows that have both labels:
argo list -l label1=value1,label2=value2
```

### Options

```
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/argo_stop.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ argo stop WORKFLOW WORKFLOW2... [flags]
### Options

```
--dry-run If true, only stop the workflows that would be stopped, without stopping them.
--dry-run If true, only print the workflows that would be stopped, without stopping them.
--field-selector string Selector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.
-h, --help help for stop
--message string Message to add to previously running nodes
Expand Down
3 changes: 2 additions & 1 deletion docs/cost-optimisation.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ A workflow (and for that matter, any Kubernetes resource) will incur a cost as l
The workflow controller memory and CPU needs to increase linearly with the number of pods and workflows you are currently running.
You should delete workflows once they are no longer needed, or enable a [Workflow Archive](workflow-archive.md) and you can still view them after they are removed from Kubernetes.
You should delete workflows once they are no longer needed.
You can enable the [Workflow Archive](workflow-archive.md) to continue viewing them after they are removed from Kubernetes.
Limit the total number of workflows using:
Expand Down
2 changes: 1 addition & 1 deletion docs/memoization.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ spec:
* Reduce the size of the output parameters for the nodes that are being memoized.
* Split your cache into different memoization keys and cache names so that each cache entry is small.
1. My step isn't getting memoized, why not?
Ensure that you have specified at least one output on the step.
If you are running workflows <3.5 ensure that you have specified at least one output on the step.
24 changes: 12 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ module github.com/argoproj/argo-workflows/v3
go 1.21

require (
cloud.google.com/go/storage v1.33.0
cloud.google.com/go/storage v1.34.1
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible
github.com/Masterminds/sprig/v3 v3.2.3
github.com/TwiN/go-color v1.4.0
github.com/alibabacloud-go/tea v1.2.1
github.com/aliyun/aliyun-oss-go-sdk v2.2.9+incompatible
github.com/aliyun/aliyun-oss-go-sdk v3.0.1+incompatible
github.com/aliyun/credentials-go v1.3.1
github.com/antonmedv/expr v1.15.3
github.com/argoproj/argo-events v1.7.3
Expand Down Expand Up @@ -60,9 +60,9 @@ require (
golang.org/x/oauth2 v0.13.0
golang.org/x/sync v0.4.0
golang.org/x/time v0.3.0
google.golang.org/api v0.148.0
google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97
google.golang.org/grpc v1.58.3
google.golang.org/api v0.149.0
google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b
google.golang.org/grpc v1.59.0
gopkg.in/go-playground/webhooks.v5 v5.17.0
k8s.io/api v0.24.3
k8s.io/apimachinery v0.24.3
Expand Down Expand Up @@ -98,15 +98,15 @@ require (
github.com/vbatts/tar-split v0.11.3 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/tools v0.9.1 // indirect
google.golang.org/genproto v0.0.0-20231002182017-d307bd883b97 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a // indirect
google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b // indirect
)

require (
cloud.google.com/go v0.110.8 // indirect
cloud.google.com/go/compute v1.23.0 // indirect
cloud.google.com/go/compute v1.23.1 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v1.1.2 // indirect
cloud.google.com/go/iam v1.1.3 // indirect
github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.8.0
github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 // indirect
Expand Down Expand Up @@ -149,7 +149,7 @@ require (
github.com/chai2010/gettext-go v0.0.0-20160711120539-c6fed771bfd5 // indirect
github.com/chrismellard/docker-credential-acr-env v0.0.0-20220327082430-c57b701bfc08 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/creack/pty v1.1.18
github.com/creack/pty v1.1.20
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/daviddengcn/go-colortext v0.0.0-20160507010035-511bcaf42ccd // indirect
github.com/dimchansky/utfbom v1.1.1 // indirect
Expand Down Expand Up @@ -182,8 +182,8 @@ require (
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.1 // indirect
github.com/google/uuid v1.4.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
Expand Down
Loading

0 comments on commit 1b132cc

Please sign in to comment.