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

feat: Create new table view in Rollouts dashboard #3097

Closed
wants to merge 194 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
194 commits
Select commit Hold shift + click to select a range
3b62781
ui refresh for rollouts list view
phclark Oct 7, 2023
e010441
use comma based search
phclark Oct 7, 2023
c6746aa
add labels and annotations to RolloutInfo response
phclark Oct 8, 2023
866dc01
noop
phclark Oct 10, 2023
3cb2794
improved name filter
phclark Oct 11, 2023
50f1d3b
Merge branch 'master' into rollouts-list-ui
phclark Oct 11, 2023
7c4f01e
formatting
phclark Oct 11, 2023
7005c29
Merge branch 'rollouts-list-ui' of https://github.com/phclark/argo-ro…
phclark Oct 11, 2023
a1b1946
cleanup
phclark Oct 11, 2023
8928032
docs: replace `patchesStrategicMerge` with `patches` in tests/docs (#…
therealdwright Sep 5, 2023
307b6ee
fix: analysis step should be ignored after promote (#3016)
pasha-codefresh Sep 5, 2023
91a2a7b
refactor: rename interface{} => any (#3000)
izturn Sep 5, 2023
40291a1
chore(deps): bump actions/checkout from 3 to 4 (#3012)
dependabot[bot] Sep 5, 2023
37b5e12
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.38 to…
dependabot[bot] Sep 6, 2023
95cc198
docs: Update Changelog (#3021)
github-actions[bot] Sep 6, 2023
4129d8e
fix: Add the GOPATH to the go-to-protobuf command (#3022)
meeech Sep 6, 2023
4be4edd
chore(deps): bump github.com/antonmedv/expr from 1.13.0 to 1.15.1 (#3…
dependabot[bot] Sep 7, 2023
f9cd204
chore(deps): bump github.com/hashicorp/go-plugin from 1.5.0 to 1.5.1 …
dependabot[bot] Sep 7, 2023
b0a7457
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/elasticloadbal…
dependabot[bot] Sep 8, 2023
c7e401f
chore: Update users doc with CircleCI (#3028)
meeech Sep 8, 2023
25dc599
chore(deps): bump github.com/antonmedv/expr from 1.15.1 to 1.15.2 (#3…
dependabot[bot] Sep 14, 2023
79a3161
chore(deps): bump docker/login-action from 2.2.0 to 3.0.0 (#3035)
dependabot[bot] Sep 14, 2023
bf37c3e
chore(deps): bump docker/setup-buildx-action from 2.10.0 to 3.0.0 (#3…
dependabot[bot] Sep 14, 2023
bc5f161
chore(deps): bump docker/build-push-action from 4.1.1 to 5.0.0 (#3033)
dependabot[bot] Sep 14, 2023
e25db14
chore(deps): bump docker/metadata-action from 4 to 5 (#3032)
dependabot[bot] Sep 14, 2023
a4405a8
chore(deps): bump github.com/evanphx/json-patch/v5 from 5.6.0 to 5.7.…
dependabot[bot] Sep 14, 2023
87eb641
chore(deps): bump google.golang.org/grpc from 1.57.0 to 1.58.0 (#3023)
dependabot[bot] Sep 14, 2023
eb1a325
chore(deps): bump google.golang.org/grpc from 1.58.0 to 1.58.2 (#3050)
dependabot[bot] Sep 22, 2023
86b970b
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.39 to…
dependabot[bot] Sep 24, 2023
925ff0a
chore(deps): bump docker/setup-qemu-action from 2.2.0 to 3.0.0 (#3031)
dependabot[bot] Sep 24, 2023
ee8ebf2
chore(deps): bump github.com/antonmedv/expr from 1.15.2 to 1.15.3 (#3…
dependabot[bot] Sep 24, 2023
269fd42
docs: clarify external clusters (#3058)
kostis-codefresh Sep 25, 2023
27212d0
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.41 to…
dependabot[bot] Sep 26, 2023
202b97c
fix: prevent hot loop when fully promoted rollout is aborted (#3064)
jessesuen Sep 29, 2023
8100799
chore: updating getCanaryConfigId to be more efficient with better er…
zhaque44 Oct 2, 2023
2d901a7
chore(deps): bump github.com/hashicorp/go-plugin from 1.5.1 to 1.5.2 …
dependabot[bot] Oct 2, 2023
dde5fe4
fix: inopportune scaling events would lose some status fields (#3060)
jessesuen Oct 4, 2023
a4e871d
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.42 to…
dependabot[bot] Oct 4, 2023
20dce00
fix: sync notification controller configmaps/secrets first (#3075)
zachaller Oct 5, 2023
a3d2a02
fix: missing notification on error (#3076)
zachaller Oct 5, 2023
e0e71d3
fix: Replace antonmedv/expr with expr-lang/expr (#3090)
terrytangyuan Oct 9, 2023
0f7850a
fix: revert repo change to expr (#3094)
zachaller Oct 11, 2023
d9e29d9
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudwatch fro…
dependabot[bot] Oct 11, 2023
a1efd96
chore(deps): bump github.com/aws/aws-sdk-go-v2 from 1.21.0 to 1.21.1 …
dependabot[bot] Oct 11, 2023
41b0598
docs: Ensure image not present between incomplete sentence. (#3079)
PranitRout07 Oct 11, 2023
0dab695
cleanup
phclark Oct 11, 2023
18bbd7e
Merge branch 'master' into rollouts-list-ui
phclark Oct 13, 2023
7110f5e
Merge branch 'rollouts-list-ui' of https://github.com/phclark/argo-ro…
phclark Oct 13, 2023
159e3a4
reduce complexity of filters
phclark Oct 13, 2023
cc66931
filters logic working
phclark Oct 13, 2023
2abe86c
fix filters
phclark Oct 15, 2023
c3b8014
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.37 to…
dependabot[bot] Sep 1, 2023
c5aa2bc
docs: update all ingress objects to networking.k8s.io/v1 (#3005)
therealdwright Sep 3, 2023
3dbe18b
chore(deps): bump sigstore/cosign-installer from 3.1.1 to 3.1.2 (#3011)
dependabot[bot] Sep 4, 2023
1df4d0b
ui refresh for rollouts list view
phclark Oct 7, 2023
03d8d91
use comma based search
phclark Oct 7, 2023
2dece93
add labels and annotations to RolloutInfo response
phclark Oct 8, 2023
c647136
noop
phclark Oct 10, 2023
f672762
improved name filter
phclark Oct 11, 2023
fa0cc96
formatting
phclark Oct 11, 2023
f6cb5f9
docs: replace `patchesStrategicMerge` with `patches` in tests/docs (#…
therealdwright Sep 5, 2023
3b88d02
fix: analysis step should be ignored after promote (#3016)
pasha-codefresh Sep 5, 2023
11ed178
refactor: rename interface{} => any (#3000)
izturn Sep 5, 2023
124a3c8
chore(deps): bump actions/checkout from 3 to 4 (#3012)
dependabot[bot] Sep 5, 2023
111c5f7
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.38 to…
dependabot[bot] Sep 6, 2023
e96c59a
docs: Update Changelog (#3021)
github-actions[bot] Sep 6, 2023
752d18c
fix: Add the GOPATH to the go-to-protobuf command (#3022)
meeech Sep 6, 2023
2005c17
chore(deps): bump github.com/antonmedv/expr from 1.13.0 to 1.15.1 (#3…
dependabot[bot] Sep 7, 2023
fc7a5e9
chore(deps): bump github.com/hashicorp/go-plugin from 1.5.0 to 1.5.1 …
dependabot[bot] Sep 7, 2023
a559f2f
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/elasticloadbal…
dependabot[bot] Sep 8, 2023
92436f0
chore(deps): bump docker/setup-buildx-action from 2.10.0 to 3.0.0 (#3…
dependabot[bot] Sep 14, 2023
9d4f0d9
chore: Update users doc with CircleCI (#3028)
meeech Sep 8, 2023
0c1c8ec
chore(deps): bump docker/build-push-action from 4.1.1 to 5.0.0 (#3033)
dependabot[bot] Sep 14, 2023
7cec80f
chore(deps): bump github.com/antonmedv/expr from 1.15.1 to 1.15.2 (#3…
dependabot[bot] Sep 14, 2023
5de4a8f
chore(deps): bump docker/metadata-action from 4 to 5 (#3032)
dependabot[bot] Sep 14, 2023
77d7451
chore(deps): bump docker/login-action from 2.2.0 to 3.0.0 (#3035)
dependabot[bot] Sep 14, 2023
fcd977c
chore(deps): bump github.com/evanphx/json-patch/v5 from 5.6.0 to 5.7.…
dependabot[bot] Sep 14, 2023
a097029
chore(deps): bump google.golang.org/grpc from 1.57.0 to 1.58.0 (#3023)
dependabot[bot] Sep 14, 2023
ae85449
chore(deps): bump google.golang.org/grpc from 1.58.0 to 1.58.2 (#3050)
dependabot[bot] Sep 22, 2023
453ed01
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.39 to…
dependabot[bot] Sep 24, 2023
a60129b
chore(deps): bump docker/setup-qemu-action from 2.2.0 to 3.0.0 (#3031)
dependabot[bot] Sep 24, 2023
6c2632e
chore(deps): bump github.com/antonmedv/expr from 1.15.2 to 1.15.3 (#3…
dependabot[bot] Sep 24, 2023
51f0f58
docs: clarify external clusters (#3058)
kostis-codefresh Sep 25, 2023
9e2019c
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.41 to…
dependabot[bot] Sep 26, 2023
d61bbfb
fix: prevent hot loop when fully promoted rollout is aborted (#3064)
jessesuen Sep 29, 2023
02a4b27
chore: updating getCanaryConfigId to be more efficient with better er…
zhaque44 Oct 2, 2023
966e948
chore(deps): bump github.com/hashicorp/go-plugin from 1.5.1 to 1.5.2 …
dependabot[bot] Oct 2, 2023
07a6c21
fix: inopportune scaling events would lose some status fields (#3060)
jessesuen Oct 4, 2023
5aafe4d
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.42 to…
dependabot[bot] Oct 4, 2023
e3c61f4
fix: sync notification controller configmaps/secrets first (#3075)
zachaller Oct 5, 2023
e48d7ae
fix: missing notification on error (#3076)
zachaller Oct 5, 2023
92ad8ff
fix: Replace antonmedv/expr with expr-lang/expr (#3090)
terrytangyuan Oct 9, 2023
064dbc0
fix: revert repo change to expr (#3094)
zachaller Oct 11, 2023
d348da0
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudwatch fro…
dependabot[bot] Oct 11, 2023
4d48628
chore(deps): bump github.com/aws/aws-sdk-go-v2 from 1.21.0 to 1.21.1 …
dependabot[bot] Oct 11, 2023
e8da966
docs: Ensure image not present between incomplete sentence. (#3079)
PranitRout07 Oct 11, 2023
ad96e94
cleanup
phclark Oct 11, 2023
0944bbb
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.38 to…
dependabot[bot] Sep 6, 2023
0c07141
chore(deps): bump github.com/antonmedv/expr from 1.13.0 to 1.15.1 (#3…
dependabot[bot] Sep 7, 2023
900ed5e
chore(deps): bump github.com/hashicorp/go-plugin from 1.5.0 to 1.5.1 …
dependabot[bot] Sep 7, 2023
f6db4df
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/elasticloadbal…
dependabot[bot] Sep 8, 2023
95b0171
chore(deps): bump github.com/antonmedv/expr from 1.15.1 to 1.15.2 (#3…
dependabot[bot] Sep 14, 2023
045023c
chore(deps): bump docker/setup-buildx-action from 2.10.0 to 3.0.0 (#3…
dependabot[bot] Sep 14, 2023
c037c26
chore(deps): bump google.golang.org/grpc from 1.57.0 to 1.58.0 (#3023)
dependabot[bot] Sep 14, 2023
34a8d71
chore(deps): bump google.golang.org/grpc from 1.58.0 to 1.58.2 (#3050)
dependabot[bot] Sep 22, 2023
aed852e
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.39 to…
dependabot[bot] Sep 24, 2023
0691aaa
chore(deps): bump docker/setup-qemu-action from 2.2.0 to 3.0.0 (#3031)
dependabot[bot] Sep 24, 2023
63a0ea7
chore(deps): bump github.com/antonmedv/expr from 1.15.2 to 1.15.3 (#3…
dependabot[bot] Sep 24, 2023
73c1d54
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.41 to…
dependabot[bot] Sep 26, 2023
637cd81
chore(deps): bump github.com/hashicorp/go-plugin from 1.5.1 to 1.5.2 …
dependabot[bot] Oct 2, 2023
2f44a0b
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.42 to…
dependabot[bot] Oct 4, 2023
ea269ef
fix: Replace antonmedv/expr with expr-lang/expr (#3090)
terrytangyuan Oct 9, 2023
7d087e3
fix: revert repo change to expr (#3094)
zachaller Oct 11, 2023
6fb0dd9
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudwatch fro…
dependabot[bot] Oct 11, 2023
d3ebb8b
chore(deps): bump github.com/aws/aws-sdk-go-v2 from 1.21.0 to 1.21.1 …
dependabot[bot] Oct 11, 2023
aa677de
fix: bump notification-engine to fix double send on self server notif…
zachaller Oct 11, 2023
37a22db
fix: keep rs informer updated (#3091)
zachaller Oct 12, 2023
cc80287
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.43 to…
dependabot[bot] Oct 12, 2023
cb2578f
chore(deps): bump google.golang.org/grpc from 1.58.2 to 1.58.3 (#3098)
dependabot[bot] Oct 12, 2023
d11e200
reduce complexity of filters
phclark Oct 13, 2023
55866e1
filters logic working
phclark Oct 13, 2023
82da9c8
fix filters
phclark Oct 15, 2023
fe9487f
Merge branch 'rollouts-list-ui' of https://github.com/phclark/argo-ro…
phclark Oct 15, 2023
77724ea
chore(deps): bump docker/setup-buildx-action from 2.10.0 to 3.0.0 (#3…
dependabot[bot] Sep 14, 2023
4a0ffbe
chore(deps): bump docker/build-push-action from 4.1.1 to 5.0.0 (#3033)
dependabot[bot] Sep 14, 2023
cd37fed
chore(deps): bump docker/metadata-action from 4 to 5 (#3032)
dependabot[bot] Sep 14, 2023
39723f2
chore(deps): bump github.com/evanphx/json-patch/v5 from 5.6.0 to 5.7.…
dependabot[bot] Sep 14, 2023
7bb25b8
chore(deps): bump google.golang.org/grpc from 1.57.0 to 1.58.0 (#3023)
dependabot[bot] Sep 14, 2023
626ca45
chore(deps): bump google.golang.org/grpc from 1.58.0 to 1.58.2 (#3050)
dependabot[bot] Sep 22, 2023
94aa00b
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.39 to…
dependabot[bot] Sep 24, 2023
a83cbac
chore(deps): bump docker/setup-qemu-action from 2.2.0 to 3.0.0 (#3031)
dependabot[bot] Sep 24, 2023
5af7ba9
chore(deps): bump github.com/antonmedv/expr from 1.15.2 to 1.15.3 (#3…
dependabot[bot] Sep 24, 2023
bcee595
docs: clarify external clusters (#3058)
kostis-codefresh Sep 25, 2023
54654cb
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.41 to…
dependabot[bot] Sep 26, 2023
22e912e
fix: prevent hot loop when fully promoted rollout is aborted (#3064)
jessesuen Sep 29, 2023
86adb05
chore: updating getCanaryConfigId to be more efficient with better er…
zhaque44 Oct 2, 2023
d5e2153
chore(deps): bump github.com/hashicorp/go-plugin from 1.5.1 to 1.5.2 …
dependabot[bot] Oct 2, 2023
b1b2812
fix: inopportune scaling events would lose some status fields (#3060)
jessesuen Oct 4, 2023
48fda35
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.42 to…
dependabot[bot] Oct 4, 2023
52234c9
fix: sync notification controller configmaps/secrets first (#3075)
zachaller Oct 5, 2023
5f0e16d
fix: missing notification on error (#3076)
zachaller Oct 5, 2023
f6472fd
fix: Replace antonmedv/expr with expr-lang/expr (#3090)
terrytangyuan Oct 9, 2023
de923c0
fix: revert repo change to expr (#3094)
zachaller Oct 11, 2023
99883a3
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudwatch fro…
dependabot[bot] Oct 11, 2023
09e79ae
chore(deps): bump github.com/aws/aws-sdk-go-v2 from 1.21.0 to 1.21.1 …
dependabot[bot] Oct 11, 2023
c7b9531
docs: Ensure image not present between incomplete sentence. (#3079)
PranitRout07 Oct 11, 2023
741b6ff
cleanup
phclark Oct 11, 2023
76a0912
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.38 to…
dependabot[bot] Sep 6, 2023
501691e
chore(deps): bump github.com/antonmedv/expr from 1.13.0 to 1.15.1 (#3…
dependabot[bot] Sep 7, 2023
b0fc994
chore(deps): bump github.com/hashicorp/go-plugin from 1.5.0 to 1.5.1 …
dependabot[bot] Sep 7, 2023
0bc0fd4
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/elasticloadbal…
dependabot[bot] Sep 8, 2023
1241836
chore(deps): bump github.com/antonmedv/expr from 1.15.1 to 1.15.2 (#3…
dependabot[bot] Sep 14, 2023
bc58f47
chore(deps): bump docker/setup-buildx-action from 2.10.0 to 3.0.0 (#3…
dependabot[bot] Sep 14, 2023
3f6b0e0
chore(deps): bump google.golang.org/grpc from 1.57.0 to 1.58.0 (#3023)
dependabot[bot] Sep 14, 2023
9898f5f
chore(deps): bump google.golang.org/grpc from 1.58.0 to 1.58.2 (#3050)
dependabot[bot] Sep 22, 2023
06f2927
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.39 to…
dependabot[bot] Sep 24, 2023
0dbd458
chore(deps): bump docker/setup-qemu-action from 2.2.0 to 3.0.0 (#3031)
dependabot[bot] Sep 24, 2023
4018973
chore(deps): bump github.com/antonmedv/expr from 1.15.2 to 1.15.3 (#3…
dependabot[bot] Sep 24, 2023
353ca16
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.41 to…
dependabot[bot] Sep 26, 2023
577ea2a
chore(deps): bump github.com/hashicorp/go-plugin from 1.5.1 to 1.5.2 …
dependabot[bot] Oct 2, 2023
926f89a
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.42 to…
dependabot[bot] Oct 4, 2023
2132439
fix: Replace antonmedv/expr with expr-lang/expr (#3090)
terrytangyuan Oct 9, 2023
0d3a68d
fix: revert repo change to expr (#3094)
zachaller Oct 11, 2023
0f2acb7
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudwatch fro…
dependabot[bot] Oct 11, 2023
d6f1f35
chore(deps): bump github.com/aws/aws-sdk-go-v2 from 1.21.0 to 1.21.1 …
dependabot[bot] Oct 11, 2023
d0bb945
fix: bump notification-engine to fix double send on self server notif…
zachaller Oct 11, 2023
1f8e944
fix: keep rs informer updated (#3091)
zachaller Oct 12, 2023
1482779
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.43 to…
dependabot[bot] Oct 12, 2023
7fd0fd1
chore(deps): bump google.golang.org/grpc from 1.58.2 to 1.58.3 (#3098)
dependabot[bot] Oct 12, 2023
53f2013
reduce complexity of filters
phclark Oct 13, 2023
fe58f7c
filters logic working
phclark Oct 13, 2023
2ac6e88
fix filters
phclark Oct 15, 2023
2e4e68e
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.37 to…
dependabot[bot] Sep 1, 2023
beb3da3
noop
phclark Oct 10, 2023
901924a
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.38 to…
dependabot[bot] Sep 6, 2023
83f8da0
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/elasticloadbal…
dependabot[bot] Sep 8, 2023
bd92723
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.39 to…
dependabot[bot] Sep 24, 2023
facd8f6
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.41 to…
dependabot[bot] Sep 26, 2023
7c2fd82
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.42 to…
dependabot[bot] Oct 4, 2023
5a98238
fix: Replace antonmedv/expr with expr-lang/expr (#3090)
terrytangyuan Oct 9, 2023
3ba1e37
fix: revert repo change to expr (#3094)
zachaller Oct 11, 2023
db7b89d
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudwatch fro…
dependabot[bot] Oct 11, 2023
dc6b673
chore(deps): bump github.com/aws/aws-sdk-go-v2 from 1.21.0 to 1.21.1 …
dependabot[bot] Oct 11, 2023
0e95b33
fix: Replace antonmedv/expr with expr-lang/expr (#3090)
terrytangyuan Oct 9, 2023
201f117
fix: revert repo change to expr (#3094)
zachaller Oct 11, 2023
8efdf8f
chore(deps): bump github.com/aws/aws-sdk-go-v2 from 1.21.0 to 1.21.1 …
dependabot[bot] Oct 11, 2023
3b128f5
fix: bump notification-engine to fix double send on self server notif…
zachaller Oct 11, 2023
5d3ff34
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.43 to…
dependabot[bot] Oct 12, 2023
3a5b5f8
reduce complexity of filters
phclark Oct 13, 2023
8e7e864
filters logic working
phclark Oct 13, 2023
2c161f5
fix filters
phclark Oct 15, 2023
ac1f44c
Merge branch 'rollouts-list-ui' of https://github.com/phclark/argo-ro…
phclark Oct 15, 2023
41ba004
Merge branch 'master' into rollouts-list-ui
phclark Oct 15, 2023
e4b8d79
fix url
phclark Oct 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,22 @@ To run a subset of e2e tests, you need to specify the suite with `-run`, and the
E2E_TEST_OPTIONS="-run 'TestCanarySuite' -testify.m 'TestCanaryScaleDownOnAbortNoTrafficRouting'" make test-e2e
```

## Running the UI

If you'd like to run the UI locally, you first need a running Rollouts controller. This can be a locally running controller with a k3d cluster, as described above, or a controller running in a remote Kubernetes cluster.

In order for the local React app to communicate with the controller and Kubernetes API, run the following to open a port forward to the dashboard:
```bash
kubectl argo rollouts dashboard
```

In another terminal, run the following to start the UI:
```bash
cd ui
yarn install
yarn start
```

## Controller architecture

Argo Rollouts is actually a collection of individual controllers
Expand Down
2 changes: 2 additions & 0 deletions pkg/kubectl-argo-rollouts/info/rollout_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ func NewRolloutInfo(
ObjectMeta: &v1.ObjectMeta{
Name: ro.Name,
Namespace: ro.Namespace,
Labels: ro.Labels,
Annotations: ro.Annotations,
UID: ro.UID,
CreationTimestamp: ro.CreationTimestamp,
ResourceVersion: ro.ObjectMeta.ResourceVersion,
Expand Down
1 change: 1 addition & 0 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.4.0",
"@fortawesome/free-regular-svg-icons": "^6.4.0",
"@fortawesome/free-solid-svg-icons": "^6.4.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"antd": "^5.4.2",
Expand Down
4 changes: 2 additions & 2 deletions ui/src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import './App.scss';
import {NamespaceContext, RolloutAPI} from './shared/context/api';
import {Modal} from './components/modal/modal';
import {Rollout} from './components/rollout/rollout';
import {RolloutsList} from './components/rollouts-list/rollouts-list';
import {RolloutsHome} from './components/rollouts-home/rollouts-home';
import {Shortcut, Shortcuts} from './components/shortcuts/shortcuts';
import {ConfigProvider} from 'antd';
import {theme} from '../config/theme';
Expand Down Expand Up @@ -84,7 +84,7 @@ const App = () => {
<Page
exact
path='/:namespace?'
component={<RolloutsList />}
component={<RolloutsHome />}
shortcuts={[
{key: '/', description: 'Search'},
{key: 'TAB', description: 'Search, navigate search items'},
Expand Down
8 changes: 5 additions & 3 deletions ui/src/app/components/confirm-button/confirm-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as React from 'react';
import {Button, Popconfirm, Tooltip} from 'antd';
import {ButtonProps} from 'antd/es/button/button';
import {useState} from 'react';
import { TooltipPlacement } from 'antd/es/tooltip';
import {TooltipPlacement} from 'antd/es/tooltip';

interface ConfirmButtonProps extends ButtonProps {
skipconfirm?: boolean;
Expand Down Expand Up @@ -51,7 +51,8 @@ export const ConfirmButton = (props: ConfirmButtonProps) => {
onClick={(e) => {
e.stopPropagation();
e.preventDefault();
}}>
}}
>
<Popconfirm
title='Are you sure?'
open={open && !props.disabled}
Expand All @@ -60,7 +61,8 @@ export const ConfirmButton = (props: ConfirmButtonProps) => {
okText='Yes'
cancelText='No'
onOpenChange={handleOpenChange}
placement={props.placement || 'bottom'}>
placement={props.placement || 'bottom'}
>
<div>
<Tooltip title={props.tooltip}>
<Button {...buttonProps}>{props.children}</Button>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/components/info-item/info-item.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import './info-item.scss';
import { Tooltip } from 'antd';
import {Tooltip} from 'antd';

export enum InfoItemKind {
Default = 'default',
Expand Down
5 changes: 3 additions & 2 deletions ui/src/app/components/pods/pods.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const ReplicaSets = (props: {replicaSets: RolloutReplicaSetInfo[]; showRe
<div key={rsInfo.objectMeta.uid} style={{marginBottom: '1em'}}>
<ReplicaSet rs={rsInfo} showRevision={props.showRevisions} />
</div>
)
),
)}
</div>
);
Expand Down Expand Up @@ -84,7 +84,8 @@ export const ReplicaSet = (props: {rs: RolloutReplicaSetInfo; showRevision?: boo
<span>
Scaledown in <Duration durationMs={time} />
</span>
}>
}
>
<InfoItem content={(<Duration durationMs={time} />) as any} icon='fa fa-clock'></InfoItem>
</Tooltip>
);
Expand Down
168 changes: 85 additions & 83 deletions ui/src/app/components/rollout-actions/rollout-actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,93 +25,95 @@ interface ActionData {
shouldConfirm?: boolean;
}

export const RolloutActionButton = (props: {action: RolloutAction; rollout: RolloutInfo; callback?: Function; indicateLoading: boolean; disabled?: boolean}) => {
const api = React.useContext(RolloutAPIContext);
const namespaceCtx = React.useContext(NamespaceContext);
export const RolloutActionButton = React.memo(
({action, rollout, callback, indicateLoading, disabled}: {action: RolloutAction; rollout: RolloutInfo; callback?: Function; indicateLoading: boolean; disabled?: boolean}) => {
const [loading, setLoading] = React.useState(false);
const api = React.useContext(RolloutAPIContext);
const namespaceCtx = React.useContext(NamespaceContext);

const restartedAt = formatTimestamp(props.rollout.restartedAt || '');
const isDeploying = props.rollout.status === RolloutStatus.Progressing || props.rollout.status === RolloutStatus.Paused;
const restartedAt = formatTimestamp(rollout.restartedAt || '');
const isDeploying = rollout.status === RolloutStatus.Progressing || rollout.status === RolloutStatus.Paused;

const actionMap = new Map<RolloutAction, ActionData & {body?: any}>([
[
RolloutAction.Restart,
{
label: 'RESTART',
icon: faSync,
action: api.rolloutServiceRestartRollout,
tooltip: restartedAt === 'Never' ? 'Never restarted' : `Last restarted ${restartedAt}`,
shouldConfirm: true,
},
],
[
RolloutAction.Retry,
{
label: 'RETRY',
icon: faRedoAlt,
action: api.rolloutServiceRetryRollout,
disabled: props.rollout.status !== RolloutStatus.Degraded,
shouldConfirm: true,
},
],
[
RolloutAction.Abort,
{
label: 'ABORT',
icon: faExclamationCircle,
action: api.rolloutServiceAbortRollout,
disabled: !isDeploying,
shouldConfirm: true,
},
],
[
RolloutAction.Promote,
{
label: 'PROMOTE',
icon: faChevronCircleUp,
action: api.rolloutServicePromoteRollout,
body: {full: false},
disabled: !isDeploying,
shouldConfirm: true,
},
],
[
RolloutAction.PromoteFull,
{
label: 'PROMOTE-FULL',
icon: faArrowCircleUp,
action: api.rolloutServicePromoteRollout,
body: {full: true},
disabled: !isDeploying,
shouldConfirm: true,
},
],
]);
const actionMap = new Map<RolloutAction, ActionData & {body?: any}>([
[
RolloutAction.Restart,
{
label: 'RESTART',
icon: faSync,
action: api.rolloutServiceRestartRollout,
tooltip: restartedAt === 'Never' ? 'Never restarted' : `Last restarted ${restartedAt}`,
shouldConfirm: true,
},
],
[
RolloutAction.Retry,
{
label: 'RETRY',
icon: faRedoAlt,
action: api.rolloutServiceRetryRollout,
disabled: rollout.status !== RolloutStatus.Degraded,
shouldConfirm: true,
},
],
[
RolloutAction.Abort,
{
label: 'ABORT',
icon: faExclamationCircle,
action: api.rolloutServiceAbortRollout,
disabled: !isDeploying,
shouldConfirm: true,
},
],
[
RolloutAction.Promote,
{
label: 'PROMOTE',
icon: faChevronCircleUp,
action: api.rolloutServicePromoteRollout,
body: {full: false},
disabled: !isDeploying,
shouldConfirm: true,
},
],
[
RolloutAction.PromoteFull,
{
label: 'PROMOTE-FULL',
icon: faArrowCircleUp,
action: api.rolloutServicePromoteRollout,
body: {full: true},
disabled: !isDeploying,
shouldConfirm: true,
},
],
]);

const ap = actionMap.get(props.action);
const ap = actionMap.get(action);

const [loading, setLoading] = React.useState(false);

return (
<ConfirmButton
style={{margin: '0 5px'}}
skipconfirm={!ap.shouldConfirm}
type='primary'
onClick={async (e) => {
setLoading(true);
await ap.action(ap.body || {}, namespaceCtx.namespace, props.rollout.objectMeta?.name || '');
if (props.callback) {
await props.callback();
}
setLoading(false);
}}
disabled={ap.disabled}
loading={loading}
tooltip={ap.tooltip}
icon={<FontAwesomeIcon icon={ap.icon} style={{marginRight: '5px'}} />}>
{props.action}
</ConfirmButton>
);
};
return (
<ConfirmButton
style={{margin: '0 5px'}}
skipconfirm={ap.shouldConfirm ? undefined : true}
type='primary'
onClick={async (e) => {
setLoading(true);
await ap.action(ap.body || {}, namespaceCtx.namespace, rollout.objectMeta?.name || '');
if (callback) {
await callback();
}
setLoading(false);
}}
disabled={ap.disabled}
loading={loading}
tooltip={ap.tooltip}
icon={<FontAwesomeIcon icon={ap.icon} style={{marginRight: '5px'}} />}
>
{action}
</ConfirmButton>
);
},
);

export const RolloutActions = (props: {rollout: RolloutInfo}) => (
<div style={{display: 'flex'}}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ $colWidth: ($WIDGET_WIDTH + (2 * $widgetPadding)) + $widgetMarginRight;
align-items: center;
margin-top: 1.5em;
z-index: 10 !important;
color: $argo-color-gray-7;
font-size: 14px;
}
}
}
}
Loading
Loading