Skip to content

Commit 0dcebc6

Browse files
Merge pull request #69 from codefresh-io/CR-7602-sync-v3.2.3
Cr 7602 sync v3.2.3
2 parents 524d2e6 + 5f20c73 commit 0dcebc6

File tree

882 files changed

+51419
-8115
lines changed

Some content is hidden

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

882 files changed

+51419
-8115
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,45 @@
11
---
22
name: Reproducible bug report
33
about: Create a reproducible bug report. Not for support requests.
4-
labels: 'bug'
4+
labels: ['bug', 'triage']
55
---
6-
## Summary
6+
<!--
7+
Before we start, around 2/3 of issues can be fixed by one of the following:
78
8-
What happened/what you expected to happen?
9+
* Have you double-checked your configuration? Maybe 30% of issues are wrong configuration.
10+
* Have you tested to see if it is fixed in the latest version? Maybe 20% of issues are fixed by this.
11+
* Have you tried using the PNS executor instead of Docker? Maybe 50% of artifact related issues are fixed by this.
912
10-
## Diagnostics
13+
If this is a regression, please open a regression report instead.
14+
-->
1115

12-
What Kubernetes provider are you using?
16+
## Summary
1317

14-
What version of Argo Workflows are you running?
18+
What happened/what you expected to happen?
1519

16-
What executor are you running? Docker/K8SAPI/Kubelet/PNS/Emissary
20+
What version of Argo Workflows are you running?
1721

18-
Did this work in a previous version? I.e. is it a regression?
22+
## Diagnostics
23+
24+
Either a workflow that reproduces the bug, or paste you whole workflow YAML, including status, something like:
1925

2026
```yaml
21-
Paste a workflow that reproduces the bug, including status:
22-
kubectl get wf -o yaml ${workflow}
27+
kubectl get wf -o yaml ${workflow}
2328
```
2429

25-
```
26-
Paste the logs from the workflow controller:
30+
What Kubernetes provider are you using?
31+
32+
What executor are you running? Docker/K8SAPI/Kubelet/PNS/Emissary
33+
34+
```bash
35+
# Logs from the workflow controller:
2736
kubectl logs -n argo deploy/workflow-controller | grep ${workflow}
28-
```
2937

30-
```
31-
Paste the logs from your workflow's wait container:
32-
kubectl logs -c wait -l workflows.argoproj.io/workflow=${workflow}
38+
# The workflow's pods that are problematic:
39+
kubectl get pod -o yaml -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded
40+
41+
# Logs from in your workflow's wait container, something like:
42+
kubectl logs -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded
3343
```
3444

3545
---

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ contact_links:
1010
- name: Chat on Slack
1111
url: https://argoproj.github.io/community/join-slack
1212
about: Maybe chatting with the community can help
13+
- name: 30m to talk anything Argo
14+
url: https://bit.ly/book-30m-with-argo-team
15+
about: Sign-up for 30m with the core Argo engineers
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: Regression report
3+
about: Create a regression report. Not for support requests.
4+
labels: ['bug', 'regression', 'triage']
5+
---
6+
## Summary
7+
8+
What happened/what you expected to happen?
9+
10+
What version is it broken in?
11+
12+
What version was it working in?
13+
14+
## Diagnostics
15+
16+
Either a workflow that reproduces the bug, or paste you whole workflow YAML, including status, something like:
17+
18+
```yaml
19+
kubectl get wf -o yaml ${workflow}
20+
```
21+
22+
What Kubernetes provider are you using?
23+
24+
What executor are you running? Docker/K8SAPI/Kubelet/PNS/Emissary
25+
26+
```bash
27+
# Logs from the workflow controller:
28+
kubectl logs -n argo deploy/workflow-controller | grep ${workflow}
29+
30+
# The workflow's pods that are problematic:
31+
kubectl get pod -o yaml -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded
32+
33+
# Logs from in your workflow's wait container, something like:
34+
kubectl logs -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded
35+
```
36+
37+
---
38+
<!-- Issue Author: Don't delete this message to encourage other users to support your issue! -->
39+
**Message from the maintainers**:
40+
41+
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

.github/pull_request_template.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
Checklist:
2-
3-
* [ ] My organization is added to [USERS.md](https://github.com/argoproj/argo-workflows/blob/master/USERS.md).
4-
51
Tips:
62

3+
* Maybe add you organization to [USERS.md](https://github.com/argoproj/argo-workflows/blob/master/USERS.md).
74
* Your PR needs to pass the required checks before it can be approved. If the check is not required (e.g. E2E tests) it does not need to pass
85
* Sign-off your commits to pass the DCO check: `git commit --signoff`.
96
* Run `make pre-commit -B` to fix codegen or lint problems.
107
* Say how how you tested your changes. If you changed the UI, attach screenshots.
8+
* If changes were requested, and you've made them, then dismis the review to get it looked at again.
9+
* You can ask for help!

.github/workflows/changelog.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- "!v0.0.0"
88
jobs:
99
generate_changelog:
10+
if: github.repository == 'argoproj/argo-workflows'
1011
runs-on: ubuntu-latest
1112
name: Generate changelog
1213
steps:
@@ -22,4 +23,5 @@ jobs:
2223
with:
2324
title: 'docs: updated CHANGELOG.md'
2425
commit-message: 'docs: updated CHANGELOG.md'
26+
branch: create-pull-request/changelog
2527
signoff: true

.github/workflows/ci-build.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
name: Unit Tests
1616
runs-on: ubuntu-20.04
1717
# 5m30
18-
timeout-minutes: 7
18+
timeout-minutes: 8
1919
steps:
2020
- uses: actions/checkout@v2
2121
- uses: actions/setup-go@v2
2222
with:
23-
go-version: "1.15.7"
23+
go-version: "1.16"
2424
- uses: actions/cache@v2
2525
with:
2626
path: /home/runner/.cache/go-build
@@ -59,6 +59,9 @@ jobs:
5959
- test: test-cron
6060
containerRuntimeExecutor: docker
6161
profile: minimal
62+
- test: test-examples
63+
containerRuntimeExecutor: emissary
64+
profile: minimal
6265
- test: test-executor
6366
containerRuntimeExecutor: docker
6467
profile: minimal
@@ -78,7 +81,7 @@ jobs:
7881
- uses: actions/checkout@v2
7982
- uses: actions/setup-go@v2
8083
with:
81-
go-version: "1.15.7"
84+
go-version: "1.16"
8285
- uses: actions/cache@v2
8386
with:
8487
path: /home/runner/.cache/go-build
@@ -91,10 +94,6 @@ jobs:
9194
with:
9295
path: /home/runner/go/bin
9396
key: go-bin-v1-${{ hashFiles('**/go.mod') }}
94-
- uses: actions/cache@v2
95-
with:
96-
path: dist/kustomize
97-
key: kustomize
9897
- run: mkdir -p /tmp/log/argo-e2e
9998
- name: Install and start K3S
10099
timeout-minutes: 3
@@ -136,7 +135,7 @@ jobs:
136135
- uses: actions/checkout@v2
137136
- uses: actions/setup-go@v2
138137
with:
139-
go-version: "1.15.7"
138+
go-version: "1.16"
140139
- uses: actions/cache@v2
141140
with:
142141
path: /home/runner/.cache/go-build
@@ -176,15 +175,15 @@ jobs:
176175
name: Lint
177176
runs-on: ubuntu-20.04
178177
needs: [ tests, codegen ]
179-
timeout-minutes: 5
178+
timeout-minutes: 6
180179
env:
181180
GOPATH: /home/runner/go
182181
steps:
183182
- uses: actions/checkout@v2
184183
- run: cp server/static/files.go.stub server/static/files.go
185184
- uses: golangci/golangci-lint-action@v2
186185
with:
187-
version: v1.36.0
186+
version: v1.42.0
188187

189188
ui:
190189
name: UI

.github/workflows/gh-pages.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
jobs:
99
deploy:
10+
if: github.repository == 'argoproj/argo-workflows'
1011
runs-on: ubuntu-20.04
1112
steps:
1213
- uses: actions/checkout@v2
@@ -17,7 +18,7 @@ jobs:
1718
- name: Setup Golang
1819
uses: actions/setup-go@v1
1920
with:
20-
go-version: '1.15.7'
21+
go-version: '1.16'
2122
- name: build
2223
run: |
2324
pip install mkdocs==1.0.4 mkdocs_material==4.1.1

.github/workflows/release.yaml

Lines changed: 10 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ defaults:
1616
jobs:
1717
build-linux-amd64:
1818
name: Build & push linux/amd64
19+
if: github.repository == 'codefresh-io/argo-workflows'
1920
runs-on: ubuntu-20.04
2021
strategy:
2122
matrix:
@@ -83,6 +84,7 @@ jobs:
8384
8485
build-linux-arm64:
8586
name: Build & push linux/arm64
87+
if: github.repository == 'codefresh-io/argo-workflows'
8688
runs-on: ubuntu-20.04
8789
strategy:
8890
matrix:
@@ -155,6 +157,7 @@ jobs:
155157
156158
build-windows:
157159
name: Build & push windows
160+
if: github.repository == 'codefresh-io/argo-workflows'
158161
runs-on: windows-2019
159162
steps:
160163
- uses: actions/checkout@v2
@@ -194,56 +197,11 @@ jobs:
194197
docker push quay.io/$image_name
195198
done
196199
197-
push-linux-amd64-images:
198-
name: Push manifest with linux/amd64
199-
runs-on: ubuntu-20.04
200-
needs: [ build-linux-amd64 ]
201-
steps:
202-
- uses: actions/checkout@v2
203-
## Codefresh - remove dockerhub
204-
# - name: Docker Login
205-
# uses: Azure/docker-login@v1
206-
# with:
207-
# username: ${{ secrets.DOCKERIO_USERNAME }}
208-
# password: ${{ secrets.DOCKERIO_PASSWORD }}
209-
210-
- name: Login to Quay
211-
uses: Azure/docker-login@v1
212-
with:
213-
login-server: quay.io
214-
username: ${{ secrets.QUAYIO_USERNAME }}
215-
password: ${{ secrets.QUAYIO_PASSWORD }}
216-
217-
- name: Push Multiarch Image
218-
env:
219-
DOCKERIO_ORG: ${{ secrets.DOCKERIO_ORG }}
220-
run: |
221-
echo $(jq -c '. + { "experimental": "enabled" }' ${DOCKER_CONFIG}/config.json) > ${DOCKER_CONFIG}/config.json
222-
223-
docker_org=$DOCKERIO_ORG
224-
225-
tag=$(basename $GITHUB_REF)
226-
if [ $tag = "master" ]; then
227-
tag="latest"
228-
fi
229-
230-
targets="workflow-controller argoexec argocli"
231-
for target in $targets; do
232-
image_name="${docker_org}/${target}:${tag}"
233-
234-
## Codefresh - remove dockerhub
235-
# docker manifest create $image_name ${image_name}-linux-amd64
236-
docker manifest create quay.io/$image_name quay.io/${image_name}-linux-amd64
237-
238-
## Codefresh - remove dockerhub
239-
# docker manifest push $image_name
240-
docker manifest push quay.io/$image_name
241-
done
242-
243200
push-images:
244201
name: Push manifest with all images
202+
if: github.repository == 'codefresh-io/argo-workflows'
245203
runs-on: ubuntu-20.04
246-
needs: [ build-linux-arm64, build-windows, push-linux-amd64-images ]
204+
needs: [ build-linux-amd64, build-linux-arm64, build-windows ]
247205
steps:
248206
- uses: actions/checkout@v2
249207
## Codefresh - remove dockerhub
@@ -291,8 +249,10 @@ jobs:
291249
# docker manifest push $image_name
292250
docker manifest push quay.io/$image_name
293251
done
252+
294253
test-images-linux-amd64:
295254
name: Try pulling linux/amd64
255+
if: github.repository == 'codefresh-io/argo-workflows'
296256
runs-on: ubuntu-20.04
297257
needs: [ push-images ]
298258
strategy:
@@ -332,6 +292,7 @@ jobs:
332292
333293
test-images-windows:
334294
name: Try pulling windows
295+
if: github.repository == 'codefresh-io/argo-workflows'
335296
runs-on: windows-2019
336297
needs: [ push-images ]
337298
steps:
@@ -368,6 +329,7 @@ jobs:
368329
369330
publish-release:
370331
runs-on: ubuntu-20.04
332+
if: github.repository == 'codefresh-io/argo-workflows'
371333
needs: [ push-images, test-images-linux-amd64, test-images-windows ]
372334
env:
373335
NODE_OPTIONS: --max-old-space-size=4096
@@ -385,7 +347,7 @@ jobs:
385347
key: ${{ runner.os }}-node-dep-v1-${{ hashFiles('**/yarn.lock') }}
386348
- uses: actions/setup-go@v2
387349
with:
388-
go-version: "1.15.7"
350+
go-version: "1.16"
389351
- uses: actions/cache@v2
390352
with:
391353
path: /home/runner/.cache/go-build

.github/workflows/sdks.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: SDKs
2+
on:
3+
push:
4+
tags:
5+
- v*
6+
- 'v3.2.*'
7+
- 'v3.1.*'
8+
branches:
9+
- dev-*
10+
jobs:
11+
sdk:
12+
if: github.repository == 'argoproj/argo-workflows'
13+
runs-on: ubuntu-latest
14+
name: Publish SDK
15+
strategy:
16+
matrix:
17+
name:
18+
- java
19+
steps:
20+
- uses: actions/checkout@v2
21+
- run: make --directory sdks/${{matrix.name}} publish -B
22+
env:
23+
JAVA_SDK_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
24+
- uses: peter-evans/create-pull-request@v3
25+
with:
26+
title: 'chore: updated ${{matrix.name}} SDK'
27+
commit-message: 'chore: updated ${{matrix.name}} SDK'
28+
branch: create-pull-request/sdk/${{matrix.name}}
29+
signoff: true

0 commit comments

Comments
 (0)