Skip to content

Commit

Permalink
Adding job to prep puppet modules
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianSipos committed Feb 7, 2024
1 parent d45e089 commit f0bb85c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,28 @@ on:
- puppet

jobs:
prep:
name: Download modules
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: false
- name: Install dependencies
run: |
sudo apt-get update
wget https://apt.puppet.com/puppet-release-focal.deb
sudo dpkg -i puppet-tools-release-focal.deb
wget https://apt.puppet.com/puppet-tools-release-focal.deb
sudo dpkg -i puppet-tools-release-focal.deb
sudo apt-get install -y puppet-agent-7.28.0-1.el9 puppet-bolt
sudo update-alternatives --install /usr/bin/puppet puppet-agent /opt/puppetlabs/bin/puppet 10
sudo chmod +t /tmp # workaround ruby need within prep.sh
- name: Prep project
run: |
./puppet/prep.sh
puppet-lint:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit f0bb85c

Please sign in to comment.