Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Project to Use Poetry #68

Merged
merged 43 commits into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
9c0461b
feat: ✨ Add pyproject.toml and initial lockfile for dependency manage…
jdrew82 Jan 19, 2024
3523e67
feat: ✨ Add initial tasks.py for project tasks.
jdrew82 Jan 19, 2024
32c1e0d
refactor: 🚚 Move example plugin into plugins folder for better organi…
jdrew82 Jan 19, 2024
f6d4ccb
refactor: 🚚 Move all files related to building the environment into e…
jdrew82 Jan 19, 2024
b56cdf7
feat: ✨ Add invoke example files for local with PostgreSQL, LDAP, and…
jdrew82 Jan 19, 2024
c28e0e9
build: 🏗️ Add jobs folder to enable quicker addition of Job scripts i…
jdrew82 Jan 19, 2024
03987d4
feat: ✨ Add nautobot_config without LDAP config to config folder.
jdrew82 Jan 19, 2024
67c675e
feat: 🙈 Add dockerignore file
jdrew82 Jan 19, 2024
f5ede6e
feat: 🙈 Update gitignore file for more unnecessary files.
jdrew82 Jan 19, 2024
d08461d
docs: 📝 Update SSL docs to account for project structure changes.
jdrew82 Jan 19, 2024
db1f5d3
docs: 📝 Update README to account for project changes.
jdrew82 Jan 19, 2024
1cc6607
test: 🚨 Fix yamllint complaints
jdrew82 Jan 19, 2024
01a3d39
docs: 📝 Update README to add information about Poetry and Invoke
jdrew82 Jan 29, 2024
e669516
docs: 📝 Update plugins docs to use Poetry methodology.
jdrew82 Jan 29, 2024
f18e657
fix: 🐛 Remove healthcheck from example plugin as it's not needed.
jdrew82 Jan 30, 2024
6b8e175
fix: 🐛 Correct volume mount for nautobot_config
jdrew82 Jan 30, 2024
94beba5
refactor: ♻️ Update LDAP nautobot_config to match non-LDAP version.
jdrew82 Jan 30, 2024
1331d5d
fix: 🐛 Add PYTHON_VER argument to Dockerfile for python site-packages…
jdrew82 Jan 30, 2024
37f8d91
fix: 🐛 Add plugins source folder so plugins are installed in final im…
jdrew82 Jan 30, 2024
0c072d8
fix: 🐛 Add LDAP environment variables to local.example.env
jdrew82 Jan 30, 2024
c1b268c
docs: 📝 Update LDAP documentation to use invoke.
jdrew82 Jan 30, 2024
b426e56
docs: 📝 Replace text with bash for CLI snippets
jdrew82 Feb 1, 2024
010af00
docs: 📝 Correct env file name
jdrew82 Feb 29, 2024
8d44bb2
docs: 📝 Update docs to address comments in PR.
jdrew82 Mar 4, 2024
6bbfea0
fix: ♻️ Update base and ldap.yml docker-compose to be similar
jdrew82 Mar 4, 2024
a47bf8b
refactor: ♻️ Remove duplicate config that's in core settings.
jdrew82 Mar 4, 2024
794a65a
refactor: 🔥 Remove mentions of RQ
jdrew82 Mar 4, 2024
d1d77db
docs: ♻️ Redo documentation on App installs
jdrew82 Mar 4, 2024
d0d6773
fix: ♻️ Remove duplicate code from compose file.
jdrew82 Mar 4, 2024
2645543
docs: 📝 Make section header clearer about what's being done.
jdrew82 Mar 4, 2024
fcc857d
refactor: Remove healthchecks from local compose
jdrew82 Mar 6, 2024
b96fc40
feat: Add healthcheck to Postgres service based on cookie
jdrew82 Mar 6, 2024
6af8ebd
refactor: 🔥 Remove lockfile as expected to be generated at project init
jdrew82 Mar 6, 2024
f84a904
docs: 📝 Clarify use of local compos file
jdrew82 Mar 6, 2024
2728639
docs: ♻️ Move MySQL note to under Getting Started
jdrew82 Mar 6, 2024
773145a
refactor: 🔥 Remove CACHES config from nautobot_config.py
jdrew82 Mar 6, 2024
18c2589
docs: 📝 Add section on environment files and what the purpose is of each
jdrew82 Mar 6, 2024
a8598b5
refactor: ♻️ Change sections to be sub-headers under Getting Started
jdrew82 Mar 6, 2024
7be653d
docs: 📝 Tweaking docs for syntax and spelling
jdrew82 Mar 6, 2024
e2a7b7d
fix: 🐛 Update authentication for MySQL to use authentication_policy a…
jdrew82 Apr 10, 2024
7f1980a
fix: 🐛 Add healthcheck to Nautobot service
jdrew82 Apr 10, 2024
c987cef
docs: 📝 Correct MariaDB to MySQL in env file
jdrew82 Apr 10, 2024
3903112
docs: 📝 Add comment about API token character length
jdrew82 Apr 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Docker related
environments/Dockerfile
environments/docker-compose*.yml
environments/*.env
*.env

# Python
**/*.pyc
**/*.pyo
**/__pycache__/
**/.pytest_cache/
**/.venv/


# Other
docs/_build
FAQ.md
.git/
.gitignore
.github
tasks.py
LICENSE
**/*.log
**/.vscode/
invoke*.yml
tasks.py
173 changes: 172 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Ansible Retry Files
*.retry

# Swap files
*.swp

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down Expand Up @@ -132,4 +138,169 @@ certs/nginx-selfsigned.crt
certs/nginx-selfsigned.key

# Override URLs
*override.yml
*override.yml

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

### PyCharm ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### PyCharm Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr

# Sonarlint plugin
# https://plugins.jetbrains.com/plugin/7973-sonarlint
.idea/**/sonarlint/

# SonarQube Plugin
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
.idea/**/sonarIssues.xml

# Markdown Navigator plugin
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
.idea/**/markdown-navigator.xml
.idea/**/markdown-navigator-enh.xml
.idea/**/markdown-navigator/

# Cache file creation bug
# See https://youtrack.jetbrains.com/issue/JBR-2257
.idea/$CACHE_FILE$

# CodeStream plugin
# https://plugins.jetbrains.com/plugin/12206-codestream
.idea/codestream.xml

### vscode ###
.vscode/*
*.code-workspace

# Rando
creds.env


# Invoke overrides
invoke.yml
33 changes: 0 additions & 33 deletions Dockerfile-LDAP

This file was deleted.

Loading
Loading