@@ -22,16 +22,20 @@ jobs:
2222 test-install-task-on-ubuntu :
2323 strategy :
2424 matrix :
25- os : [ubuntu-20.04, ubuntu-22.04]
25+ os-details :
26+ - os : ubuntu-20.04
27+ codename : focal
28+ - os : ubuntu-22.04
29+ codename : jammy
2630 # Perforce hasn't yet released bolt on 24.04.
27- runs-on : ${{ matrix.os }}
31+ runs-on : ${{ matrix.os-details.os }}
2832 needs : shellcheck
2933 steps :
3034 - uses : actions/checkout@v4
3135 - name : Install Bolt
3236 run : |-
33- wget https://apt.puppet.com/puppet-tools-release-jammy .deb
34- sudo dpkg -i puppet-tools-release-jammy .deb
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
3539 sudo apt update
3640 sudo apt install -y puppet-bolt
3741 - name : Install module dependencies
@@ -46,25 +50,32 @@ jobs:
4650 strategy :
4751 matrix :
4852 image :
49- - rockylinux/rockylinux:7
50- - rockylinux/rockylinux:8
51- - rockylinux/rockylinux:9
52- - rockylinux/rockylinux:10
53- - debian/debian:10
54- - debian/debian:11
55- - debian/debian:12
56- - sles/sles:15
53+ - rockylinux:8
54+ - rockylinux:9
55+ - debian:10
56+ - debian:11
57+ - debian:12
58+ - registry.suse.com/suse/sle15:15
5759 needs : shellcheck
5860 runs-on : ubuntu-latest
5961 container : ${{ matrix.image }}
6062 steps :
6163 - uses : actions/checkout@v4
62- - name : Checkout facts module
63- run : git clone https://github.com/puppetlabs/puppetlabs-facts.git ../facts
64+ - uses : actions/checkout@v4
65+ with :
66+ repository : puppetlabs/puppetlabs-facts
67+ path : facts
68+ - name : debugging
69+ run : |
70+ pwd
71+ echo "Running on ${{ matrix.image }}"
72+ ls -l
73+ echo "${GITHUB_WORKSPACE}"
74+ ls -l "${GITHUB_WORKSPACE}/.."
6475 - name : Run openvox-agent install task manually
6576 env :
66- PT__installdir : " ${PWD}/.. "
67- run : sudo -E tasks/install_linux.sh
77+ PT__installdir : " ${GITHUB_WORKSPACE} "
78+ run : ./ tasks/install_linux.sh
6879 - name : Verify openvox-agent is installed
6980 run : |-
7081 [[ "$(/opt/puppetlabs/bin/puppet --version)" =~ [0-9]+\.[0-9]+\.[0-9]+ ]]
0 commit comments