Skip to content

Commit

Permalink
Drop support for ArchLinux, Add GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Jan 4, 2020
1 parent db98cc0 commit e4cc6c2
Show file tree
Hide file tree
Showing 8 changed files with 140 additions and 6 deletions.
1 change: 1 addition & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
#
exclude_paths:
- ./meta/exception.yml
- ./meta/preferences.yml
114 changes: 114 additions & 0 deletions .github/workflows/ansible.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
---
#
# Ansible managed
#

name: Ansible Molecule

on:
push:
tags_ignore:
- '*'

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: molecule
uses: robertdebock/[email protected]
with:
image: ${{ matrix.image }}
entrypoint: /usr/local/bin/molecule
args: lint
test:
needs:
- lint
runs-on: ubuntu-latest
strategy:
matrix:
image:
- debian
- centos
- fedora
- opensuse
- ubuntu
tag:
- 1
- 7
- edge
- latest
- rawhide
- unstable
exclude:
- image: alpine
tag: 1
- image: alpine
tag: 7
- image: alpine
tag: rawhide
- image: alpine
tag: unstable
- image: amazonlinux
tag: 7
- image: amazonlinux
tag: edge
- image: amazonlinux
tag: rawhide
- image: amazonlinux
tag: unstable
- image: debian
tag: 1
- image: debian
tag: 7
- image: debian
tag: edge
- image: debian
tag: rawhide
- image: centos
tag: 1
- image: centos
tag: edge
- image: centos
tag: rawhide
- image: centos
tag: unstable
- image: fedora
tag: 1
- image: fedora
tag: 7
- image: fedora
tag: edge
- image: fedora
tag: unstable
- image: opensuse
tag: 1
- image: opensuse
tag: 7
- image: opensuse
tag: edge
- image: opensuse
tag: rawhide
- image: opensuse
tag: unstable
- image: ubuntu
tag: 1
- image: ubuntu
tag: 7
- image: ubuntu
tag: edge
- image: ubuntu
tag: rawhide
- image: ubuntu
tag: unstable
steps:
- name: checkout
uses: actions/checkout@v2
with:
path: "${{ github.repository }}"
- name: molecule
uses: robertdebock/[email protected]
with:
image: ${{ matrix.image }}
options: "--parallel all"
20 changes: 20 additions & 0 deletions .github/workflows/galaxy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
#
# Ansible managed
#

name: Release to Ansible Galaxy

on:
push:
tags:
- '*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: galaxy
uses: robertdebock/[email protected]
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ env:
global:
namespace="robertdebock"
matrix:
# - namespace="archlinux" image="base"
- image="debian" tag="unstable"
- image="debian"
- image="centos" tag="7"
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2019 Robert de Bock ([email protected])
Copyright 2020 Robert de Bock ([email protected])

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ firewall
<img src="https://docs.ansible.com/ansible-tower/3.2.4/html_ja/installandreference/_static/images/logo_invert.png" width="10%" height="10%" alt="Ansible logo" align="right"/>
<a href="https://travis-ci.org/robertdebock/ansible-role-firewall"> <img src="https://travis-ci.org/robertdebock/ansible-role-firewall.svg?branch=master" alt="Build status"/></a> <img src="https://img.shields.io/ansible/role/d/29220"/> <img src="https://img.shields.io/ansible/quality/29220"/>

<a href="https://github.com/robertdebock/ansible-role-firewall/actions"><img src="https://github.com/robertdebock/ansible-role-firewall/workflows/GitHub%20Action/badge.svg"/></a>

Manage firewall ports on all (known) Linux operating systems.

Example Playbook
Expand Down Expand Up @@ -86,7 +88,6 @@ This role has been tested on these [container images](https://hub.docker.com/):

|container|tags|
|---------|----|
|archlinux|all|
|debian|all|
|el|7, 8|
|fedora|all|
Expand Down
3 changes: 0 additions & 3 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ galaxy_info:
min_ansible_version: 2.8

platforms:
- name: ArchLinux
versions:
- all
- name: Debian
versions:
- all
Expand Down
2 changes: 2 additions & 0 deletions meta/preferences.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
tox_parallel: yes

0 comments on commit e4cc6c2

Please sign in to comment.