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: pylint --max-line-length=120 app
|
||||
- run: pylint --max-line-length=120 pfsense_netbox_sync
|
|
@ -1,5 +1,7 @@
|
|||
[build-system]
|
||||
requires = ["setuptools>=61.0"]
|
||||
requires = [
|
||||
"setuptools>=61.0",
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
|
@ -15,10 +17,17 @@ classifiers = [
|
|||
"Programming Language :: Python :: 3",
|
||||
"Operating System :: OS Independent",
|
||||
]
|
||||
|
||||
[license]
|
||||
file = 'LICENSE.txt'
|
||||
dependencies = [
|
||||
"pynetbox>=7.4",
|
||||
"requests>=2.32",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://git.creekorful.cloud/creekorful/pfsense-netbox-sync"
|
||||
Issues = "https://git.creekorful.cloud/creekorful/pfsense-netbox-sync/issues"
|
||||
|
||||
[project.scripts]
|
||||
pfnbsync = "pfsense_netbox_sync:main"
|
||||
|
||||
[license]
|
||||
file = 'LICENSE.txt'
|
|
@ -2,3 +2,4 @@ pynetbox==7.4.1
|
|||
requests==2.32.3
|
||||
pylint==3.3.4
|
||||
build==1.2.2.post1
|
||||
twine==6.1.0
|
Loading…
Add table
Add a link
Reference in a new issue