forked from nornir-automation/nornir
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into add_get_defaults_from_dict
- Loading branch information
Showing
43 changed files
with
3,115 additions
and
2,099 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,70 @@ | ||
## For most projects, this workflow file will not need changing; you simply need | ||
## to commit it to your repository. | ||
## | ||
## You may wish to alter this file to override the set of languages analyzed, | ||
## or to provide custom queries or build logic. | ||
## | ||
## ******** NOTE ******** | ||
## We have attempted to detect the languages in your repository. Please check | ||
## the `language` matrix defined below to confirm you have the correct set of | ||
## supported CodeQL languages. | ||
## | ||
#name: "CodeQL" | ||
# | ||
#on: | ||
# push: | ||
# branches: [ develop ] | ||
# pull_request: | ||
# # The branches below must be a subset of the branches above | ||
# branches: [ develop ] | ||
# schedule: | ||
# - cron: '45 5 * * 3' | ||
# | ||
#jobs: | ||
# analyze: | ||
# name: Analyze | ||
# runs-on: ubuntu-latest | ||
# permissions: | ||
# actions: read | ||
# contents: read | ||
# security-events: write | ||
# | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# language: [ 'python' ] | ||
# # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] | ||
# # Learn more about CodeQL language support at https://git.io/codeql-language-support | ||
# | ||
# steps: | ||
# - name: Checkout repository | ||
# uses: actions/checkout@v2 | ||
# | ||
# # Initializes the CodeQL tools for scanning. | ||
# - name: Initialize CodeQL | ||
# uses: github/codeql-action/init@v1 | ||
# with: | ||
# languages: ${{ matrix.language }} | ||
# # If you wish to specify custom queries, you can do so here or in a config file. | ||
# # By default, queries listed here will override any specified in a config file. | ||
# # Prefix the list here with "+" to use these queries and those in the config file. | ||
# # queries: ./path/to/local/query, your-org/your-repo/queries@main | ||
# | ||
# # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
# # If this step fails, then you should remove it and run the build manually (see below) | ||
# - name: Autobuild | ||
# uses: github/codeql-action/autobuild@v1 | ||
# | ||
# # ℹ️ Command-line programs to run using the OS shell. | ||
# # 📚 https://git.io/JvXDl | ||
# | ||
# # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines | ||
# # and modify them (or add more) to build your code if your project | ||
# # uses a compiled language | ||
# | ||
# #- run: | | ||
# # make bootstrap | ||
# # make release | ||
# | ||
# - name: Perform CodeQL Analysis | ||
# uses: github/codeql-action/analyze@v1 |
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 |
---|---|---|
|
@@ -21,6 +21,7 @@ jobs: | |
- name: Install Poetry | ||
uses: snok/install-poetry@v1 | ||
with: | ||
version: 1.3.2 | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
|
||
|
@@ -53,8 +54,8 @@ jobs: | |
shell: bash | ||
strategy: | ||
matrix: | ||
python-version: [ '3.6', '3.7', '3.8', '3.9' ] | ||
platform: [ubuntu-latest, macOS-10.15, windows-latest] | ||
python-version: [ '3.8', '3.9', '3.10', '3.11' ] | ||
platform: [ubuntu-latest, macOS-latest, windows-latest] | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -67,6 +68,7 @@ jobs: | |
- name: Install Poetry | ||
uses: snok/install-poetry@v1 | ||
with: | ||
version: 1.3.2 | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
|
||
|
@@ -94,21 +96,21 @@ jobs: | |
run: make nbval | ||
if: ${{ matrix.platform != 'windows-latest' }} | ||
|
||
release: | ||
name: Releasing to pypi | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Build | ||
uses: abatilo/[email protected] | ||
with: | ||
python_version: 3.8.0 | ||
poetry_version: 1.0 | ||
working_directory: . | ||
args: build | ||
- name: Publish package | ||
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.pypi_password }} | ||
# release: | ||
# name: Releasing to pypi | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@master | ||
# - name: Build | ||
# uses: abatilo/[email protected] | ||
# with: | ||
# python_version: 3.8.0 | ||
# poetry_version: 1.3.2 | ||
# working_directory: . | ||
# args: build | ||
# - name: Publish package | ||
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') | ||
# uses: pypa/gh-action-pypi-publish@master | ||
# with: | ||
# user: __token__ | ||
# password: ${{ secrets.pypi_password }} |
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 |
---|---|---|
@@ -1,11 +1,18 @@ | ||
--- | ||
version: 2 | ||
formats: [] | ||
build: | ||
image: latest | ||
|
||
python: | ||
version: 3.6 | ||
pip_install: true | ||
extra_requirements: | ||
- docs | ||
os: "ubuntu-22.04" | ||
tools: | ||
python: "3.11" | ||
jobs: | ||
post_create_environment: | ||
- pip install poetry | ||
- poetry config virtualenvs.create false | ||
post_install: | ||
# Install dependencies with 'docs' dependency group | ||
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups | ||
- poetry install --with docs | ||
|
||
formats: [] | ||
sphinx: | ||
configuration: docs/conf.py |
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 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 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 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 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,10 @@ | ||
# Security Policy | ||
|
||
## Supported Versions | ||
|
||
Only latest version is supported. | ||
|
||
## Reporting a Vulnerability | ||
|
||
To report a vulnerability feel free to reach out on [slack](https://github.com/nornir-automation/nornir#contact--support) so we can fix before a public disclosure. | ||
If the issue is on a dependency feel free to open a PR bumping such depdency without contacting us first. |
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 @@ | ||
<mxfile host="Electron" modified="2022-05-23T10:06:55.813Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/13.3.9 Chrome/83.0.4103.119 Electron/9.0.5 Safari/537.36" etag="JW5QLFOkV7FbO5AIkN8e" version="13.3.9" type="device"><diagram id="1RKNiAfXPDfAQ1DdleVT" name="Page-1">7Vtdd5s4EP01eQxHID4fbcdum20Sb5zdNn3Zg0Gx2WBEBU7s/fUrgcCAhJPUkHg3cc9pzIAFmnt1Z0YSJ3C02nwibry8wD4KTzTgb07g2Ymm2aZN/2eGbW4wVJAbFiTwc5O6M8yCfxA3FpetAx8ltQtTjMM0iOtGD0cR8tKazSUEP9Yvu8Nh/a6xu0CCYea5oWj9FvjpkndLs3b2zyhYLIs7q6aTn1m5xcW8J8nS9fFjxQTHJ3BEME7zb6vNCIXMd4Vf8t9NWs6WD0ZQlD7nB3B9vogeHu8vls5QXX959C4uxqe8lQc3XPMOQ+KfsJbMkLY6nBP25Om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P8G0I3U3T/7cGbjYDkhb9iz/BusycYEI+NZi9dE3S8UtLydpHeVekurLhIXgSAsk1Cv6AZ9HD3JmiO9e51Wjj+Fw==</diagram></mxfile> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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,6 @@ | ||
nornir.core.plugins.connections | ||
========================================= | ||
|
||
.. automodule:: nornir.core.plugins.connections | ||
:members: | ||
:undoc-members: |
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 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 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 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 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 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.