summaryrefslogtreecommitdiffstats
path: root/ansible_collections/purestorage/flasharray/.github
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:03:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:03:42 +0000
commit66cec45960ce1d9c794e9399de15c138acb18aed (patch)
tree59cd19d69e9d56b7989b080da7c20ef1a3fe2a5a /ansible_collections/purestorage/flasharray/.github
parentInitial commit. (diff)
downloadansible-66cec45960ce1d9c794e9399de15c138acb18aed.tar.xz
ansible-66cec45960ce1d9c794e9399de15c138acb18aed.zip
Adding upstream version 7.3.0+dfsg.upstream/7.3.0+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/purestorage/flasharray/.github')
-rw-r--r--ansible_collections/purestorage/flasharray/.github/CONTRIBUTING.md19
-rw-r--r--ansible_collections/purestorage/flasharray/.github/ISSUE_TEMPLATE/bug_report.md38
-rw-r--r--ansible_collections/purestorage/flasharray/.github/ISSUE_TEMPLATE/feature_request.md20
-rw-r--r--ansible_collections/purestorage/flasharray/.github/bug_report_template.md58
-rw-r--r--ansible_collections/purestorage/flasharray/.github/feature_request_template.md21
-rw-r--r--ansible_collections/purestorage/flasharray/.github/pull_request_template.md25
-rw-r--r--ansible_collections/purestorage/flasharray/.github/workflows/ansible-lint.yml10
-rw-r--r--ansible_collections/purestorage/flasharray/.github/workflows/black.yaml11
-rw-r--r--ansible_collections/purestorage/flasharray/.github/workflows/main.yml49
-rw-r--r--ansible_collections/purestorage/flasharray/.github/workflows/stale.yml19
10 files changed, 270 insertions, 0 deletions
diff --git a/ansible_collections/purestorage/flasharray/.github/CONTRIBUTING.md b/ansible_collections/purestorage/flasharray/.github/CONTRIBUTING.md
new file mode 100644
index 00000000..c2c5bbfd
--- /dev/null
+++ b/ansible_collections/purestorage/flasharray/.github/CONTRIBUTING.md
@@ -0,0 +1,19 @@
+# WELCOME TO PURE STORAGE FLASH-ARRAY ANSIBLE COLLECTION GITHUB
+
+Hi! Nice to see you here!
+
+## QUESTIONS ?
+
+The GitHub issue tracker is not the best place for questions for various reasons, but the [mailing list](mailto:pure-ansible-team@purestorage.com) is a very helpful places for those things.
+
+## CONTRIBUTING ?
+
+By contributing you agree that these contributions are your own (or approved by your employer) and you grant a full, complete, irrevocable copyright license to all users and developers of the project, present and future, pursuant to the license of the project.
+
+## BUG TO REPORT ?
+
+You can report bugs or make enhancement requests at the [Ansible GitHub issue page](http://github.com/Pure-Storage-Ansible/FlashArray-Collection/issues/new/choose) by filling out the issue template that will be presented.
+
+Also please make sure you are testing on the latest released version of Ansible or the development branch; see the [Installation Guide](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html) for details.
+
+Thanks!
diff --git a/ansible_collections/purestorage/flasharray/.github/ISSUE_TEMPLATE/bug_report.md b/ansible_collections/purestorage/flasharray/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 00000000..dd84ea78
--- /dev/null
+++ b/ansible_collections/purestorage/flasharray/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,38 @@
+---
+name: Bug report
+about: Create a report to help us improve
+title: ''
+labels: ''
+assignees: ''
+
+---
+
+**Describe the bug**
+A clear and concise description of what the bug is.
+
+**To Reproduce**
+Steps to reproduce the behavior:
+1. Go to '...'
+2. Click on '....'
+3. Scroll down to '....'
+4. See error
+
+**Expected behavior**
+A clear and concise description of what you expected to happen.
+
+**Screenshots**
+If applicable, add screenshots to help explain your problem.
+
+**Desktop (please complete the following information):**
+ - OS: [e.g. iOS]
+ - Browser [e.g. chrome, safari]
+ - Version [e.g. 22]
+
+**Smartphone (please complete the following information):**
+ - Device: [e.g. iPhone6]
+ - OS: [e.g. iOS8.1]
+ - Browser [e.g. stock browser, safari]
+ - Version [e.g. 22]
+
+**Additional context**
+Add any other context about the problem here.
diff --git a/ansible_collections/purestorage/flasharray/.github/ISSUE_TEMPLATE/feature_request.md b/ansible_collections/purestorage/flasharray/.github/ISSUE_TEMPLATE/feature_request.md
new file mode 100644
index 00000000..bbcbbe7d
--- /dev/null
+++ b/ansible_collections/purestorage/flasharray/.github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,20 @@
+---
+name: Feature request
+about: Suggest an idea for this project
+title: ''
+labels: ''
+assignees: ''
+
+---
+
+**Is your feature request related to a problem? Please describe.**
+A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
+
+**Describe the solution you'd like**
+A clear and concise description of what you want to happen.
+
+**Describe alternatives you've considered**
+A clear and concise description of any alternative solutions or features you've considered.
+
+**Additional context**
+Add any other context or screenshots about the feature request here.
diff --git a/ansible_collections/purestorage/flasharray/.github/bug_report_template.md b/ansible_collections/purestorage/flasharray/.github/bug_report_template.md
new file mode 100644
index 00000000..5e2749fb
--- /dev/null
+++ b/ansible_collections/purestorage/flasharray/.github/bug_report_template.md
@@ -0,0 +1,58 @@
+<!--- Verify first that your issue is not already reported on GitHub -->
+<!--- Also test if the latest release and devel branch are affected too -->
+<!--- Complete *all* sections as described, this form is processed automatically -->
+
+##### SUMMARY
+<!--- Explain the problem briefly below -->
+
+##### ISSUE TYPE
+- Bug Report
+
+##### COMPONENT NAME
+<!--- Write the short name of the module, plugin, task or feature below, use your best guess if unsure -->
+
+##### ANSIBLE VERSION
+<!--- Paste verbatim output from "ansible --version" between quotes -->
+```paste below
+
+```
+
+##### COLLECTION VERSION
+<!--- Paste verbatim output from "ansible-galaxy collection list <namespace>.<collection>" between the quotes
+for example: ansible-galaxy collection list community.general
+-->
+```paste below
+
+```
+
+##### CONFIGURATION
+<!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes -->
+```paste below
+
+```
+
+##### OS / ENVIRONMENT
+<!--- Provide all relevant information below, e.g. target OS versions, network device firmware, etc. -->
+
+
+##### STEPS TO REPRODUCE
+<!--- Describe exactly how to reproduce the problem, using a minimal test-case -->
+
+<!--- Paste example playbooks or commands between quotes below -->
+```yaml
+
+```
+
+<!--- HINT: You can paste gist.github.com links for larger files -->
+
+##### EXPECTED RESULTS
+<!--- Describe what you expected to happen when running the steps above -->
+
+
+##### ACTUAL RESULTS
+<!--- Describe what actually happened. If possible run with extra verbosity (-vvvv) -->
+
+<!--- Paste verbatim command output between quotes -->
+```paste below
+
+```
diff --git a/ansible_collections/purestorage/flasharray/.github/feature_request_template.md b/ansible_collections/purestorage/flasharray/.github/feature_request_template.md
new file mode 100644
index 00000000..cec2d6da
--- /dev/null
+++ b/ansible_collections/purestorage/flasharray/.github/feature_request_template.md
@@ -0,0 +1,21 @@
+<!--- Verify first that your feature was not already discussed on GitHub -->
+<!--- Complete *all* sections as described, this form is processed automatically -->
+
+##### SUMMARY
+<!--- Describe the new feature/improvement briefly below -->
+
+##### ISSUE TYPE
+- Feature Idea
+
+##### COMPONENT NAME
+<!--- Write the short name of the module, plugin, task or feature below, use your best guess if unsure -->
+
+##### ADDITIONAL INFORMATION
+<!--- Describe how the feature would be used, why it is needed and what it would solve -->
+
+<!--- Paste example playbooks or commands between quotes below -->
+```yaml
+
+```
+
+<!--- HINT: You can also paste gist.github.com links for larger files -->
diff --git a/ansible_collections/purestorage/flasharray/.github/pull_request_template.md b/ansible_collections/purestorage/flasharray/.github/pull_request_template.md
new file mode 100644
index 00000000..27079cb1
--- /dev/null
+++ b/ansible_collections/purestorage/flasharray/.github/pull_request_template.md
@@ -0,0 +1,25 @@
+##### SUMMARY
+<!--- Describe the change below, including rationale and design decisions -->
+
+<!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
+
+##### ISSUE TYPE
+<!--- Pick one below and delete the rest -->
+- Bugfix Pull Request
+- Docs Pull Request
+- Feature Pull Request
+- New Module Pull Request
+- New Role Pull Request
+
+##### COMPONENT NAME
+<!--- Write the short name of the module, plugin, task or feature below -->
+
+##### ADDITIONAL INFORMATION
+<!--- Include additional information to help people understand the change here -->
+<!--- A step-by-step reproduction of the problem is helpful if there is no related issue -->
+- All new PRs must include a changelog fragment
+- Details of naming convention and format can be found [here](https://docs.ansible.com/ansible/latest/community/development_process.html#creating-a-changelog-fragment)
+<!--- Paste verbatim command output below, e.g. before and after your change -->
+```paste below
+
+```
diff --git a/ansible_collections/purestorage/flasharray/.github/workflows/ansible-lint.yml b/ansible_collections/purestorage/flasharray/.github/workflows/ansible-lint.yml
new file mode 100644
index 00000000..0b210218
--- /dev/null
+++ b/ansible_collections/purestorage/flasharray/.github/workflows/ansible-lint.yml
@@ -0,0 +1,10 @@
+name: Ansible Lint # feel free to pick your own name
+on: [push, pull_request]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - name: Run ansible-lint
+ uses: ansible-community/ansible-lint-action@main
diff --git a/ansible_collections/purestorage/flasharray/.github/workflows/black.yaml b/ansible_collections/purestorage/flasharray/.github/workflows/black.yaml
new file mode 100644
index 00000000..e5f9711f
--- /dev/null
+++ b/ansible_collections/purestorage/flasharray/.github/workflows/black.yaml
@@ -0,0 +1,11 @@
+name: Lint
+
+on: [push, pull_request]
+
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v3
+ - uses: psf/black@stable
diff --git a/ansible_collections/purestorage/flasharray/.github/workflows/main.yml b/ansible_collections/purestorage/flasharray/.github/workflows/main.yml
new file mode 100644
index 00000000..5114e2a9
--- /dev/null
+++ b/ansible_collections/purestorage/flasharray/.github/workflows/main.yml
@@ -0,0 +1,49 @@
+name: Pure Storage Ansible CI
+
+on:
+ pull_request:
+ push:
+ schedule:
+ - cron: '25 10 * * *'
+
+jobs:
+ build:
+ name: Build flasharray on Ansible ${{ matrix.ansible }} (Python ${{ matrix.python-version }})
+ runs-on: ubuntu-20.04
+ strategy:
+ matrix:
+ ansible:
+ - stable-2.11
+ - stable-2.12
+ - stable-2.13
+ - stable-2.14
+ - devel
+ python-version:
+ - 3.8
+ - 3.9
+ exclude:
+ - python-version: 3.8
+ ansible: stable-2.14
+ - python-version: 3.8
+ ansible: devel
+ steps:
+ - name: Check out code
+ uses: actions/checkout@v3
+
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v3
+ with:
+ python-version: ${{ matrix.python-version }}
+
+ - name: Install dependencies
+ run: |
+ python${{ matrix.python }} -m pip install --upgrade pip
+ python${{ matrix.python }} -m pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
+
+ - name: Run sanity tests
+ run: |
+ pwd
+ mkdir -p ansible_collections/purestorage/flasharray
+ rsync -av . ansible_collections/purestorage/flasharray --exclude ansible_collection/purestorage/flasharray
+ cd ansible_collections/purestorage/flasharray
+ ansible-test sanity -v --color --python ${{ matrix.python-version }} --docker
diff --git a/ansible_collections/purestorage/flasharray/.github/workflows/stale.yml b/ansible_collections/purestorage/flasharray/.github/workflows/stale.yml
new file mode 100644
index 00000000..7bbc0505
--- /dev/null
+++ b/ansible_collections/purestorage/flasharray/.github/workflows/stale.yml
@@ -0,0 +1,19 @@
+name: Mark stale issues and pull requests
+
+on:
+ schedule:
+ - cron: "0 0 * * *"
+
+jobs:
+ stale:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/stale@v1
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ stale-issue-message: 'Stale issue message'
+ stale-pr-message: 'Stale pull request message'
+ stale-issue-label: 'no-issue-activity'
+ stale-pr-label: 'no-pr-activity'