Gabriel Nagy
3 years ago
No known key found for this signature in database
GPG Key ID: A2B2C9C0F6B672B3
2 changed files with
7 additions and
2 deletions
-
.github/workflows/install_puppet.yaml
-
test_install.sh
|
|
@ -12,7 +12,7 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
collection: [ puppet6, puppet7, puppet6-nightly, puppet7-nightly] |
|
|
|
collection: [ puppet6, puppet7 ] |
|
|
|
os: [ |
|
|
|
# { name: "CentOS 6", image: "litmusimage/centos:6" }, |
|
|
|
# { name: "CentOS 7", image: "litmusimage/centos:7" }, |
|
|
@ -27,5 +27,9 @@ jobs: |
|
|
|
container: |
|
|
|
image: ${{ matrix.os.image }} |
|
|
|
steps: |
|
|
|
- name: Checkout current PR |
|
|
|
uses: actions/checkout@v2 |
|
|
|
with: |
|
|
|
fetch-depth: 0 |
|
|
|
- name: Install puppet-agent from ${{ matrix.collection }} collection |
|
|
|
run: bash -x test_install.sh -c ${{ matrix.collection }} |
|
|
@ -31,7 +31,8 @@ while [[ "$#" -gt 0 ]]; do |
|
|
|
shift |
|
|
|
done |
|
|
|
|
|
|
|
curl -sSL https://raw.githubusercontent.com/puppetlabs/install-puppet/main/install.sh | bash -s -- "${INSTALL_OPTIONS[@]}" |
|
|
|
bash install.sh "${INSTALL_OPTIONS[@]}" |
|
|
|
# curl -sSL https://raw.githubusercontent.com/puppetlabs/install-puppet/main/install.sh | bash -s -- "${INSTALL_OPTIONS[@]}" |
|
|
|
|
|
|
|
if [ -n "$EXPECTED_VERSION" ]; then |
|
|
|
if ! exists $PUPPET_BIN; then |
|
|
|