-
Notifications
You must be signed in to change notification settings - Fork 2
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 #210 from NetApp/add_cf_to_auto_alarm
Add a CloudFormation to auto_set_fsxn_auto_grow
- Loading branch information
Showing
5 changed files
with
918 additions
and
65 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
.github/workflows/update-CloudformationTemplate-auto-set-fsxn-auto-grow.yml
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,37 @@ | ||
--- | ||
# Copyright (c) NetApp, Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: "Update Cloudformation Template" | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'Management-Utilities/auto_set_fsxn_auto_grow/set_fsxn_volume_auto_grow.py' | ||
push: | ||
paths: | ||
- 'Management-Utilities/auto_set_fsxn_auto_grow/set_fsxn_volume_auto_grow.py' | ||
branches: | ||
- main | ||
|
||
jobs: | ||
update-Cloudformation-Template: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
# Give the default GITHUB_TOKEN write permission to commit and push the | ||
# added or changed files to the repository. | ||
contents: write | ||
|
||
steps: | ||
- name: Checkout pull request | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
|
||
- name: Update the Cloudformation Template | ||
shell: bash | ||
working-directory: Management-Utilities/auto_set_fsxn_auto_grow | ||
run: ./update_auto_set_fsxn_auto_grow_CF_Template | ||
|
||
- name: Commit the changes | ||
uses: stefanzweifel/git-auto-commit-action@v5 |
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
Oops, something went wrong.