|
8 | 8 | name: Puppet${{ matrix.puppet_version }} gem on Ruby ${{ matrix.ruby }} on ${{ matrix.os_type }} |
9 | 9 | strategy: |
10 | 10 | matrix: |
11 | | - os: ['ubuntu-latest', 'macos-latest', 'windows-2022'] |
12 | | - puppet_version: ['7', '8'] |
| 11 | + os: ['ubuntu-latest'] |
| 12 | + puppet_version: ['8'] |
13 | 13 | include: |
14 | | - - puppet_version: '7' |
15 | | - ruby: '2.7' |
16 | 14 | - puppet_version: '8' |
17 | 15 | ruby: '3.1' |
18 | 16 |
|
19 | 17 | - os: 'ubuntu-latest' |
20 | 18 | os_type: 'Linux' |
21 | 19 | env_set_cmd: 'export ' |
22 | 20 | gem_file: 'puppet-latest.gem' |
23 | | - - os: 'macos-latest' |
24 | | - os_type: 'macOS' |
25 | | - env_set_cmd: 'export ' |
26 | | - gem_file: 'puppet-latest-universal-darwin.gem' |
27 | | - - os: 'windows-2022' |
28 | | - os_type: 'Windows' |
29 | | - env_set_cmd: '$env:' |
30 | | - # setup-ruby uses ucrt for newer Rubies, but we only support mingw |
31 | | - # in our Windows Puppet nightly gems. For now, we'll just install |
32 | | - # the universal gem and manually install the ffi dependency. |
33 | | - # Use the latest known good version of the ffi gem. |
34 | | - gem_file: 'puppet-latest.gem' |
35 | | - extra_steps: 'gem install ffi --version 1.16.3' |
| 21 | + # - os: 'macos-latest' |
| 22 | + # os_type: 'macOS' |
| 23 | + # env_set_cmd: 'export ' |
| 24 | + # gem_file: 'puppet-latest-universal-darwin.gem' |
| 25 | + # - os: 'windows-2022' |
| 26 | + # os_type: 'Windows' |
| 27 | + # env_set_cmd: '$env:' |
| 28 | + # # setup-ruby uses ucrt for newer Rubies, but we only support mingw |
| 29 | + # # in our Windows Puppet nightly gems. For now, we'll just install |
| 30 | + # # the universal gem and manually install the ffi dependency. |
| 31 | + # # Use the latest known good version of the ffi gem. |
| 32 | + # gem_file: 'puppet-latest.gem' |
| 33 | + # extra_steps: 'gem install ffi --version 1.16.3' |
36 | 34 |
|
37 | 35 | runs-on: ${{ matrix.os }} |
38 | 36 | steps: |
| 37 | + - name: Install Twingate |
| 38 | + uses: "puppetlabs/phoenix-gha-private/.github/workflows/twingate-setup.yaml@8c0e7e530624570aa7329e0ea0496ee1a3390780" |
39 | 39 | - name: Checkout current PR code |
40 | 40 | uses: actions/checkout@v4 |
41 | 41 |
|
|
50 | 50 | - name: Install the latest nightly build of puppet${{ matrix.puppet_version }} gem |
51 | 51 | run: | |
52 | 52 | ${{ matrix.extra_steps }} |
53 | | - curl https://nightlies.puppet.com/downloads/gems/puppet${{ matrix.puppet_version }}-nightly/${{ matrix.gem_file }} --output puppet.gem --location |
| 53 | + https://artifactory.delivery.puppetlabs.net/artifactory/internal_nightly__local/downloads/gems/puppet8-nightly/puppet-latest.gem |
| 54 | + curl https://artifactory.delivery.puppetlabs.net/artifactory/internal_nightly__local/downloads/gems/puppet${{ matrix.puppet_version }}-nightly/${{ matrix.gem_file }} --output puppet.gem --location |
54 | 55 | gem install puppet.gem -N |
55 | 56 |
|
56 | 57 | - name: Prepare testing environment with bundler |
|
0 commit comments