File tree Expand file tree Collapse file tree 5 files changed +10
-17
lines changed Expand file tree Collapse file tree 5 files changed +10
-17
lines changed Original file line number Diff line number Diff line change 11---
22name : 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
115run :
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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
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 }}
Original file line number Diff line number Diff line change 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
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 }}
You can’t perform that action at this time.
0 commit comments