Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add rollout.Spec.Strategy.Canary.MinPodsPerRS #1

Open
wants to merge 180 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
30f0e7d
fix: Wait for all canary pods to come up in TrafficRouting canary bef…
khhirani Nov 18, 2021
74e4be4
fix: Modify Experiment collision naming from dot-notation to dash (#1…
khhirani Nov 18, 2021
7fcea51
fix: add service delete to argo-rollouts role (#1632)
khhirani Nov 18, 2021
55c70a1
fix: Fixed NPE while getting the ReplicaSet labels (#1664)
agrawroh Nov 18, 2021
615bce3
fix: reset the progress condition when a pod is restarted (#1649)
huikang Nov 19, 2021
ca3ccd0
docs: Add link to awesome-argo for more resources (#1622)
terrytangyuan Nov 19, 2021
47d59fa
feat: added Argo version info in /metrics endpoint (#1662)
smaloo-salesforce Nov 19, 2021
104df9a
add rollout.Spec.Strategy.Canary.MinPodsPerRS
Nov 30, 2021
9d32c13
fix: sending updates to dashboard when a pod terminates (#1642)
perenesenko Nov 30, 2021
ec3d383
feat(analysis): Add Dry-Run Mode (#1627)
agrawroh Dec 2, 2021
0f277ac
docs(analysis): add missing explanation about failureLimit (#1674)
huikang Dec 2, 2021
4d3b992
feat: increase default QPS/Burst to 40/80. Allow values to be tunable…
jessesuen Dec 3, 2021
ba93636
fix: use patch to update workload-generation annotation (#1678)
Dec 10, 2021
c67735a
chore: pin sys module in go.mod to resolve a fatal runtime execution …
Dec 10, 2021
271c3c0
fix: missing rollout informer writeback (#1698)
jessesuen Dec 11, 2021
b3d50d1
refactor: stop using mpatch (#1654)
Dec 11, 2021
3c1e87c
chore: fix flaky TestAbortRolloutAfterFailedExperiment test (#1710)
Dec 13, 2021
5e188f9
fix(controller): Sticky session correction for AWS ALB. Fixes #1572 (…
derjust Dec 14, 2021
6d4174b
docs: Clarify application dependencies (#1706)
kostis-codefresh Dec 14, 2021
5f6187c
chore(docs): Updated FAQs (#1695)
pbaderia01 Dec 14, 2021
15096f3
feat(experiment): Added DryRun analysis mode functionality for experi…
agrawroh Dec 14, 2021
e243276
docs: fix some vague description about analysis arguments (#1672)
Dec 14, 2021
918153a
docs: Use readthedocs versionining. Closes #1518 (#1671)
kostis-codefresh Dec 14, 2021
294d7a1
chore(deps): bump github.com/evanphx/json-patch/v5 from 5.2.0 to 5.6.…
dependabot[bot] Dec 14, 2021
061efd4
chore(deps): bump codecov/codecov-action from 2.0.3 to 2.1.0 (#1508)
dependabot[bot] Dec 14, 2021
5b140c9
fix: Enable default triggers for argo rollouts (#1689)
RaviHari Dec 15, 2021
a3477cf
fix: leaderelection uses the lock in the same ns as the controller (#…
Dec 21, 2021
97444e8
update rollout-crd.yaml
Dec 29, 2021
4424828
fix test
Jan 2, 2022
c291d2d
fix: dashboard promote buttons disabled during deploy (#1669)
bpoland Jan 4, 2022
04494ef
fix: e2e istio crd; deprecated apiextensions/v1beta1 (#1740)
Jan 4, 2022
0bc0592
fix(plugin): Fixes arm64 compatibility to plugin docker image. Fixes …
cguertin14 Jan 4, 2022
200b045
chore: update docs for minikube 1.19 (#1746)
crenshaw-dev Jan 5, 2022
e2201d0
docs(controller): remove duplicate sentence. (#1756)
mubarak-j Jan 11, 2022
03e75f9
fix: traffic routed canary would flap traffic to stable after last st…
perenesenko Jan 12, 2022
d1eef41
docs: clarify the setCanaryScale of dynamic canary scale (#1703)
Jan 12, 2022
75c2861
feat(analysis): Add Measurements Retention Limit Option for Metrics (…
agrawroh Jan 12, 2022
649aa55
fix: missing array type in the CRD rollout's spec volumes (#1737)
Jan 12, 2022
b833073
docs: Add notiication templates for rollouts and analysis (#1753)
RaviHari Jan 12, 2022
7f65b2b
docs: mention default notification templates (#1725)
kostis-codefresh Jan 12, 2022
4739bcd
feat(analysis): Allow analysis arguments to get valueFrom Rollout sta…
ATGardner Jan 12, 2022
a4bf576
chore: make ci/local codegen consistent (#1772)
jessesuen Jan 13, 2022
f419820
fix: status.alb should be optionally populated (#1766)
jessesuen Jan 14, 2022
4ee0365
chore: upgrade k8s libraries to v1.22 (#1773)
jessesuen Jan 14, 2022
0f93f9b
fix!: improve basic canary approximation accuracy and honor maxSurge …
jessesuen Jan 14, 2022
bf06d7e
docs: Add Ibotta to the list of users (#1744)
mubarak-j Jan 14, 2022
eb46302
docs: Add Gllue to list of users (#1745)
icecoffee531 Jan 14, 2022
c77f9b5
fix: continue update process in middle of update if spec.replicas is …
Jan 18, 2022
71d746c
feat(rollout): AnalysisRuns created by Rollouts can limit retention o…
agrawroh Jan 19, 2022
a051f38
docs: fix doc for valueFrom fields for analysis args (#1763)
harikrongali Jan 19, 2022
b0ae59a
fix: retry Experiment ReplicaSet scaling conflict errors (#1778)
jessesuen Jan 19, 2022
0d3b000
fix: controller could panic in scaling events with analysis (#1699)
jessesuen Jan 19, 2022
19cbe34
fix: delay service injection of selector labels until ReplicaSet avai…
jessesuen Jan 19, 2022
e10d151
fix: notifications using workloadRef did not have access to pod templ…
jessesuen Jan 19, 2022
0041d37
fix: plugin did not set deployment image when using workloadRef (#1787)
jessesuen Jan 19, 2022
f5c229b
chore(deps): bump github.com/antonmedv/expr from 1.8.9 to 1.9.0 (#1712)
dependabot[bot] Jan 20, 2022
05afadb
fix(ui): Truncate long container names (#1793)
rbreeze Jan 20, 2022
86055ee
fix(ui): Show container images in dashboard for rollouts with a Workl…
rbreeze Jan 20, 2022
1240053
fix(ui): Requesting cluster scoped namespaces does not fail gracefull…
rbreeze Jan 20, 2022
4c9adae
chore: Fix istio vs reconcile errors (#1460)
agrawroh Jan 20, 2022
030427e
chore(deps): bump github.com/aws/aws-sdk-go-v2/config (#1791)
dependabot[bot] Jan 21, 2022
6fabe9d
fix: plugin panic while watching progress (#1796)
jessesuen Jan 21, 2022
a74ad8e
fix: Promote-full with dynamicStableScaling increases weight accordin…
nissy34 Jan 21, 2022
9374486
fix: canary replicas/weight could flap during abort with dynamic scal…
jessesuen Jan 25, 2022
b06e83d
chore: Configure dependabot to ignore k8s dependencies (#1802)
blkperl Jan 25, 2022
0309eb6
chore(deps: bump k8s.io/kubernetes with dependencies to v1.23.1. (#1785)
smuda Jan 25, 2022
fbf680c
docs: update membership information (#1814)
jessesuen Jan 27, 2022
91c1eab
fix: remove non-existent target in makefile (#1813)
Jan 27, 2022
9f3f4c8
docs: Added ArgoCon 21 presentation (#1811)
kostis-codefresh Jan 27, 2022
edfe42e
chore(deps): update github.com/miekg/dns for CVE-2019-19794 (#1810)
jessesuen Jan 28, 2022
85cdf40
fix: client can detect if rollout is in the process of unpausing (#1798)
jessesuen Jan 28, 2022
11cfc3b
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/elasticloadbal…
dependabot[bot] Jan 28, 2022
4bb17d7
chore(deps): bump github.com/prometheus/common from 0.21.0 to 0.32.1 …
dependabot[bot] Jan 28, 2022
74e95f8
docs: mention internal architecture
kostis-codefresh Jan 28, 2022
56a94f4
docs: fixed rollout controller link
kostis-codefresh Jan 31, 2022
d3275e0
fix(canary): scale up and down old replicas (#1824)
Jan 31, 2022
e7f7e85
chore: generate and upload sbom during release (#1834)
leoluz Feb 1, 2022
86dc378
fix: flaky unit test (#1831)
harikrongali Feb 1, 2022
808fd79
feat(experiment): Add Measurements Retention Limit Option for Metrics
agrawroh Jan 19, 2022
53643c5
chore: CVE-2020-26160 (#1829)
kshamajain99 Feb 1, 2022
822a5cf
feat(analysis): Added additional metadata to the status of AnalysisRun
agrawroh Nov 8, 2021
f388937
Added Docs
agrawroh Nov 11, 2021
e79296a
fix: using our own pod template hashing (#1809)
perenesenko Feb 2, 2022
5f0f8b4
feat: TrafficRouting support with AWS App Mesh (#1401) (#1606)
kiranmeduri Feb 3, 2022
85de659
docs: Update security.md (#1840)
hblixt Feb 4, 2022
34b4375
feat: ping-pong service management (#1697)
perenesenko Feb 4, 2022
2fda86a
fix(analysis): surface analysis validation failure to rollout status …
Feb 4, 2022
1867742
feat: Add logformat flag to rollouts-controller (#1818)
Karol-Szlachta-DM Feb 4, 2022
7cc2f0d
chore(deps): bump github.com/aws/aws-sdk-go-v2 dependencies (#1835)
dependabot[bot] Feb 4, 2022
a78640a
docs: Updated the case of properties according to actual property name
mksha Feb 4, 2022
ae4bf33
chore(deps): bump github.com/newrelic/newrelic-client-go (#1836)
dependabot[bot] Feb 4, 2022
00bc97c
chore: Generate spdx file for the docker image (#1844)
leoluz Feb 4, 2022
52b4bd8
chore: fix spdx ci (#1848)
jessesuen Feb 5, 2022
2deb9f0
chore: fix spdx image generation (#1849)
leoluz Feb 5, 2022
47973e4
docs: Add a toggle for dark mode
blkperl Feb 5, 2022
e3344dc
docs: Add new line
blkperl Feb 5, 2022
7a9850e
docs: Fix lint
blkperl Feb 5, 2022
f371665
docs: Fix codegen of mkdocs.yaml
blkperl Feb 5, 2022
459112b
feat: Added delay button in the scaled down revision (#1355) (#1804)
schakrad Feb 9, 2022
d3c305c
fix: add workaround to fix 'stream terminated by RST_STREAM with erro…
alexmt Feb 12, 2022
7b69058
docs: add community section to README.md
danielhelfand Feb 17, 2022
575a619
chore: move dependencies to dev dependencies
crenshaw-dev Feb 23, 2022
4d95f6a
docs: Add SAP Concur (#1878)
tvalasek Mar 7, 2022
acf8054
feat: Dashboard now displaying name, specRef and weight in the experi…
schakrad Mar 7, 2022
676c865
docs: vpa for rollouts (#1909)
RaviHari Mar 16, 2022
08cf10e
chore: fix golangci-lint to 1.44 to fix build error (#1917)
jessesuen Mar 21, 2022
55a041a
feat: Report notification metrics for rollouts (#1856)
RaviHari Mar 22, 2022
e89c97b
feature: Dashboard displaying the setCanaryScale values (#1923)
schakrad Mar 30, 2022
40c22b3
fix: Use actual weight from status field on rollout object (#1937)
zachaller Apr 1, 2022
beae624
chore: Improve image build speed (#1919)
34fathombelow Apr 1, 2022
4333b4f
fix: build/lint is broken due to dependencies changes (#1958)
zachaller Apr 5, 2022
589e896
fix: Add watch verb to clusterRole for pods
ansilh Apr 7, 2022
633892d
chore: Pin golang to 1.17 to avoid CVEs in docker image (#1920)
bduverger Apr 11, 2022
a8ae46a
chore: Improve image build speed #1919 (#1948)
34fathombelow Apr 11, 2022
5d257f7
chore(doc): Clarify doc for Rollout.spec.progressDeadlineAbort
ivanov-vovan Apr 11, 2022
b50a222
chore(doc): Sync doc and code comments for the progressDeadlineAbort …
ivanov-vovan Apr 11, 2022
3321a89
fix: Add pagination to FindLoadBalancerByDNSName (#1971)
zachaller Apr 13, 2022
e42b4d4
fix: Change behavior of rollout to not check for availability during …
zachaller Apr 21, 2022
f91e3ba
feat: Allow prometheus server address to be centrally configured (#1956)
RaviHari Apr 28, 2022
b115ea8
feat: Traefik support. Fixes #516 (#1907)
PhilippPlotnikov Apr 29, 2022
b364782
docs: add WorkloadRef to Rollout spec (#2019)
danielhelfand May 4, 2022
03636ab
fix: missing lb event (#2021)
zachaller May 5, 2022
a21b7e5
ci: Auto-cancel redundant builds. (#2002)
alexec May 6, 2022
97e807e
chore: update version file to 1.2.0 (#2013)
huikang May 6, 2022
a5c623a
docs: steps to rollback to deployment kinds (#2014)
huikang May 6, 2022
85878e6
fix important block typo in canary doc (#2016)
thomas-riccardi May 6, 2022
59f949c
docs: expose/fix Traefik docs (#2017)
kostis-codefresh May 6, 2022
c757147
feat: Allow Traffic shaping through header based routing. Fixes #474 …
perenesenko May 25, 2022
15df713
feat: Ability for lint command to inspect referenced resources (#2030)
zachaller May 25, 2022
c5ee361
docs: add selector to migrating page (#2039)
zachaller May 25, 2022
94cdfd5
feature: Dashboard now displaying analysis details (#1910)
schakrad May 26, 2022
d93b043
fix: UI codegen (#2072)
zachaller Jun 3, 2022
3f5960e
fix: notifications when condition (#2066)
RaviHari Jun 6, 2022
a6dbe0e
feat: ArgoRollouts dashboard now supporting rootpath (#2075)
schakrad Jun 13, 2022
1d0f9cf
add additionalStableIngresses datatype
tperdue321 Jun 22, 2022
22845f2
add validation for additionalStableIngresses
tperdue321 Jun 22, 2022
066ed1e
add rollout controller logic for additionalStableIngresses
tperdue321 Jun 22, 2022
e302429
add nginx ingress logic for setting weight & fetching names for addit…
tperdue321 Jun 22, 2022
24c6aec
Update membership permissions. (#2112)
zachaller Jun 22, 2022
31eb2e4
add nginx testing for additionalStableIngresses
tperdue321 Jun 22, 2022
e53e889
fix: High reconciliation activity and CPU load for invalid rollout (#…
perenesenko Jun 23, 2022
9eef4e2
fix: argo-rollouts occasionally crashes in argoproj/pkg (#2111)
perenesenko Jun 23, 2022
5c32e84
Change bug template to bring inline with argocd (#2096)
zachaller Jun 23, 2022
56880f0
add ingress & controller tests for additionalStableIngresses
Jun 23, 2022
1c45c18
remove validation_references_test.go snafu
Jun 23, 2022
427576c
add ingress util testing for additionalStableIngresses
Jun 23, 2022
e3c33d8
feat: add support for influxdb as a metrics provider (#1839)
jaymebrd Jun 23, 2022
40c356c
feat: Adds support for Istio traffic mirroring (#2074)
zachaller Jun 29, 2022
ca45cf5
Merge pull request #1 from rallyhealth/feature-additional-nginx-ingre…
tperdue321 Jun 30, 2022
26813cf
chore: improve openapi schema (#2081)
mvgmb Jun 30, 2022
935a825
feat(grafana): Allow selecting datasource for grafana dashboard (#1988)
jcantosz Jun 30, 2022
03b7f5e
feat: support /rollouts/:namespace?q=... and /rollout/:namespace/:nam…
Cylix Jun 30, 2022
c4205e8
chore: Add e2e and unit test comment reports (#2123)
zachaller Jul 11, 2022
f2c1d8a
chore: upgrade deps (#2136)
zachaller Jul 12, 2022
0e2fdae
fixes #2141 Added list and watch to clusterrole (#2145)
EagleIJoe Jul 22, 2022
1bffed5
fix: Update ro.Status.ALB when first creating rollout object (#1986)
zachaller Jul 22, 2022
bb54a07
fix: remove metrics when objects are removed from cluster to prevent …
zachaller Jul 22, 2022
df52869
chore: use controler-gen for cluster analysis template scope (#2148)
zachaller Jul 22, 2022
709a709
fix(analysis): Fix Analysis Terminal Decision For Dry-Run Metrics (#2…
agrawroh Jul 26, 2022
03b0813
docs: update release doc with brew formula details (#2165)
leoluz Jul 26, 2022
9c87d0d
fix(docs) Graphite metrics provider linked in docs sidebar. Fixes #21…
mdb Jul 27, 2022
0b022ee
feat: emit rollout delete event (#1893)
huikang Jul 27, 2022
3329626
chore: Upgrade golang (#2160)
zachaller Jul 27, 2022
0ec5ac1
fix: Failed to process: Object 'Kind' is missing in Errors with rollo…
RaviHari Jul 29, 2022
53f4105
fix: rootPath support so that it uses the embedded files system (#2198)
zachaller Aug 17, 2022
5c39cbc
fix: change completed condition so it only triggers on pod hash chang…
zachaller Aug 24, 2022
0de9d45
feat: Add support for spec.ingressClassName (#2178)
siavashs Aug 25, 2022
c99628b
Cut v1.2.1 rallyhealth (#3)
tperdue321 Aug 30, 2022
3b3b41b
add v1.2.2 patch for issue#2024
Sep 15, 2022
fa46007
fix: enable notifications without when condition (#2231)
RaviHari Sep 14, 2022
93ed7a4
Use standard cli format for dashboard root path (#2244)
zachaller Sep 16, 2022
60944c2
fix: UI not redirecting on / (#2252)
zachaller Sep 27, 2022
20ec1c7
fix: nil pointer while linting with basic canary and ingresses (#2256)
zachaller Sep 27, 2022
009fdfb
fix(controller): Fix k8s clientset controller metrics. Fixes #2139 (…
nikhil1raghav Sep 27, 2022
b0b95ca
fixes(controller): istio dropping fields not defined in type (#2268)
zachaller Sep 29, 2022
3a63652
cherry-picked commit 4848fb12 from master
Nov 17, 2022
33f8c59
Merge pull request #31 from bentzys/v1.3.1PlusHeaderBasedRouting
ssanders1449 Nov 19, 2022
d81b28e
Merge branch 'v1.3.1-patched' into rallyhealth-v1.2.2-pr
ssanders1449 Dec 14, 2022
e70b932
Merge pull request #34 from ssanders1449/rallyhealth-v1.2.2-pr
ssanders1449 Dec 14, 2022
5f31e97
Merge branch 'v1.3.1-patched' into MinPodsPerRS
ssanders1449 Dec 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
34 changes: 29 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,39 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: 'bug'
assignees: ''
---
## Summary

What happened/what you expected to happen?
<!-- If you are trying to resolve an environment-specific issue or have a one-off question about the edge case that does not require a feature then please consider asking a question in argo rollouts slack [channel](https://argoproj.github.io/community/join-slack). -->

## Diagnostics
Checklist:

What version of Argo Rollouts are you running?
* [ ] I've included steps to reproduce the bug.
* [ ] I've inclued the version of argo rollouts.

**Describe the bug**

<!-- A clear and concise description of what the bug is. -->

**To Reproduce**

<!-- A list of the steps required to reproduce the issue. Best of all, give us the URL to a repository that exhibits this issue. -->

**Expected behavior**

<!-- A clear and concise description of what you expected to happen. -->

**Screenshots**

<!-- If applicable, add screenshots to help explain your problem. -->

**Version**

<!-- What version of argo rollouts controller are you running? -->

**Logs**

```
# Paste the logs from the rollout controller
Expand All @@ -18,7 +42,7 @@ What version of Argo Rollouts are you running?
kubectl logs -n argo-rollouts deployment/argo-rollouts

# Logs for a specific rollout:
kubectl logs -n argo-rollouts deployment/argo-rollouts | grep rollout=<ROLLOUTNAME>
kubectl logs -n argo-rollouts deployment/argo-rollouts | grep rollout=<ROLLOUTNAME
```

---
Expand Down
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ updates:
directory: "/"
schedule:
interval: "daily"
ignore:
- dependency-name: k8s.io/*

- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
paths-ignore:
- '**/*.md'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
CodeQL-Build:

Expand Down
31 changes: 8 additions & 23 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,11 @@ jobs:
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Cache Docker layers
uses: actions/cache@v2
uses: docker/setup-buildx-action@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
config-inline: |
[worker.oci]
gc = false

- name: Docker meta (controller)
id: controller-meta
Expand Down Expand Up @@ -76,34 +72,23 @@ jobs:
id: platform-matrix
run: |
PLATFORM_MATRIX=linux/amd64
if [ ${{ github.event_name != 'pull_request' }} = true ]; then
if [[ "${{ github.event_name }}" == "push" || "${{ contains(github.event.pull_request.labels.*.name, 'test-arm-image') }}" == "true" ]]
then
PLATFORM_MATRIX=$PLATFORM_MATRIX,linux/arm64
fi
echo "::set-output name=platform-matrix::$PLATFORM_MATRIX"

- name: Build and push (controller-image)
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
platforms: ${{ steps.platform-matrix.outputs.platform-matrix }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.controller-meta.outputs.tags }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache

- name: Build and push (plugin-image)
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
target: kubectl-argo-rollouts
platforms: ${{ steps.platform-matrix.outputs.platform-matrix }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.plugin-meta.outputs.tags }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new

# Temp fix
# https://github.com/docker/build-push-action/issues/252
# https://github.com/moby/buildkit/issues/1896
- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
43 changes: 43 additions & 0 deletions .github/workflows/e2e-test-results.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Test Results

on:
workflow_run:
workflows: ["E2E Tests", "Go"]
types:
- completed
permissions: {}

jobs:
test-results:
name: "${{ github.event.workflow.name }} Test Results"
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion != 'skipped'
permissions:
checks: write
pull-requests: write
actions: read
steps:
- name: Download and Extract Artifacts
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: |
mkdir -p artifacts && cd artifacts
artifacts_url=${{ github.event.workflow_run.artifacts_url }}
gh api "$artifacts_url" -q '.artifacts[] | [.name, .archive_download_url] | @tsv' | while read artifact
do
IFS=$'\t' read name url <<< "$artifact"
gh api $url > "$name.zip"
unzip -d "$name" "$name.zip"
done

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
with:
check_name: "${{ github.event.workflow.name }} Published Test Results"
commit: ${{ github.event.workflow_run.head_sha }}
event_file: artifacts/Event File/event.json
event_name: ${{ github.event.workflow_run.event }}
files: "artifacts/**/*.xml"
compare_to_earlier_commit: false
test_changes_limit: 0
fail_on: "errors"
28 changes: 28 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,28 @@ on:
required: false
default: false

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
event_file:
name: "Event File"
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/upload-artifact@v2
with:
name: Event File
path: ${{ github.event_path }}
test-e2e:
name: Run end-to-end tests
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- uses: actions/checkout@v2
- name: Setup k3s
run: |
Expand All @@ -29,6 +46,7 @@ jobs:
sudo cp /etc/rancher/k3s/k3s.yaml ~/.kube/config
sudo chmod 755 ~/.kube/config
kubectl version
kubectl create ns argo-rollouts
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
Expand All @@ -49,6 +67,16 @@ jobs:
- name: Run e2e tests
run: make test-e2e
if: ${{ !(github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled) }}
- name: Output Rerun Overview
run: |
[[ -f rerunreport.txt ]] && cat rerunreport.txt || echo "No rerun report found"
- name: Upload E2E Test Results
if: always()
uses: actions/upload-artifact@v2
with:
name: E2E Test Results
path: |
junit.xml
- name: Upload e2e-controller logs
uses: actions/upload-artifact@v2
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
push:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
deploy:
runs-on: ubuntu-latest
Expand All @@ -16,7 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: 1.18
- name: build
run: |
pip install mkdocs mkdocs_material
Expand Down
Loading