Compare commits
7 commits
4a9876c349
...
f414f8aa12
Author | SHA1 | Date | |
---|---|---|---|
f414f8aa12 | |||
a9c55489a6 | |||
449ec8dc27 | |||
9a89280f6e | |||
6619b63917 | |||
3f99e77f5b | |||
7593c27b00 |
6 changed files with 42 additions and 7 deletions
25
.forgejo/workflows/cd.yaml
Normal file
25
.forgejo/workflows/cd.yaml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
name: CD
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
jobs:
|
||||||
|
ci:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.13'
|
||||||
|
cache: 'pip'
|
||||||
|
|
||||||
|
- run: pip install -r requirements.txt
|
||||||
|
|
||||||
|
- run: python3 -m build
|
||||||
|
|
||||||
|
- run: twine upload dist/*
|
||||||
|
env:
|
||||||
|
TWINE_USERNAME: __token__
|
||||||
|
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
|
@ -14,4 +14,4 @@ jobs:
|
||||||
|
|
||||||
- run: pip install -r requirements.txt
|
- run: pip install -r requirements.txt
|
||||||
|
|
||||||
- run: pylint --max-line-length=120 app
|
- run: pylint --max-line-length=120 pfsense_netbox_sync
|
|
@ -1,5 +1,7 @@
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools>=61.0"]
|
requires = [
|
||||||
|
"setuptools>=61.0",
|
||||||
|
]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
|
@ -15,10 +17,17 @@ classifiers = [
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"Operating System :: OS Independent",
|
"Operating System :: OS Independent",
|
||||||
]
|
]
|
||||||
|
dependencies = [
|
||||||
[license]
|
"pynetbox>=7.4",
|
||||||
file = 'LICENSE.txt'
|
"requests>=2.32",
|
||||||
|
]
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Homepage = "https://git.creekorful.cloud/creekorful/pfsense-netbox-sync"
|
Homepage = "https://git.creekorful.cloud/creekorful/pfsense-netbox-sync"
|
||||||
Issues = "https://git.creekorful.cloud/creekorful/pfsense-netbox-sync/issues"
|
Issues = "https://git.creekorful.cloud/creekorful/pfsense-netbox-sync/issues"
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
pfnbsync = "pfsense_netbox_sync:main"
|
||||||
|
|
||||||
|
[license]
|
||||||
|
file = 'LICENSE.txt'
|
|
@ -1,4 +1,5 @@
|
||||||
pynetbox==7.4.1
|
pynetbox==7.4.1
|
||||||
requests==2.32.3
|
requests==2.32.3
|
||||||
pylint==3.3.4
|
pylint==3.3.4
|
||||||
build==1.2.2.post1
|
build==1.2.2.post1
|
||||||
|
twine==6.1.0
|
Loading…
Add table
Add a link
Reference in a new issue