File tree Expand file tree Collapse file tree 3 files changed +52
-5
lines changed Expand file tree Collapse file tree 3 files changed +52
-5
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ 
3+   #  Copyright 2024 Cloudera, Inc. All Rights Reserved.
4+   # 
5+   #  Licensed under the Apache License, Version 2.0 (the "License");
6+   #  you may not use this file except in compliance with the License.
7+   #  You may obtain a copy of the License at
8+   # 
9+   #       http://www.apache.org/licenses/LICENSE-2.0
10+   # 
11+   #  Unless required by applicable law or agreed to in writing, software
12+   #  distributed under the License is distributed on an "AS IS" BASIS,
13+   #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+   #  See the License for the specific language governing permissions and
15+   #  limitations under the License.
16+ 
17+ name : Publish to Ansible Galaxy 
18+ 
19+ on :
20+   release :
21+     types : [published] 
22+ 
23+ jobs :
24+   galaxy_release :
25+     runs-on : ubuntu-latest 
26+     steps :
27+       - name : Checkout repository 
28+         uses : actions/checkout@v4 
29+         with :
30+           fetch-depth : 0 
31+ 
32+       - name : Publish collection to Ansible Galaxy 
33+         uses : ansible/ansible-publish-action@v1.0.0 
34+         with :
35+           api_key : " ${{ secrets.GALAXY_API_KEY }}" 
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ jobs:
2727    runs-on : ubuntu-latest 
2828    steps :
2929      - name : Checkout repository 
30-         uses : actions/checkout@v3  
30+         uses : actions/checkout@v4  
3131
3232      - name : Setup Python and caching 
33-         uses : actions/setup-python@v4  
33+         uses : actions/setup-python@v5  
3434        with :
3535          python-version : ' 3.9' 
3636          cache : ' pip' 
7575        run : | 
7676          mkdir -p ./pr 
7777          echo $PR_NUMBER > ./pr/pr_number 
78- 
78+           
7979name : Upload the PR number 
80-         uses : actions/upload-artifact@v3  
80+         uses : actions/upload-artifact@v4  
8181        with :
8282          name : pr_number 
8383          path : pr/ 
84+ 
85+   import-galaxy :
86+     needs : validate 
87+     permissions :
88+       contents : read 
89+     name : Import collection with Galaxy importer 
90+     uses : ansible-community/github-action-test-galaxy-import/.github/workflows/test-galaxy-import.yml@main 
Original file line number Diff line number Diff line change @@ -18,7 +18,10 @@ namespace:  cloudera
1818name :       cloud 
1919version :    2.3.1 
2020readme :     README.md 
21- authors :    [] 
21+ authors :
22+   - Jim Enright @jenright 
23+   - Ronald Suplina @rsuplina 
24+   - Webster Mudge @wmudge 
2225
2326description : > 
2427  A set of modules and other artifacts for interacting with the services and endpoints 
3033- azure 
3134- aws 
3235- gcp 
36+ - data_service 
37+ - data_hub 
3338
3439dependencies : {} 
3540
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments