Skip to content

Commit

Permalink
Merge pull request #4565 from nautobot/release/2.0.0
Browse files Browse the repository at this point in the history
Release/2.0.0
  • Loading branch information
glennmatthews committed Sep 29, 2023
2 parents 0d9c076 + 77142ff commit 3013f25
Show file tree
Hide file tree
Showing 1,392 changed files with 97,682 additions and 50,611 deletions.
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
!README.md
!docs
!mkdocs.yml
!package.json
!package-lock.json

# Add specific exclusions
**/__pycache__
nautobot/ui/build
nautobot/ui/generated
nautobot/ui/node_modules
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/*
!/nautobot
/nautobot/*
!/nautobot/ui
/nautobot/ui/build
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[flake8]
exclude = node_modules
ignore =
# E203 whitespace before ':' (per Black, this is actually correct in some cases)
E203,
Expand Down
8 changes: 6 additions & 2 deletions .github/actions/build-nautobot-image/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ inputs:
tag-latest-for-py:
description: "Whether To Tag As Latest For Python Version"
required: true
platforms:
description: "Platforms To Build For"
required: false
default: "linux/amd64,linux/arm64"
push:
description: "Whether To Push"
required: true
Expand Down Expand Up @@ -73,7 +77,7 @@ runs:
push: "${{ inputs.push }}"
target: "${{ inputs.target }}"
file: "docker/Dockerfile"
platforms: "linux/amd64,linux/arm64"
platforms: "${{ inputs.platforms }}"
tags: "${{ steps.metadata.outputs.tags }}"
labels: "${{ steps.metadata.outputs.labels }}"
cache-from: "type=gha,scope=nautobot-${{ inputs.branch }}-${{ inputs.python-version }}"
Expand All @@ -82,4 +86,4 @@ runs:
build-args: |
PYTHON_VER=${{ inputs.python-version }}
DEPENDENCIES_BASE_BRANCH=${{ inputs.branch }}
POETRY_PARALLEL=true
POETRY_INSTALLER_PARALLEL=true
2 changes: 1 addition & 1 deletion .github/workflows/build_dependency_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: "Check out repository code"
uses: "actions/checkout@v3"
- name: "Get Git Branch/Tag Name" # For tagging dependencies image, supports branch or tag reference
run: echo "##[set-output name=branch;]$(echo $GITHUB_REF | awk -F '/' '{print $NF}')"
run: echo "branch=$(echo $GITHUB_REF | awk -F '/' '{print $NF}')" >> $GITHUB_OUTPUT
id: "gitbranch"
- name: "Set up QEMU"
uses: "docker/setup-qemu-action@v1"
Expand Down

0 comments on commit 3013f25

Please sign in to comment.