Skip to content

Commit

Permalink
Merge pull request #143 from nautobot/1.2-release-prep
Browse files Browse the repository at this point in the history
docs: Updated changelog
  • Loading branch information
abates authored May 1, 2024
2 parents 0e2ba17 + be60145 commit b17545d
Show file tree
Hide file tree
Showing 50 changed files with 31 additions and 794 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
fail-fast: true
matrix:
python-version: ["3.11"]
nautobot-version: ["2.1"]
nautobot-version: ["1.6"]
env:
INVOKE_NAUTOBOT_DESIGN_BUILDER_PYTHON_VER: "${{ matrix.python-version }}"
INVOKE_NAUTOBOT_DESIGN_BUILDER_NAUTOBOT_VER: "${{ matrix.nautobot-version }}"
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
fail-fast: true
matrix:
python-version: ["3.11"]
nautobot-version: ["2.1"]
nautobot-version: ["1.6"]
env:
INVOKE_NAUTOBOT_DESIGN_BUILDER_PYTHON_VER: "${{ matrix.python-version }}"
INVOKE_NAUTOBOT_DESIGN_BUILDER_NAUTOBOT_VER: "${{ matrix.nautobot-version }}"
Expand Down Expand Up @@ -177,14 +177,14 @@ jobs:
matrix:
python-version: ["3.8", "3.11"]
db-backend: ["postgresql"]
nautobot-version: ["1.6", "stable"]
nautobot-version: ["1.6"]
include:
- python-version: "3.11"
db-backend: "postgresql"
nautobot-version: "1.6.0"
- python-version: "3.11"
db-backend: "mysql"
nautobot-version: "stable"
nautobot-version: "1.6"
runs-on: "ubuntu-22.04"
env:
INVOKE_NAUTOBOT_DESIGN_BUILDER_PYTHON_VER: "${{ matrix.python-version }}"
Expand Down
1 change: 0 additions & 1 deletion development/docker-compose.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ x-nautobot-base: &nautobot-base
- "creds.env"
tty: true

version: "3.8"
services:
nautobot:
depends_on:
Expand Down
1 change: 0 additions & 1 deletion development/docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# any override will need to include these volumes to use them.
# see: https://github.com/docker/compose/issues/3729
---
version: "3.8"
services:
nautobot:
command: "nautobot-server runserver 0.0.0.0:8080"
Expand Down
4 changes: 0 additions & 4 deletions development/docker-compose.mysql.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---
version: "3.8"

services:
nautobot:
environment:
Expand All @@ -25,8 +23,6 @@ services:
- "development_mysql.env"
db:
image: "mysql:8"
command:
- "--default-authentication-plugin=mysql_native_password"
env_file:
- "development.env"
- "creds.env"
Expand Down
2 changes: 0 additions & 2 deletions development/docker-compose.postgres.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---
version: "3.8"

services:
nautobot:
environment:
Expand Down
1 change: 0 additions & 1 deletion development/docker-compose.redis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
version: "3.8"
services:
redis:
image: "redis:6-alpine"
Expand Down
1 change: 0 additions & 1 deletion development/docker-compose.test-designs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
version: "3.8"
services:
nautobot:
volumes:
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/release_notes/version_1.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The 1.2 release of Design Builder removes support for Nautobot 2.x from the long term support branch. Support for Nautobot 1.x will continue in the ltm-1.6 branch while Nautobot 2.0 support will remain in the develop branch.

## [v1.1.0] - 2024-05
## [v1.2.0] - 2024-05

### Removed

Expand Down
23 changes: 1 addition & 22 deletions nautobot_design_builder/contrib/tests/test_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,8 @@
from django.test import TestCase

from nautobot_design_builder.tests.test_builder import builder_test_case
from nautobot_design_builder.util import nautobot_version


@builder_test_case(os.path.join(os.path.dirname(__file__), "testdata"))
class TestAgnosticExtensions(TestCase):
"""Test contrib extensions against any version of Nautobot."""


@builder_test_case(os.path.join(os.path.dirname(__file__), "testdata", "nautobot_v1"))
class TestV1Extensions(TestCase):
"""Test contrib extensions against Nautobot V1."""

def setUp(self):
if nautobot_version >= "2.0.0":
self.skipTest("These tests are only supported in Nautobot 1.x")
super().setUp()


@builder_test_case(os.path.join(os.path.dirname(__file__), "testdata", "nautobot_v2"))
class TestV2Extensions(TestCase):
"""Test contrib extensions against Nautobot V2."""

def setUp(self):
if nautobot_version < "2.0.0":
self.skipTest("These tests are only supported in Nautobot 2.x")
super().setUp()
"""Test contrib extensions."""

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit b17545d

Please sign in to comment.