File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 7979          ./hack/install_kustomize.sh /usr/local/bin/ 
8080          kustomize version 
8181
82+        - name : Install NDM 
83+         run : | 
84+           chmod +x hack/install_ndm.sh 
85+           ./hack/install_ndm.sh 
86+ 
8287
8388
8489
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ 
3+ #  Downloads the most recently released ndm-operator yaml
4+ #  to ci/install_artifacts/ndm-operator
5+ 
6+ #  Sets up ndm-operator kustomization yaml
7+ 
8+ NDM_RELEASE_TAG=v0.4.9
9+ mkdir -p actions_ci/install_artifacts/ndm-operator
10+ echo  " Downloading ndm-operator yaml..." 
11+ wget -O actions_ci/install_artifacts/ndm-operator/ndm-operator.yaml https://raw.githubusercontent.com/openebs/node-disk-manager/$NDM_RELEASE_TAG /ndm-operator.yaml
12+ 
13+ 
14+ cat << EOF  >actions_ci/install_artifacts/ndm-operator/kustomization.yaml
15+ apiVersion: kustomize.config.k8s.io/v1beta1 
16+ kind: Kustomization 
17+ namespace: openebs 
18+ images: 
19+   - name: openebs/node-disk-manager-amd64 
20+     newTag: $NDM_RELEASE_TAG  
21+   - name: openebs/node-disk-operator-amd64 
22+     newTag: $NDM_RELEASE_TAG  
23+   - name: openebs/node-disk-exporter-amd64 
24+     newTag: $NDM_RELEASE_TAG  
25+ resources: 
26+ - ndm-operator.yaml 
27+ EOF 
28+ 
29+ echo  " Applying customized ndm-operator YAML" 
30+ kustomize build actions_ci/install_artifacts/ndm-operator |  kubectl apply -f -
31+ 
32+ kubectl get ds,deploy -n openebs
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments