Skip to content

Commit aa2e379

Browse files
WIP
1 parent 9e835fd commit aa2e379

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

.github/workflows/unit_tests_with_nightly_puppet_gem.yaml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,34 @@ jobs:
88
name: Puppet${{ matrix.puppet_version }} gem on Ruby ${{ matrix.ruby }} on ${{ matrix.os_type }}
99
strategy:
1010
matrix:
11-
os: ['ubuntu-latest', 'macos-latest', 'windows-2022']
12-
puppet_version: ['7', '8']
11+
os: ['ubuntu-latest']
12+
puppet_version: ['8']
1313
include:
14-
- puppet_version: '7'
15-
ruby: '2.7'
1614
- puppet_version: '8'
1715
ruby: '3.1'
1816

1917
- os: 'ubuntu-latest'
2018
os_type: 'Linux'
2119
env_set_cmd: 'export '
2220
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'
3634

3735
runs-on: ${{ matrix.os }}
3836
steps:
37+
- name: Install Twingate
38+
uses: "puppetlabs/phoenix-gha-private/.github/workflows/twingate-setup.yaml@8c0e7e530624570aa7329e0ea0496ee1a3390780"
3939
- name: Checkout current PR code
4040
uses: actions/checkout@v4
4141

@@ -50,7 +50,8 @@ jobs:
5050
- name: Install the latest nightly build of puppet${{ matrix.puppet_version }} gem
5151
run: |
5252
${{ 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
5455
gem install puppet.gem -N
5556
5657
- name: Prepare testing environment with bundler

0 commit comments

Comments
 (0)