forked from Obmondo/LinuxAid
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (43 loc) · 1.39 KB
/
catalog-diff-e2e.yaml
File metadata and controls
47 lines (43 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
name: Catalog Diff e2e
"on":
pull_request:
types:
- opened
- synchronize
jobs:
catalog-diff-e2e:
name: "catalog-diff ${{ matrix.hostname }}"
runs-on: ubuntu-latest
container:
image: ghcr.io/obmondo/linuxaid-octocatalog-diff:2.3.1
strategy:
fail-fast: false
matrix:
hostname:
- role-basic-rhel8.e2etesting
- role-basic-rhel9.e2etesting
- role-basic-suse15.e2etesting
- role-basic-ubuntu2204.e2etesting
- role-basic-ubuntu2404.e2etesting
- role-monitoring-rhel8.e2etesting
- role-monitoring-rhel9.e2etesting
- role-monitoring-suse15.e2etesting
- role-monitoring-ubuntu2204.e2etesting
- role-monitoring-ubuntu2404.e2etesting
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Fetch base branch
run: git fetch origin master:master
- name: Run catalog-diff e2e
env:
OCTOCATALOG_DIFF_CONFIG_FILE: ${{ github.workspace }}/.octocatalog-diff.cfg.rb
PUPPET_FACT_DIR: ${{ github.workspace }}/e2e/facts
run: |
bundle exec octocatalog-diff \
--basedir ${{ github.workspace }} \
--enc ${{ github.workspace }}/e2e/enc.rb \
--hiera-config ${{ github.workspace }}/e2e/hiera.yaml \
--hostname ${{ matrix.hostname }}