mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-12-30 14:50:18 +01:00
Merge pull request #219 from geerlingguy/201-convert-to-gh-actions
201 convert to gh actions
This commit is contained in:
commit
5b2e65d298
5 changed files with 9 additions and 12 deletions
|
@ -1,2 +1,3 @@
|
|||
skip_list:
|
||||
- '106'
|
||||
- 'yaml'
|
||||
- 'role-name'
|
||||
|
|
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -29,12 +29,11 @@ jobs:
|
|||
python-version: '3.x'
|
||||
|
||||
- name: Install test dependencies.
|
||||
run: pip3 install yamllint ansible-lint
|
||||
run: pip3 install yamllint
|
||||
|
||||
- name: Lint code.
|
||||
run: |
|
||||
yamllint .
|
||||
ansible-lint
|
||||
|
||||
molecule:
|
||||
name: Molecule
|
||||
|
|
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
@ -7,9 +7,9 @@
|
|||
|
||||
name: Release
|
||||
'on':
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
@ -35,8 +35,4 @@ jobs:
|
|||
run: pip3 install ansible-base
|
||||
|
||||
- name: Trigger a new import on Galaxy.
|
||||
run: >-
|
||||
ansible-galaxy role import
|
||||
--api-key ${{ secrets.GALAXY_API_KEY }}
|
||||
$(echo $GITHUB_REPOSITORY | cut -d/ -f1)
|
||||
$(echo $GITHUB_REPOSITORY | cut -d/ -f2)
|
||||
run: ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)
|
||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
|||
*.retry
|
||||
*/__pycache__
|
||||
*.pyc
|
||||
.cache
|
||||
|
||||
|
|
|
@ -13,6 +13,5 @@ platforms:
|
|||
pre_build_image: true
|
||||
provisioner:
|
||||
name: ansible
|
||||
log: true
|
||||
playbooks:
|
||||
converge: ${MOLECULE_PLAYBOOK:-converge.yml}
|
||||
|
|
Loading…
Reference in a new issue