Skip to content

Commit a29495b

Browse files
committed
Merge branch 'master' into release-3.2
2 parents 86eae7d + 53057a1 commit a29495b

File tree

64 files changed

+705
-619
lines changed

Some content is hidden

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

64 files changed

+705
-619
lines changed

.github/workflows/ci-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ jobs:
179179
- run: cp server/static/files.go.stub server/static/files.go
180180
- uses: golangci/golangci-lint-action@v2
181181
with:
182-
version: v1.40.1
182+
version: v1.42.0
183183

184184
ui:
185185
name: UI

.golangci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,21 @@ run:
1717
- functional
1818
linters:
1919
enable:
20+
- bodyclose
2021
- deadcode
2122
- errcheck
2223
- goimports
24+
# only minor issues
25+
# - errorlint
26+
- exportloopref
27+
- gci
2328
- gosec
2429
- gosimple
2530
- govet
31+
- ineffassign
2632
- misspell
33+
- rowserrcheck
34+
- sqlclosecheck
2735
- staticcheck
2836
- structcheck
2937
- typecheck

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Changelog
22

3+
## v3.2.0-rc5 (2021-09-29)
4+
5+
* [87a57328e](https://github.com/argoproj/argo-workflows/commit/87a57328e72d794b29481b7377c49fd58b2b9480) feat: implement WatchEvents for argoKubeWorkflowServiceClient. Fixes #6173 (#6816)
6+
* [543366fab](https://github.com/argoproj/argo-workflows/commit/543366fab79ed79c36f172aba8a288ce73d6f675) fix(apiclient): remove default client in facade. Fixes #6733 (#6800)
7+
* [2c3ac705a](https://github.com/argoproj/argo-workflows/commit/2c3ac705a20ae1cf38d0eb30b15826f2946857ac) fix: Missing duration metrics if controller restart (#6815)
8+
* [a87e94b62](https://github.com/argoproj/argo-workflows/commit/a87e94b620784c93f13543de83cd784e20fad595) fix: Fix expression template random errors. Fixes #6673 (#6786)
9+
* [254c73084](https://github.com/argoproj/argo-workflows/commit/254c73084da5f02a5edfea42d4671ae97703592f) fix: Fix bugs, unable to resolve tasks aggregated outputs in dag outputs. Fixes #6684 (#6692)
10+
* [965309925](https://github.com/argoproj/argo-workflows/commit/96530992502bfd126fd7dcb0a704d3c36c166bd1) fix: remove windows UNC paths from wait/init containers. Fixes #6583 (#6704)
11+
* [ffb0db711](https://github.com/argoproj/argo-workflows/commit/ffb0db711b611633e30a6586b716af02c37a9de6) fix: Missing duration metrics if controller restart (#6815)
12+
* [81bfa21eb](https://github.com/argoproj/argo-workflows/commit/81bfa21eb56cdba45b871f9af577a9dc72aa69f2) feat(controller): add workflow level archivedLogs. Fixes #6663 (#6802)
13+
* [6995d682d](https://github.com/argoproj/argo-workflows/commit/6995d682dabbaac7e44e97f9a18480723932a882) fix: update outdated links for cli (#6791)
14+
* [b35aabe86](https://github.com/argoproj/argo-workflows/commit/b35aabe86be9fa5db80299cebcfb29c32be21047) fix(lint): checking error for viper command flag binding (#6788)
15+
* [96c562649](https://github.com/argoproj/argo-workflows/commit/96c5626497df9eedad062df9b8aaaaeea3561407) feat: Add env vars config for argo-server and workflow-controller (#6767)
16+
* [7a7171f46](https://github.com/argoproj/argo-workflows/commit/7a7171f464e5f2f71526c3cdb63e854e28fd3c01) fix: Fix expression template random errors. Fixes #6673 (#6786)
17+
* [067576ed7](https://github.com/argoproj/argo-workflows/commit/067576ed72750158efd034078ab8102b72438798) fix(controller): fix template archivelocation-archivelog behaviour (#6754)
18+
* [d747fc5ea](https://github.com/argoproj/argo-workflows/commit/d747fc5ea985ad39324282e8410ca6397e05832f) fix(ui): workflow event binding typo (#6782)
19+
* [9dc33f617](https://github.com/argoproj/argo-workflows/commit/9dc33f6172a3bc1e0fc0e64d9ed56ed92981c349) fix: Fix bugs, unable to resolve tasks aggregated outputs in dag outputs. Fixes #6684 (#6692)
20+
* [954292d50](https://github.com/argoproj/argo-workflows/commit/954292d500b1a63c1c467f0d404b38e8b372f22e) fix(controller): TestPodExists unit test, add delay to wait for informer getting pod info (#6783)
21+
22+
### Contributors
23+
24+
* Alex Collins
25+
* Anish Dangi
26+
* Niklas Hansson
27+
* Philippe Richard
28+
* Saravanan Balasubramanian
29+
* Tianchu Zhao
30+
* smile-luobin
31+
* tooptoop4
32+
* ygelfand
33+
334
## v3.2.0-rc4 (2021-09-21)
435

536
* [710e82366](https://github.com/argoproj/argo-workflows/commit/710e82366dc3b0b17f5bf52004d2f72622de7781) fix: fix a typo in example file dag-conditional-artifacts.yaml (#6775)

USERS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ Currently, the following organizations are **officially** using Argo Workflows:
110110
1. [Polarpoint.io](https://polarpoint.io)
111111
1. [Pollination](https://pollination.cloud)
112112
1. [Preferred Networks](https://www.preferred-networks.jp/en/)
113+
1. [Promaton](https://www.promaton.com/)
113114
1. [Prudential](https://www.prudential.com.sg/)
114115
1. [Quantibio](http://quantibio.com/us/en/)
115116
1. [Raccoon Digital Marketing](https://raccoon.ag/)

api/jsonschema/schema.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5277,7 +5277,6 @@
52775277
"properties": {
52785278
"body": {
52795279
"description": "Body is content of the HTTP Request",
5280-
"format": "byte",
52815280
"type": "string"
52825281
},
52835282
"headers": {

api/openapi-spec/swagger.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9425,8 +9425,7 @@
94259425
"properties": {
94269426
"body": {
94279427
"description": "Body is content of the HTTP Request",
9428-
"type": "string",
9429-
"format": "byte"
9428+
"type": "string"
94309429
},
94319430
"headers": {
94329431
"description": "Headers are an optional list of headers to send with HTTP requests",

cmd/argo/commands/cron/get_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"testing"
55
"time"
66

7-
"github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1"
8-
97
"github.com/stretchr/testify/assert"
8+
9+
"github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1"
1010
)
1111

1212
var invalidCwf = `

cmd/argo/commands/resubmit.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ package commands
33
import (
44
"context"
55

6+
"github.com/argoproj/pkg/errors"
67
"github.com/spf13/cobra"
78
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
89

9-
"github.com/argoproj/pkg/errors"
10-
1110
"github.com/argoproj/argo-workflows/v3/cmd/argo/commands/client"
1211
workflowpkg "github.com/argoproj/argo-workflows/v3/pkg/apiclient/workflow"
1312
wfv1 "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1"

cmd/argo/commands/retry.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ import (
55
"fmt"
66
"os"
77

8+
"github.com/argoproj/pkg/errors"
89
"github.com/spf13/cobra"
910
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1011
"k8s.io/apimachinery/pkg/fields"
1112

12-
"github.com/argoproj/pkg/errors"
13-
1413
"github.com/argoproj/argo-workflows/v3/cmd/argo/commands/client"
1514
workflowpkg "github.com/argoproj/argo-workflows/v3/pkg/apiclient/workflow"
1615
wfv1 "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1"

cmd/argoexec/commands/agent.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
"os"
77

88
log "github.com/sirupsen/logrus"
9+
"github.com/spf13/cobra"
910
"k8s.io/client-go/kubernetes"
1011
restclient "k8s.io/client-go/rest"
1112

@@ -14,8 +15,6 @@ import (
1415
"github.com/argoproj/argo-workflows/v3/util/logs"
1516
"github.com/argoproj/argo-workflows/v3/workflow/common"
1617
"github.com/argoproj/argo-workflows/v3/workflow/executor"
17-
18-
"github.com/spf13/cobra"
1918
)
2019

2120
func NewAgentCommand() *cobra.Command {

0 commit comments

Comments
 (0)