Skip to content

Commit 06ab040

Browse files
authored
Merge pull request #9 from cirrax/dev_cirrax
switch away from pdk testing to openvox, include install on server
2 parents 2869b20 + 43016e5 commit 06ab040

36 files changed

+183
-1291
lines changed

.devcontainer/Dockerfile

Lines changed: 0 additions & 6 deletions
This file was deleted.

.devcontainer/README.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

.fixtures.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@ fixtures:
44
concat: puppetlabs/concat
55
stdlib: puppetlabs/stdlib
66
cron_core: puppetlabs/cron_core
7-
symlinks:
8-
"borgbackup": "#{source_dir}"

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
---
12
github: [cirrax]
23
custom: ["https://cirrax.com"]

.github/workflows/ci.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
name: run VoxBox checks
3+
4+
env:
5+
VOXBOX: 'ghcr.io/voxpupuli/voxbox:8'
6+
7+
# yamllint disable-line rule:truthy
8+
on:
9+
pull_request: {}
10+
11+
12+
concurrency:
13+
group: ${{ github.ref_name }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
build-push:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Setup Podman
21+
run: |
22+
sudo apt update
23+
sudo apt-get -y install podman
24+
podman pull ${VOXBOX}
25+
- name: Checkout Repository
26+
uses: actions/checkout@v4
27+
- name: run validate
28+
run: |
29+
podman run -it --rm -v $PWD:/repo:Z ${VOXBOX} validate
30+
- name: run check
31+
run: |
32+
podman run -it --rm -v $PWD:/repo:Z ${VOXBOX} check
33+
- name: run lint
34+
run: |
35+
podman run -it --rm -v $PWD:/repo:Z ${VOXBOX} lint
36+
- name: run yamllint
37+
run: |
38+
podman run -it --rm -v $PWD:/repo:Z --entrypoint yamllint ${VOXBOX} .
39+
- name: run rubocop
40+
run: |
41+
podman run -it --rm -v $PWD:/repo:Z ${VOXBOX} rubocop
42+
- name: check syntax
43+
run: |
44+
podman run -it --rm -v $PWD:/repo:Z ${VOXBOX} strings:validate:reference
45+
- name: run spec tests
46+
run: |
47+
podman run -it --rm -v $PWD:/repo:Z ${VOXBOX} fixtures:clean
48+
podman run -it --rm -v $PWD:/repo:Z ${VOXBOX} fixtures:prep
49+
podman run -it --rm -v $PWD:/repo:Z ${VOXBOX} spec

.github/workflows/pdk.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.gitlab-ci.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

.pdkignore

Lines changed: 0 additions & 51 deletions
This file was deleted.

.puppet-lint.rc

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)