-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #311 from cthorn42/maint/main/PA-4856_update_sneak…
…_to_mend_attempt_two (maint) Update to Mend
- Loading branch information
Showing
3 changed files
with
37 additions
and
30 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: Mend Monitor | ||
on: | ||
push: | ||
branches: | ||
- 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 }} |
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
This file was deleted.
Oops, something went wrong.