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:
27
27
runs-on : ubuntu-latest
28
28
steps :
29
29
- name : Checkout repository
30
- uses : actions/checkout@v3
30
+ uses : actions/checkout@v4
31
31
32
32
- name : Setup Python and caching
33
- uses : actions/setup-python@v4
33
+ uses : actions/setup-python@v5
34
34
with :
35
35
python-version : ' 3.9'
36
36
cache : ' pip'
75
75
run : |
76
76
mkdir -p ./pr
77
77
echo $PR_NUMBER > ./pr/pr_number
78
-
78
+
79
79
- name : Upload the PR number
80
- uses : actions/upload-artifact@v3
80
+ uses : actions/upload-artifact@v4
81
81
with :
82
82
name : pr_number
83
83
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
18
18
name : cloud
19
19
version : 2.3.1
20
20
readme : README.md
21
- authors : []
21
+ authors :
22
+ - Jim Enright @jenright
23
+ - Ronald Suplina @rsuplina
24
+ - Webster Mudge @wmudge
22
25
23
26
description : >
24
27
A set of modules and other artifacts for interacting with the services and endpoints
30
33
- azure
31
34
- aws
32
35
- gcp
36
+ - data_service
37
+ - data_hub
33
38
34
39
dependencies : {}
35
40
You can’t perform that action at this time.
0 commit comments