diff --git a/.github/workflows/install_puppet.yaml b/.github/workflows/install_puppet.yaml index ae058cb..5d4e597 100644 --- a/.github/workflows/install_puppet.yaml +++ b/.github/workflows/install_puppet.yaml @@ -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 }} diff --git a/test_install.sh b/test_install.sh index c52cb65..c4e695b 100755 --- a/test_install.sh +++ b/test_install.sh @@ -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