forked from nautobot/nautobot
-
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 pull request nautobot#5065 from nautobot/release/2.1.1
Release/2.1.1
- Loading branch information
Showing
624 changed files
with
1,744 additions
and
33,108 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 |
---|---|---|
|
@@ -17,6 +17,3 @@ | |
|
||
# Add specific exclusions | ||
**/__pycache__ | ||
nautobot/ui/build | ||
nautobot/ui/generated | ||
nautobot/ui/node_modules |
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
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 |
---|---|---|
|
@@ -9,28 +9,6 @@ on: # yamllint disable | |
workflow_call: | ||
|
||
jobs: | ||
black: | ||
runs-on: "ubuntu-20.04" | ||
env: | ||
INVOKE_NAUTOBOT_LOCAL: "True" | ||
steps: | ||
- name: "Check out repository code" | ||
uses: "actions/checkout@v2" | ||
- name: "Setup environment" | ||
uses: "networktocode/gh-action-setup-poetry-environment@v2" | ||
- name: "Linting: black" | ||
run: "poetry run invoke black" | ||
flake8: | ||
runs-on: "ubuntu-20.04" | ||
env: | ||
INVOKE_NAUTOBOT_LOCAL: "True" | ||
steps: | ||
- name: "Check out repository code" | ||
uses: "actions/checkout@v2" | ||
- name: "Setup environment" | ||
uses: "networktocode/gh-action-setup-poetry-environment@v2" | ||
- name: "Linting: flake8" | ||
run: "poetry run invoke flake8" | ||
ruff: | ||
runs-on: "ubuntu-20.04" | ||
env: | ||
|
@@ -42,34 +20,6 @@ jobs: | |
uses: "networktocode/gh-action-setup-poetry-environment@v2" | ||
- name: "Linting: ruff" | ||
run: "poetry run invoke ruff --output-format github" | ||
prettier: | ||
runs-on: "ubuntu-20.04" | ||
env: | ||
INVOKE_NAUTOBOT_LOCAL: "True" | ||
steps: | ||
- name: "Check out repository code" | ||
uses: "actions/checkout@v2" | ||
- name: "Setup environment" | ||
uses: "networktocode/gh-action-setup-poetry-environment@v2" | ||
- name: "Install NPM Dependencies" | ||
working-directory: "./nautobot/ui" | ||
run: "npm ci" | ||
- name: "Linting: prettier" | ||
run: "poetry run invoke prettier" | ||
eslint: | ||
runs-on: "ubuntu-20.04" | ||
env: | ||
INVOKE_NAUTOBOT_LOCAL: "True" | ||
steps: | ||
- name: "Check out repository code" | ||
uses: "actions/checkout@v2" | ||
- name: "Setup environment" | ||
uses: "networktocode/gh-action-setup-poetry-environment@v2" | ||
- name: "Install NPM Dependencies" | ||
working-directory: "./nautobot/ui" | ||
run: "npm ci" | ||
- name: "Linting: eslint" | ||
run: "poetry run invoke eslint" | ||
yamllint: | ||
runs-on: "ubuntu-20.04" | ||
env: | ||
|
@@ -90,9 +40,8 @@ jobs: | |
uses: "actions/checkout@v2" | ||
- name: "Setup environment" | ||
uses: "networktocode/gh-action-setup-poetry-environment@v2" | ||
- name: "Install NPM Dependencies" | ||
working-directory: "./nautobot/ui" | ||
run: "npm ci" | ||
- name: "Install markdownlint" | ||
run: "npm install [email protected]" | ||
- name: "Linting: markdownlint" | ||
run: "poetry run invoke markdownlint" | ||
hadolint: | ||
|
@@ -217,10 +166,8 @@ jobs: | |
- name: "Run coverage" | ||
run: "poetry run invoke unittest-coverage" | ||
needs: | ||
- "black" | ||
- "check-migrations" | ||
- "check-schema" | ||
- "flake8" | ||
- "hadolint" | ||
- "markdownlint" | ||
- "ruff" | ||
|
@@ -268,38 +215,12 @@ jobs: | |
- name: "Run coverage" | ||
run: "poetry run invoke unittest-coverage" | ||
needs: | ||
- "black" | ||
- "check-migrations" | ||
- "check-schema" | ||
- "flake8" | ||
- "hadolint" | ||
- "markdownlint" | ||
- "ruff" | ||
- "yamllint" | ||
tests-ui: | ||
runs-on: "ubuntu-20.04" | ||
env: | ||
INVOKE_NAUTOBOT_LOCAL: "True" | ||
steps: | ||
- name: "Check out repository code" | ||
uses: "actions/checkout@v2" | ||
- name: "Setup environment" | ||
uses: "networktocode/gh-action-setup-poetry-environment@v2" | ||
- name: "Install NPM Dependencies" | ||
working-directory: ./nautobot/ui | ||
run: "npm ci" | ||
- name: "Setup base aliases for tests" | ||
working-directory: ./nautobot/ui | ||
run: "mkdir generated && cp src/file_templates/jsconfig-base.json generated/jsconfig.paths.json" | ||
- name: "Setup base app_imports for mock" | ||
working-directory: ./nautobot/ui | ||
run: "echo 'export const NautobotApps = {}; export default NautobotApps;' > generated/app_imports.js" | ||
- name: "Run unittest-ui" | ||
working-directory: ./nautobot/ui | ||
run: "poetry run invoke unittest-ui" | ||
needs: | ||
- "prettier" | ||
- "eslint" | ||
migration-tests-mysql: | ||
name: "Run migrations against test dataset (MySQL and Python 3.8)" | ||
runs-on: "ubuntu-20.04" | ||
|
@@ -339,10 +260,8 @@ jobs: | |
- name: "Run migration test" | ||
run: "poetry run invoke migration-test --db-engine mysql --dataset $MIGRATION_TEST_DATASET" | ||
needs: | ||
- "black" | ||
- "check-migrations" | ||
- "check-schema" | ||
- "flake8" | ||
- "hadolint" | ||
- "markdownlint" | ||
- "ruff" | ||
|
@@ -381,10 +300,8 @@ jobs: | |
- name: "Run migration test" | ||
run: "poetry run invoke migration-test --db-engine postgres --dataset $MIGRATION_TEST_DATASET" | ||
needs: | ||
- "black" | ||
- "check-migrations" | ||
- "check-schema" | ||
- "flake8" | ||
- "hadolint" | ||
- "markdownlint" | ||
- "ruff" | ||
|
@@ -429,16 +346,14 @@ jobs: | |
- name: "Run coverage" | ||
run: "poetry run invoke unittest-coverage" | ||
needs: | ||
- "black" | ||
- "check-migrations" | ||
- "check-schema" | ||
- "flake8" | ||
- "hadolint" | ||
- "markdownlint" | ||
- "ruff" | ||
- "yamllint" | ||
changelog: | ||
if: contains(fromJson('["develop","next","develop-1.6"]'), github.base_ref) | ||
if: ${{ (contains(fromJson('["develop","next"]'), github.base_ref)) || (startsWith(github.base_ref, 'ltm')) }} | ||
runs-on: "ubuntu-20.04" | ||
steps: | ||
- name: "Check out repository code" | ||
|
@@ -455,10 +370,8 @@ jobs: | |
name: "Test Container Build (amd64 only on Python 3.11)" | ||
runs-on: "ubuntu-22.04" | ||
needs: | ||
- "black" | ||
- "check-migrations" | ||
- "check-schema" | ||
- "flake8" | ||
- "hadolint" | ||
- "markdownlint" | ||
- "ruff" | ||
|
@@ -500,4 +413,3 @@ jobs: | |
- "pylint" | ||
- "tests-mysql" | ||
- "tests-postgres" | ||
- "tests-ui" |
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.
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.