Skip to content

Handle debian pre release builds #30

Handle debian pre release builds

Handle debian pre release builds #30

---

Check failure on line 1 in .github/workflows/pr_testing_install_build_artifact.yaml

View workflow run for this annotation

GitHub Actions / PR Tests of the install_build_artifact task

Invalid workflow file

The workflow is not valid. .github/workflows/pr_testing_install_build_artifact.yaml: (Line: 39, Col: 14, Idx: 1041) - (Line: 39, Col: 23, Idx: 1050): While scanning a plain scalar, find unexpected ':'.
name: 'PR Tests of the install_build_artifact task'
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-install-build-artifact-task-on-ubuntu:
strategy:
matrix:
os-details:
- os: ubuntu-22.04
codename: jammy
# - os: ubuntu-24.04
# codename: noble
# Perforce hasn't yet released bolt on 24.04.
runs-on: ${{ matrix.os-details.os }}
steps:
- uses: actions/checkout@v4
- id: install-bolt
uses: ./.github/actions/bolt
with:
os-codename: ${{ matrix.os-details.codename }}
- name: Run openvox-agent install task
run: bolt task run openvox_bootstrap::install_build_artifact version=8.15.0 --targets localhost --run-as root
- name: Verify openvox-agent is installed
run: |-
[[ "$(/opt/puppetlabs/bin/puppet --version)" = "8.15.0" ]]
test-install-build-artifact-task-on-other-os-via-containers:
strategy:
matrix:
image:
- [almalinux:8]
- [almalinux:9]
- [rockylinux:8]
- [rockylinux:9]
- [debian:10]
- [debian:11]
- [debian:12]
- [debian:13, 8.17.0]
- [fedora:42]
- [ubuntu:24.04]
# Need to pull in the repo GPG keys for sles
# - registry.suse.com/suse/sle15:15.6
runs-on: ubuntu-latest
container: ${{ matrix.image[0] }}
steps:
- uses: actions/checkout@v4
with:
path: openvox_bootstrap
- id: prep
uses: ./openvox_bootstrap/.github/actions/container_task_prep
- name: Run openvox-agent install task manually
env:
PT__installdir: ${{ github.workspace }}
PT_version: ${{ matrix.image[1] || "8.15.0" }}
run: ./openvox_bootstrap/tasks/install_build_artifact_linux.sh
- name: Verify openvox-agent is installed
shell: bash
run: |-
[[ "$(/opt/puppetlabs/bin/puppet --version)" = "8.15.0" ]]