Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
add archlinux to workflow tests
  • Loading branch information
bodsch committed Sep 15, 2023
1 parent 5f80824 commit 154f528
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 14 deletions.
56 changes: 54 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@ jobs:
fail-fast: false
matrix:
image:
- debian:11
- debian:12
ansible-version:
- '6.7'
python:
- '3.10'
- '3.11'
scenario:
- default

Expand All @@ -53,7 +56,56 @@ jobs:
- name: 🐍 set up python
uses: actions/setup-python@v4
with:
python-version: '3.x'
python-version: "${{ matrix.python }}"

- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install -r test-requirements.txt
- name: Install collection
run: |
mkdir -p ~/.ansible/collections/ansible_collections/$COLLECTION_NAMESPACE
cp -a ../ansible-collection-$COLLECTION_NAME ~/.ansible/collections/ansible_collections/$COLLECTION_NAMESPACE/$COLLECTION_NAME
- name: test with tox
run: |
make \
test \
-e TOX_ANSIBLE="ansible_${{ matrix.ansible-version }}" \
-e DISTRIBUTION="${{ matrix.image }}" \
-e COLLECTION_SCENARIO="${{ matrix.scenario }}"
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
DISTRIBUTION: ${{ matrix.image }}

arch:
name: "${{ matrix.image }} / ansible: ${{ matrix.ansible-version }}"
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
image:
- archlinux:latest
ansible-version:
- '6.7'
python:
- '3.10'
- '3.11'
scenario:
- default

steps:
- name: check out the codebase.
uses: actions/checkout@v3
with:
ref: ${{ github.event.workflow_run.head_branch }}

- name: 🐍 set up python
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python }}"

- name: install dependencies
run: |
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ Documentation for the collection.

| Role | | Description |
| :---- | :---- | :---- |
| [bodsch.systemd.coredump](./roles/coredump/README.md) | | |
| [bodsch.systemd.homed](./roles/homed/README.md) | | |
| [bodsch.systemd.journald](./roles/journald/README.md) | | |
| [bodsch.systemd.oomd](./roles/oomd/README.md) | | |
| [bodsch.systemd.logind](./roles/logind/README.md) | | |
| [bodsch.systemd.networkd](./roles/networkd/README.md) | | |
| [bodsch.systemd.resolved](./roles/resolved/README.md) | | |
| [bodsch.systemd.system](./roles/system/README.md) | | |
| [bodsch.systemd.timesyncd](./roles/timesyncd/README.md) | | |
| [bodsch.systemd.user](./roles/user/README.md) | | |
| [bodsch.systemd.coredump](./roles/coredump/README.md) | | configure systemd-coredump |
| [bodsch.systemd.homed](./roles/homed/README.md) | | configure systemd-homed |
| [bodsch.systemd.journald](./roles/journald/README.md) | | configure systemd-journald |
| [bodsch.systemd.oomd](./roles/oomd/README.md) | | configure systemd-oomd |
| [bodsch.systemd.logind](./roles/logind/README.md) | | configure systemd-logind |
| [bodsch.systemd.networkd](./roles/networkd/README.md) | | configure systemd-networkd |
| [bodsch.systemd.resolved](./roles/resolved/README.md) | | configure systemd-resolved |
| [bodsch.systemd.system](./roles/system/README.md) | | configure systemd-system |
| [bodsch.systemd.timesyncd](./roles/timesyncd/README.md) | | configure systemd-timesyncd |
| [bodsch.systemd.user](./roles/user/README.md) | | configure systemd-user |


## Included content
Expand All @@ -38,7 +38,7 @@ You can install the memsource collection with the Ansible Galaxy CLI:
To install directly from GitHub:

```sh
#> ansible-galaxy collection install [email protected]:bodsch/ansible-collection-core.git
#> ansible-galaxy collection install [email protected]:bodsch/ansible-collection-systemd.git
```


Expand Down Expand Up @@ -80,7 +80,7 @@ Please read [Contribution](CONTRIBUTING.md)

The `master` Branch is my *Working Horse* includes the "latest, hot shit" and can be complete broken!

If you want to use something stable, please use a [Tagged Version](https://github.com/bodsch/ansible-collection-core/tags)!
If you want to use something stable, please use a [Tagged Version](https://github.com/bodsch/ansible-collection-systemd/tags)!


## Author
Expand Down

0 comments on commit 154f528

Please sign in to comment.