Skip to content

Commit 16e3403

Browse files
committed
(maint) Add gha workflow test for noarch artifacts package installs
1 parent ee1e345 commit 16e3403

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/pr_testing_install_build_artifact.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,24 @@ jobs:
7272
PT__installdir: ${{ github.workspace }}
7373
PT_version: "8.15.0"
7474
run: ./openvox_bootstrap/tasks/install_build_artifact_linux.sh
75+
- name: Install jdk prerequisite
76+
shell: bash
77+
env:
78+
JDK_PACKAGE_NAME: |-
79+
${{ ((contains(matrix.image, 'debian') ||
80+
contains(matrix.image, 'ubuntu')) &&
81+
'openjdk-17-jdk-headless') ||
82+
'java-17-openjdk-headless' }}
83+
run: /opt/puppetlabs/bin/puppet resource package "${JDK_PACKAGE_NAME}" ensure=present
84+
- name: Test noarch package installation
85+
env:
86+
PT__installdir: ${{ github.workspace }}
87+
PT_package: "openvox-server"
88+
PT_version: "8.8.0"
89+
run: ./openvox_bootstrap/tasks/install_build_artifact_linux.sh
90+
- name: Verify openvox-server is installed
91+
shell: bash
92+
run: |-
93+
/opt/puppetlabs/bin/puppet resource package openvox-server > openvox-server.status
94+
cat openvox-server.status
95+
grep "ensure.*=>.*'8.8.0" openvox-server.status

0 commit comments

Comments
 (0)