-
-
Notifications
You must be signed in to change notification settings - Fork 375
52 lines (47 loc) · 1.57 KB
/
ci.yml
File metadata and controls
52 lines (47 loc) · 1.57 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
48
49
50
51
52
---
# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
name: CI
# yamllint disable-line rule:truthy
on:
pull_request: {}
push:
branches:
- main
- master
workflow_dispatch:
inputs:
beaker_staging_url:
description: |-
URL to a staging Server to test unreleased packages.
We will append the version to the Server and assume all packages are in the same directory.
Only supported for AIO packages.
required: false
type: string
default: 'https://artifacts.voxpupuli.org/openvox-agent'
beaker_collection:
description: |-
When set to staging, we will download the packages from staging_url.
Otherwise we will use the official repos. Supported values: puppet7, puppet8, openvox7, openvox8, staging.
When unset, we will generate a list of supported collections based on metadata.json.
required: false
type: string
beaker_staging_version:
description: |-
The package version we want to test.
Only used for beaker_collection = staging
required: false
type: string
concurrency:
group: ${{ github.ref_name }}
cancel-in-progress: true
permissions:
contents: read
jobs:
puppet:
name: Puppet
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v4
with:
beaker_staging_url: ${{ inputs.beaker_staging_url }}
beaker_collection: ${{ inputs.beaker_collection }}
beaker_staging_version: ${{ inputs.beaker_staging_version }}