-
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 release-3.4
Signed-off-by: Saravanan Balasubramanian <[email protected]>
- Loading branch information
Showing
118 changed files
with
2,542 additions
and
567 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,48 @@ | ||
name: Reproducible bug report | ||
description: Create a reproducible bug report. Not for support requests. | ||
labels: [ bug ] | ||
body: | ||
- type: checkboxes | ||
id: terms | ||
attributes: | ||
label: Pre-requisites | ||
options: | ||
- label: I have double-checked my configuration | ||
required: true | ||
- label: I can confirm the issues exists when I tested with `:latest` | ||
required: true | ||
- label: I'd like to contribute the fix myself (see [contributing guide](https://github.com/argoproj/argo-workflows/blob/master/docs/CONTRIBUTING.md)) | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: What happened/what you expected to happen? | ||
validations: | ||
required: true | ||
- type: input | ||
id: version | ||
attributes: | ||
label: Version | ||
placeholder: e.g. v3.3.8 or latest | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: failing-workflow | ||
attributes: | ||
label: Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images. | ||
render: YAML | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: controller-logs | ||
attributes: | ||
label: Logs from the workflow controller | ||
value: kubectl logs -n argo deploy/workflow-controller | grep ${workflow} | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: wait-logs | ||
attributes: | ||
label: Logs from in your workflow's wait container | ||
value: kubectl logs -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded | ||
validations: | ||
required: true |
This file was deleted.
Oops, something went wrong.
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,49 @@ | ||
name: Regression report | ||
description: Create a regression report. Not for support requests. | ||
labels: [ bug, regression ] | ||
|
||
body: | ||
- type: checkboxes | ||
id: terms | ||
attributes: | ||
label: Pre-requisites | ||
options: | ||
- label: I have double-checked my configuration | ||
required: true | ||
- label: I can confirm the issues exists when I tested with `:latest` | ||
required: true | ||
- label: I'd like to contribute the fix myself (see [contributing guide](https://github.com/argoproj/argo-workflows/blob/master/docs/CONTRIBUTING.md)) | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: What happened/what you expected to happen? | ||
validations: | ||
required: true | ||
- type: input | ||
id: version | ||
attributes: | ||
label: Version | ||
placeholder: e.g. v3.3.8 or latest | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: failing-workflow | ||
attributes: | ||
label: Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images. | ||
render: YAML | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: controller-logs | ||
attributes: | ||
label: Logs from the workflow controller | ||
value: kubectl logs -n argo deploy/workflow-controller | grep ${workflow} | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: wait-logs | ||
attributes: | ||
label: Logs from in your workflow's wait container | ||
value: kubectl logs -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded | ||
validations: | ||
required: true |
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 |
---|---|---|
|
@@ -157,7 +157,13 @@ jobs: | |
- run: make start PROFILE=${{matrix.profile}} AUTH_MODE=client STATIC_FILES=false LOG_LEVEL=info API=${{matrix.test == 'test-api' || matrix.test == 'test-cli' || matrix.test == 'test-java-sdk' || matrix.test == 'test-python-sdk'}} UI=false AZURE=true > /tmp/argo.log 2>&1 & | ||
- run: make wait | ||
timeout-minutes: 4 | ||
- run: make ${{matrix.test}} E2E_SUITE_TIMEOUT=20m STATIC_FILES=false AZURE=true | ||
- name: make ${{matrix.test}} | ||
# https://github.com/marketplace/actions/retry-step | ||
uses: nick-fields/[email protected] | ||
with: | ||
timeout_minutes: 20 | ||
max_attempts: 2 | ||
command: make ${{matrix.test}} E2E_SUITE_TIMEOUT=20m STATIC_FILES=false AZURE=true | ||
- if: ${{ failure() }} | ||
run: | | ||
[ -e /tmp/argo.log ] && cat /tmp/argo.log | ||
|
@@ -173,7 +179,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: "1.18" | ||
go-version: "1.19" | ||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
|
@@ -185,9 +191,9 @@ jobs: | |
- name: Install protoc | ||
run: | | ||
set -eux -o pipefail | ||
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.11.1/protoc-3.11.1-linux-x86_64.zip | ||
sudo unzip -o protoc-3.11.1-linux-x86_64.zip -d /usr/local bin/protoc | ||
sudo unzip -o protoc-3.11.1-linux-x86_64.zip -d /usr/local 'include/*' | ||
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-linux-x86_64.zip | ||
sudo unzip -o protoc-3.19.4-linux-x86_64.zip -d /usr/local bin/protoc | ||
sudo unzip -o protoc-3.19.4-linux-x86_64.zip -d /usr/local 'include/*' | ||
sudo chmod +x /usr/local/bin/protoc | ||
sudo find /usr/local/include -type f | xargs sudo chmod a+r | ||
sudo find /usr/local/include -type d | xargs sudo chmod a+rx | ||
|
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 |
---|---|---|
|
@@ -148,6 +148,7 @@ k8s-jobs | |
kube | ||
kubelet | ||
kubernetes | ||
liveness | ||
localhost | ||
memoization | ||
memoized | ||
|
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 |
---|---|---|
|
@@ -299,11 +299,13 @@ $(GOPATH)/bin/goimports: | |
go install golang.org/x/tools/cmd/[email protected] | ||
|
||
/usr/local/bin/clang-format: | ||
ifeq (, $(shell which clang-format)) | ||
ifeq ($(shell uname),Darwin) | ||
brew install clang-format | ||
else | ||
sudo apt-get install clang-format | ||
endif | ||
endif | ||
|
||
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 | ||
|
@@ -393,7 +395,7 @@ dist/manifests/%: manifests/% | |
# lint/test/etc | ||
|
||
$(GOPATH)/bin/golangci-lint: | ||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b `go env GOPATH`/bin v1.47.1 | ||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b `go env GOPATH`/bin v1.49.0 | ||
|
||
.PHONY: lint | ||
lint: server/static/files.go $(GOPATH)/bin/golangci-lint | ||
|
@@ -421,6 +423,9 @@ test: server/static/files.go | |
.PHONY: install | ||
install: githooks | ||
kubectl get ns $(KUBE_NAMESPACE) || kubectl create ns $(KUBE_NAMESPACE) | ||
# install cert-manager if Certificate CRD is not available | ||
kubectl get ns cert-manager || kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.9.1/cert-manager.yaml | ||
kubectl wait --for=condition=Ready pods --all --namespace cert-manager | ||
kubectl config set-context --current --namespace=$(KUBE_NAMESPACE) | ||
@echo "installing PROFILE=$(PROFILE)" | ||
kubectl kustomize --load-restrictor=LoadRestrictionsNone test/e2e/manifests/$(PROFILE) | sed 's|quay.io/argoproj/|$(IMAGE_NAMESPACE)/|' | sed 's/namespace: argo/namespace: $(KUBE_NAMESPACE)/' | kubectl -n $(KUBE_NAMESPACE) apply --prune -l app.kubernetes.io/part-of=argo -f - | ||
|
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.