aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGaƫtan <36162164+gaetanfl@users.noreply.github.com>2021-12-03 10:37:24 +0100
committerGitHub <noreply@github.com>2021-12-03 10:37:24 +0100
commitd1aff1401d55822962111b159a56682b9446b7ae (patch)
treeda41dec241e7f7c410224a521b9e51de465affda
parent51a5caaf6cffe2a422e4e918ac278d7b5ffe35dd (diff)
parent032453fd5919eee74c368b85ddebcd53fbdf25d1 (diff)
downloadansible-netdata_straight-master.tar.gz
ansible-netdata_straight-master.tar.zst
ansible-netdata_straight-master.zip
Merge pull request #5 from fretlink/publish_on_galaxyHEADv0.1.1master
CD: publish to ansible galaxy
-rw-r--r--.github/workflows/pr.yml14
-rw-r--r--meta/main.yml6
2 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index 36a66a1..1ec82b9 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -7,6 +7,8 @@ on:
7 pull_request: 7 pull_request:
8 branches: 8 branches:
9 - master 9 - master
10 release:
11 types: [created, edited, published]
10jobs: 12jobs:
11 molecule_default: 13 molecule_default:
12 runs-on: ubuntu-latest 14 runs-on: ubuntu-latest
@@ -40,3 +42,15 @@ jobs:
40 - uses: gofrolist/molecule-action@v2 42 - uses: gofrolist/molecule-action@v2
41 with: 43 with:
42 molecule_args: --scenario-name features 44 molecule_args: --scenario-name features
45 publish:
46 runs-on: ubuntu-latest
47 needs:
48 - molecule_default
49 - molecule_features
50 if: ${{ github.event_name == 'release' }}
51 steps:
52 - uses: actions/checkout@v2
53 - name: Upload to ansible-galaxy
54 uses: robertdebock/galaxy-action@1.1.0
55 with:
56 galaxy_api_key: '${{ secrets.GALAXY_API_KEY }}'
diff --git a/meta/main.yml b/meta/main.yml
index 4edfb50..d359a3d 100644
--- a/meta/main.yml
+++ b/meta/main.yml
@@ -44,6 +44,12 @@ galaxy_info:
44 versions: 44 versions:
45 - 18.04 45 - 18.04
46 - 20.04 46 - 20.04
47 - name: Fedora
48 versions:
49 - latest
50 - name: Centos
51 versions:
52 - 8
47 53
48 galaxy_tags: [] 54 galaxy_tags: []
49 # List tags for your role here, one per line. A tag is a keyword that describes 55 # List tags for your role here, one per line. A tag is a keyword that describes