Skip to content

Commit

Permalink
feat(ci): Change from docker to hcloud as test target and remove rpm …
Browse files Browse the repository at this point in the history
…support
  • Loading branch information
steinbrueckri committed Mar 20, 2023
1 parent 4bd1d56 commit 2a66b1e
Show file tree
Hide file tree
Showing 15 changed files with 216 additions and 166 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,11 @@ jobs:
strategy:
matrix:
include:
- distro: centos8
playbook: converge-rpm.yml
- distro: centos7
playbook: converge-rpm.yml
- distro: ubuntu2004
playbook: converge-apt.yml
- distro: ubuntu1804
playbook: converge-apt.yml
- distro: debian10
playbook: converge-apt.yml
- distro: debian11
playbook: converge-apt.yml
- distro: ubuntu-18.04
- distro: ubuntu-20.04
- distro: ubuntu-22.04
- distro: debian-10
- distro: debian-11

steps:
- name: Check out the codebase.
Expand Down Expand Up @@ -58,4 +51,4 @@ jobs:
PY_COLORS: "1"
ANSIBLE_FORCE_COLOR: "1"
MOLECULE_DISTRO: ${{ matrix.distro }}
MOLECULE_PLAYBOOK: ${{ matrix.playbook }}
HCLOUD_TOKEN: ${{ secrets.HCLOUD_TOKEN }}
2 changes: 2 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ ansible-lint = "*"
ansible = "*"
molecule = {extras = ["docker"], version = "*"}
docker = "*"
molecule-hetznercloud = "*"
hcloud = "*"

[dev-packages]

Expand Down
164 changes: 113 additions & 51 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions get-package-urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,6 @@
filename_patterns = {
"Debian10": "NessusAgent.*debian10_amd64.deb",
"Debian11": "NessusAgent.*debian10_amd64.deb",
"RedHat6": "NessusAgent.*es6.x86_64.rpm",
"RedHat7": "NessusAgent.*es7.x86_64.rpm",
"CentOS7": "NessusAgent.*es7.x86_64.rpm",
"RedHat8": "NessusAgent.*es8.x86_64.rpm",
"CentOS8": "NessusAgent.*es8.x86_64.rpm",
"SLES12": "NessusAgent.*suse12.x86_64.rpm",
"SLES15": "NessusAgent.*suse15.x86_64.rpm",
"Ubuntu14": "NessusAgent.*ubuntu1404_amd64.deb",
"Ubuntu16": "NessusAgent.*ubuntu1404_amd64.deb",
"Ubuntu18": "NessusAgent.*ubuntu1404_amd64.deb",
"Ubuntu20": "NessusAgent.*ubuntu1404_amd64.deb",
"Ubuntu22": "NessusAgent.*ubuntu1404_amd64.deb",
Expand Down
3 changes: 0 additions & 3 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ galaxy_info:
- name: Debian
versions:
- all
- name: EL
versions:
- all

galaxy_tags:
- security
Expand Down
18 changes: 0 additions & 18 deletions molecule/default/converge-rpm.yml

This file was deleted.

File renamed without changes.
Loading

0 comments on commit 2a66b1e

Please sign in to comment.