Skip to content

Commit cda2df7

Browse files
committed
Remove non required seq
Signed-off-by: Matthias Wessendorf <[email protected]>
1 parent f17d1bb commit cda2df7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/acm.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ acm-mce-install:
5555
'spec: {}' \
5656
| oc apply -f -
5757
@echo "Waiting for ManagedCluster CRD to be available..."
58-
@for i in $$(seq 1 120); do \
58+
@for i in {1..120}; do \
5959
if oc get crd managedclusters.cluster.open-cluster-management.io >/dev/null 2>&1; then \
6060
echo "✅ ManagedCluster CRD is now available!"; \
6161
break; \
@@ -70,7 +70,7 @@ acm-operator-install:
7070
@echo "Installing ACM Operator (release 2.14)..."
7171
oc apply -k https://github.com/redhat-cop/gitops-catalog/advanced-cluster-management/operator/overlays/release-2.14
7272
@echo "Waiting for ACM operator CSV to be ready..."
73-
@for i in $$(seq 1 60); do \
73+
@for i in {1..60}; do \
7474
if oc get csv -n open-cluster-management -o name 2>/dev/null | grep -q advanced-cluster-management; then \
7575
echo "ACM CSV found, waiting for Succeeded phase..."; \
7676
break; \
@@ -150,7 +150,7 @@ acm-import-cluster: ## Import a managed cluster (requires CLUSTER_NAME and MANAG
150150
' hubAcceptsClient: true' \
151151
| oc apply -f -
152152
@echo "Step 2: Waiting for import secret to be created..."
153-
@for i in $$(seq 1 60); do \
153+
@for i in {1..60}; do \
154154
if oc get secret -n $(CLUSTER_NAME) $(CLUSTER_NAME)-import 2>/dev/null; then \
155155
echo "✅ Import secret created!"; \
156156
break; \
@@ -170,7 +170,7 @@ acm-import-cluster: ## Import a managed cluster (requires CLUSTER_NAME and MANAG
170170
@echo "Step 5: Applying import manifest to managed cluster..."
171171
@KUBECONFIG=$(MANAGED_KUBECONFIG) oc apply -f _output/acm-import/$(CLUSTER_NAME)-import.yaml
172172
@echo "Step 6: Waiting for klusterlet to be ready..."
173-
@for i in $$(seq 1 120); do \
173+
@for i in {1..120}; do \
174174
if oc get managedcluster $(CLUSTER_NAME) -o jsonpath='{.status.conditions[?(@.type=="ManagedClusterConditionAvailable")].status}' 2>/dev/null | grep -q "True"; then \
175175
echo "✅ Cluster $(CLUSTER_NAME) is now available!"; \
176176
break; \

0 commit comments

Comments
 (0)