This repository has been archived by the owner on Jan 15, 2025. It is now read-only.
(maint) Update pxp-agent to 5b483aa2dd60b4a2bb2af0aa991a79e46b9c62e5 #117
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Mend Monitor | |
on: | |
push: | |
branches: | |
- 7.x | |
- main | |
jobs: | |
mend_monitor: | |
if: ${{ github.repository_owner == 'puppetlabs' }} | |
runs-on: ubuntu-latest | |
name: Mend Monitor | |
steps: | |
- name: Checkout current PR | |
uses: actions/checkout@v3 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
- name: Create lock | |
run: bundle lock | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Download Mend | |
run: curl -o wss-unified-agent.jar https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar | |
- name: Run Mend | |
run: java -jar wss-unified-agent.jar | |
env: | |
WS_APIKEY: ${{ secrets.MEND_API_KEY }} | |
WS_WSS_URL: https://saas-eu.whitesourcesoftware.com/agent | |
WS_USERKEY: ${{ secrets.MEND_TOKEN }} | |
WS_PRODUCTNAME: Puppet Agent | |
WS_PROJECTNAME: ${{ github.event.repository.name }}-${{ github.ref_name }} | |