-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into nav-bar-background-color
Signed-off-by: krrrr38 <[email protected]>
- Loading branch information
Showing
25 changed files
with
385 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -297,11 +297,15 @@ $(GOPATH)/bin/goimports: | |
go install golang.org/x/tools/cmd/[email protected] | ||
|
||
pkg/apis/workflow/v1alpha1/generated.proto: $(GOPATH)/bin/go-to-protobuf $(PROTO_BINARIES) $(TYPES) $(GOPATH)/src/github.com/gogo/protobuf | ||
# These files are generated on a v3/ folder by the tool. Link them to the root folder | ||
[ -e ./v3 ] || ln -s . v3 | ||
$(GOPATH)/bin/go-to-protobuf \ | ||
--go-header-file=./hack/custom-boilerplate.go.txt \ | ||
--packages=github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1 \ | ||
--apimachinery-packages=+k8s.io/apimachinery/pkg/util/intstr,+k8s.io/apimachinery/pkg/api/resource,k8s.io/apimachinery/pkg/runtime/schema,+k8s.io/apimachinery/pkg/runtime,k8s.io/apimachinery/pkg/apis/meta/v1,k8s.io/api/core/v1,k8s.io/api/policy/v1beta1 \ | ||
--proto-import $(GOPATH)/src | ||
# Delete the link | ||
[ -e ./v3 ] && rm -rf v3 | ||
touch pkg/apis/workflow/v1alpha1/generated.proto | ||
|
||
# this target will also create a .pb.go and a .pb.gw.go file, but in Make 3 we cannot use _grouped target_, instead we must choose | ||
|
@@ -499,20 +503,28 @@ clean: | |
# swagger | ||
|
||
pkg/apis/workflow/v1alpha1/openapi_generated.go: $(GOPATH)/bin/openapi-gen $(TYPES) | ||
# These files are generated on a v3/ folder by the tool. Link them to the root folder | ||
[ -e ./v3 ] || ln -s . v3 | ||
$(GOPATH)/bin/openapi-gen \ | ||
--go-header-file ./hack/custom-boilerplate.go.txt \ | ||
--input-dirs github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1 \ | ||
--output-package github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1 \ | ||
--report-filename pkg/apis/api-rules/violation_exceptions.list | ||
# Delete the link | ||
[ -e ./v3 ] && rm -rf v3 | ||
|
||
|
||
# generates many other files (listers, informers, client etc). | ||
pkg/apis/workflow/v1alpha1/zz_generated.deepcopy.go: $(TYPES) | ||
# These files are generated on a v3/ folder by the tool. Link them to the root folder | ||
[ -e ./v3 ] || ln -s . v3 | ||
bash $(GOPATH)/pkg/mod/k8s.io/[email protected]/generate-groups.sh \ | ||
"deepcopy,client,informer,lister" \ | ||
github.com/argoproj/argo-workflows/v3/pkg/client github.com/argoproj/argo-workflows/v3/pkg/apis \ | ||
workflow:v1alpha1 \ | ||
--go-header-file ./hack/custom-boilerplate.go.txt | ||
# Delete the link | ||
[ -e ./v3 ] && rm -rf v3 | ||
|
||
dist/kubernetes.swagger.json: | ||
@mkdir -p dist | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package config | ||
|
||
type RetentionPolicy struct { | ||
Completed int `json:"completed,omitempty"` | ||
Failed int `json:"failed,omitempty"` | ||
Errored int `json:"errored,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,7 @@ kind: Kustomization | |
|
||
resources: | ||
- ../base | ||
|
||
patchesStrategicMerge: | ||
- overlays/workflow-controller-configmap.yaml | ||
|
9 changes: 9 additions & 0 deletions
9
manifests/quick-start/minimal/overlays/workflow-controller-configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: v1 | ||
data: | ||
retentionPolicy: | | ||
completed: 10 | ||
failed: 3 | ||
errored: 3 | ||
kind: ConfigMap | ||
metadata: | ||
name: workflow-controller-configmap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.