File tree 3 files changed +39
-33
lines changed
3 files changed +39
-33
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Mend Monitor
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ jobs :
8
+ mend_monitor :
9
+ if : ${{ github.repository_owner == 'puppetlabs' }}
10
+ runs-on : ubuntu-latest
11
+ name : Mend Monitor
12
+ steps :
13
+ - name : Checkout current PR
14
+ uses : actions/checkout@v3
15
+ - name : Setup Ruby
16
+ uses : ruby/setup-ruby@v1
17
+ with :
18
+ ruby-version : 2.7
19
+ - name : Create lock
20
+ run : bundle lock
21
+ - uses : actions/setup-java@v3
22
+ with :
23
+ distribution : ' temurin'
24
+ java-version : ' 17'
25
+ - name : Download Mend
26
+ run : curl -o wss-unified-agent.jar https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar
27
+ - name : Run Mend
28
+ run : java -jar wss-unified-agent.jar
29
+ env :
30
+ WS_APIKEY : ${{ secrets.MEND_API_KEY }}
31
+ WS_WSS_URL : https://saas-eu.whitesourcesoftware.com/agent
32
+ WS_USERKEY : ${{ secrets.MEND_TOKEN }}
33
+ WS_PRODUCTNAME : Puppet Agent
34
+ WS_PROJECTNAME : ${{ github.event.repository.name }}
35
+
Original file line number Diff line number Diff line change @@ -13,18 +13,16 @@ jobs:
13
13
strategy :
14
14
matrix :
15
15
cfg :
16
- - {os: ubuntu-18.04, ruby: '2.5'}
17
- - {os: ubuntu-18.04, ruby: '2.7'}
18
- - {os: ubuntu-18.04, ruby: '3.0'}
19
- - {os: ubuntu-18.04, ruby: 'jruby-9.2.17.0'}
20
- - {os: windows-2019, ruby: '2.5'}
16
+ - {os: ubuntu-20.04, ruby: '2.7'}
17
+ - {os: ubuntu-20.04, ruby: '3.0'}
18
+ - {os: ubuntu-20.04, ruby: 'jruby-9.4.2'}
21
19
- {os: windows-2019, ruby: '2.7'}
22
20
- {os: windows-2019, ruby: '3.0'}
23
21
24
22
runs-on : ${{ matrix.cfg.os }}
25
23
steps :
26
24
- name : Checkout current PR
27
- uses : actions/checkout@v2
25
+ uses : actions/checkout@v3
28
26
29
27
- name : Install ruby version ${{ matrix.cfg.ruby }}
30
28
uses : ruby/setup-ruby@v1
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments