Skip to content

Commit 7c64e59

Browse files
committed
debug contexts
1 parent 5b023f6 commit 7c64e59

File tree

5 files changed

+10
-17
lines changed

5 files changed

+10
-17
lines changed

.github/actions/bolt/action.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
---
22
name: Install and Prepare Bolt
3-
description: "Helps with installing Bolt from the Puppet repository on Ubuntu distributions."
4-
5-
inputs:
6-
os-codename:
7-
description: The Ubuntu codename of the OS to install Bolt on.
8-
required: true
9-
type: string
3+
description: "Helps with installing Bolt from the Puppet repository on Ubuntu distributions based on setting of OS_CODENAME environment variable."
104

115
run:
126
using: "composite"
137
steps:
148
- name: Install Bolt
159
shell: bash
16-
env:
17-
OS_CODENAME: ${{ inputs.os-codename }}
1810
run: |-
1911
wget https://apt.puppet.com/puppet-tools-release-${OS_CODENAME}.deb
2012
sudo dpkg -i puppet-tools-release-${OS_CODENAME}.deb

.github/actions/container_task_prep/action.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,9 @@ runs:
1313
shell: bash
1414
run: |-
1515
source openvox_bootstrap/files/common.sh
16+
if exists 'apt'; then
17+
exec_and_capture apt update
18+
elif exists 'apt-get'; then
19+
exec_and_capture apt-get update
20+
fi
1621
install_package wget

.github/workflows/pr_testing.yaml

Lines changed: 2 additions & 4 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-
with:
38-
os-codename: ${{ matrix.os-details.codename }}
37+
env:
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
@@ -64,8 +64,6 @@ jobs:
6464
path: openvox_bootstrap
6565
- id: prep
6666
uses: ./openvox_bootstrap/.github/actions/container_task_prep
67-
with:
68-
image: ${{ matrix.image }}
6967
- name: Run openvox-agent install task manually
7068
env:
7169
PT__installdir: ${{ github.workspace }}

.github/workflows/pr_testing_install_build_artifact.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
- uses: actions/checkout@v4
2525
- id: install-bolt
2626
uses: ./.github/actions/bolt
27-
with:
28-
os-codename: ${{ matrix.os-details.codename }}
27+
env:
28+
OS_CODENAME: ${{ matrix.os-details.codename }}
2929
- name: Run openvox-agent install task
3030
run: bolt task run openvox_bootstrap::install_build_artifacts version=8.15.0 --targets localhost --run-as root
3131
- name: Verify openvox-agent is installed
@@ -53,8 +53,6 @@ jobs:
5353
path: openvox_bootstrap
5454
- id: prep
5555
uses: ./openvox_bootstrap/.github/actions/container_task_prep
56-
with:
57-
image: ${{ matrix.image }}
5856
- name: Run openvox-agent install task manually
5957
env:
6058
PT__installdir: ${{ github.workspace }}

tasks/install_build_artifact_linux.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)