Skip to content

Commit 451584d

Browse files
committed
debug 2
1 parent 7c64e59 commit 451584d

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

.github/actions/bolt/action.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
11
---
22
name: Install and Prepare Bolt
3-
description: "Helps with installing Bolt from the Puppet repository on Ubuntu distributions based on setting of OS_CODENAME environment variable."
3+
description: "Helps with installing Bolt from the Puppet repository on Ubuntu distributions."
44

5-
run:
5+
inputs:
6+
os-codename:
7+
description: The Ubuntu codename of the OS to install Bolt on.
8+
required: true
9+
type: string
10+
11+
runs:
612
using: "composite"
713
steps:
814
- name: Install Bolt
915
shell: bash
16+
env:
17+
OS_CODENAME: ${{ inputs.os-codename }}
1018
run: |-
1119
wget https://apt.puppet.com/puppet-tools-release-${OS_CODENAME}.deb
1220
sudo dpkg -i puppet-tools-release-${OS_CODENAME}.deb

.github/workflows/pr_testing.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
- uses: actions/checkout@v4
3535
- id: install-bolt
3636
uses: ./.github/actions/bolt
37-
env:
38-
OS_CODENAME: ${{ matrix.os-details.codename }}
37+
with:
38+
os-codename: ${{ matrix.os-details.codename }}
3939
- name: Run openvox-agent install task
4040
run: bolt task run openvox_bootstrap::install --targets localhost --run-as root
4141
- name: Verify openvox-agent is installed

.github/workflows/pr_testing_install_build_artifact.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
- uses: actions/checkout@v4
2525
- id: install-bolt
2626
uses: ./.github/actions/bolt
27-
env:
28-
OS_CODENAME: ${{ matrix.os-details.codename }}
27+
with:
28+
os-codename: ${{ matrix.os-details.codename }}
2929
- name: Run openvox-agent install task
30-
run: bolt task run openvox_bootstrap::install_build_artifacts version=8.15.0 --targets localhost --run-as root
30+
run: bolt task run openvox_bootstrap::install_build_artifact version=8.15.0 --targets localhost --run-as root
3131
- name: Verify openvox-agent is installed
3232
run: |-
3333
[[ "$(/opt/puppetlabs/bin/puppet --version)" = "8.15.0" ]]

0 commit comments

Comments
 (0)