@@ -32,14 +32,10 @@ jobs:
3232 needs : shellcheck
3333 steps :
3434 - uses : actions/checkout@v4
35- - name : Install Bolt
36- run : |-
37- wget https://apt.puppet.com/puppet-tools-release-${{ matrix.os-details.codename }}.deb
38- sudo dpkg -i puppet-tools-release-${{ matrix.os-details.codename }}.deb
39- sudo apt update
40- sudo apt install -y puppet-bolt
41- - name : Install module dependencies
42- run : bolt module install
35+ - id : install-bolt
36+ uses : ./.github/actions/bolt
37+ with :
38+ os-codename : ${{ matrix.os-details.codename }}
4339 - name : Run openvox-agent install task
4440 run : bolt task run openvox_bootstrap::install --targets localhost --run-as root
4541 - name : Verify openvox-agent is installed
5551 - debian:10
5652 - debian:11
5753 - debian:12
54+ - fedora:42
55+ - ubuntu:24.04
5856 # Need to pull in the repo GPG keys for sles
5957 # - registry.suse.com/suse/sle15:15.6
6058 needs : shellcheck
6462 - uses : actions/checkout@v4
6563 with :
6664 path : openvox_bootstrap
67- - uses : actions/checkout@v4
68- with :
69- repository : puppetlabs/puppetlabs-facts
70- path : facts
71- - name : debugging
72- run : |
73- pwd
74- echo "Running on ${{ matrix.image }}"
75- ls -l
76- echo "${GITHUB_WORKSPACE}"
77- ls -l "${GITHUB_WORKSPACE}/.."
78- - name : Ensure wget is installed (apt)
79- if : startsWith(matrix.image, 'debian')
80- run : |
81- if ! command -v wget &> /dev/null; then
82- apt update
83- apt install -y wget
84- fi
85- - name : Ensure wget is installed (dnf)
86- if : startsWith(matrix.image, 'rocky')
87- run : |
88- if ! command -v wget &> /dev/null; then
89- dnf install -y wget
90- fi
91- - name : Ensure wget is installed (zypper)
92- if : contains(matrix.image, 'suse')
93- run : |
94- if ! command -v wget &> /dev/null; then
95- zypper install -y wget
96- fi
65+ - id : prep
66+ uses : ./openvox_bootstrap/.github/actions/container_task_prep
9767 - name : Run openvox-agent install task manually
9868 env :
9969 PT__installdir : ${{ github.workspace }}
0 commit comments