Skip to content

Commit

Permalink
build: Update project to disable example_plugin usage.
Browse files Browse the repository at this point in the history
This wasn't meant for actual usage in project and just an example so we should comment out all usage of it.
  • Loading branch information
jdrew82 committed Sep 10, 2024
1 parent 941269e commit 9da2dad
Show file tree
Hide file tree
Showing 4 changed files with 1,419 additions and 745 deletions.
5 changes: 3 additions & 2 deletions config/nautobot_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import sys

from nautobot.core.settings import * # noqa: F403 # pylint: disable=wildcard-import,unused-wildcard-import
from nautobot.core.settings_funcs import parse_redis_connection, is_truthy
from nautobot.core.settings_funcs import is_truthy, parse_redis_connection

#
# Debug
Expand Down Expand Up @@ -34,7 +34,8 @@
#

# Enable installed plugins. Add the name of each plugin to the list.
PLUGINS = ["nautobot_example_plugin"]
# PLUGINS = ["nautobot_example_plugin"]
PLUGINS = []

# Plugins configuration settings. These settings are used by various plugins that the user may have installed.
# Each key in the dictionary is the name of an installed plugin and its value is a dictionary of settings.
Expand Down
10 changes: 5 additions & 5 deletions environments/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ RUN cd /source && \
# -------------------------------------------------------------------------------------
# Build Apps in plugins folder
# -------------------------------------------------------------------------------------
RUN for plugin in /source/plugins/*; do \
cd $plugin && \
poetry build && \
cp dist/*.whl /tmp/dist; \
done
# RUN for plugin in /source/plugins/*; do \
# cd $plugin && \
# poetry build && \
# cp dist/*.whl /tmp/dist; \
# done

COPY ../jobs /opt/nautobot/jobs
# COPY ../metrics /opt/nautobot/metrics
Expand Down
Loading

0 comments on commit 9da2dad

Please sign in to comment.