File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
portal-ui/tests/permissions-2 Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,9 @@ const inspectScreenUrl = `${testDomainUrl}${IAM_PAGES.SUPPORT_INSPECT}`;
48
48
49
49
const loginSubmitBtn = Selector ( "form button" ) ;
50
50
51
- export const supportSidebarEl = Selector ( ".MuiPaper-root" )
51
+ export const inspectEl = Selector ( ".MuiPaper-root" )
52
52
. find ( "ul" )
53
- . child ( "#support" ) ;
54
-
55
- export const supportChildren = Selector ( "#support-children" ) ;
56
- export const inspectEl = supportChildren
57
- . find ( "a" )
58
- . withAttribute ( "href" , IAM_PAGES . SUPPORT_INSPECT ) ;
53
+ . child ( "#inspect" ) ;
59
54
60
55
export const inspect_volume_input = Selector ( '[data-test-id="inspect_volume"]' ) ;
61
56
export const inspect_path_input = Selector ( '[data-test-id="inspect_path"]' ) ;
Original file line number Diff line number Diff line change @@ -37,10 +37,17 @@ function setup_kind() {
37
37
try kubectl get nodes
38
38
}
39
39
40
+ function get_latest_release() {
41
+ curl --silent " https://api.github.com/repos/$1 /releases/latest" |
42
+ grep ' "tag_name":' |
43
+ sed -E ' s/.*"([^"]+)".*/\1/'
44
+ }
45
+
40
46
function install_operator() {
41
47
42
- echo " Load minio/operator image to the cluster"
43
- try kubectl apply -k github.com/minio/operator/
48
+ OPR_LATEST=$( get_latest_release minio/operator)
49
+ echo " Load minio/operator image ($OPR_LATEST ) to the cluster"
50
+ try kubectl apply -k github.com/minio/operator/\? ref\= $OPR_LATEST
44
51
echo " Waiting for k8s api"
45
52
sleep 10
46
53
echo " Waiting for Operator Pods to come online (2m timeout)"
You can’t perform that action at this time.
0 commit comments