Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a3da4ff7f0 | |||
| e11ddc277a | |||
| fafc3f8a29 | |||
|
|
c0c4c31815 | ||
|
|
49199bd776 | ||
| 5e2a2cbe8c | |||
| 81838054da | |||
|
|
fa75d26da8 | ||
|
|
ecccb51625 | ||
| 2c7e0d8641 | |||
| 3977e3add9 | |||
| 143512953b | |||
|
|
e0dc1da4a1 | ||
|
|
1b766f3f22 | ||
| 762a5f3523 | |||
| 0ca067d37b | |||
|
|
d6d48ead0a | ||
| eef2cc3741 | |||
| 93867a5382 |
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -6,13 +6,16 @@ on:
|
|||||||
- dev
|
- dev
|
||||||
- master
|
- master
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**/.github/**"
|
|
||||||
- "**/.gitignore"
|
- "**/.gitignore"
|
||||||
- "**/.vscode/**"
|
- "**/.vscode/**"
|
||||||
- "**/README.md"
|
- "**/README.md"
|
||||||
- "**/CHANGELOG.md"
|
- "**/CHANGELOG.md"
|
||||||
- "**/docs/**"
|
- "**/docs/**"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- dev
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
@@ -52,6 +55,7 @@ jobs:
|
|||||||
|
|
||||||
tag:
|
tag:
|
||||||
needs: test
|
needs: test
|
||||||
|
if: github.event_name == 'push'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # for the tags
|
contents: write # for the tags
|
||||||
@@ -78,7 +82,7 @@ jobs:
|
|||||||
major_pattern: "breaking:"
|
major_pattern: "breaking:"
|
||||||
minor_pattern: "feat:"
|
minor_pattern: "feat:"
|
||||||
enable_prerelease_mode: false
|
enable_prerelease_mode: false
|
||||||
version_format: "${major}.${minor}.${patch}-rc${increment}"
|
version_format: "${major}.${minor}.${patch}"
|
||||||
|
|
||||||
- name: Create Tag
|
- name: Create Tag
|
||||||
run: git tag ${{ steps.git_version.outputs.version }}
|
run: git tag ${{ steps.git_version.outputs.version }}
|
||||||
@@ -87,6 +91,7 @@ jobs:
|
|||||||
run: git push origin ${{ steps.git_version.outputs.version }}
|
run: git push origin ${{ steps.git_version.outputs.version }}
|
||||||
|
|
||||||
build_and_push:
|
build_and_push:
|
||||||
|
if: github.event_name == 'push'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
needs: tag
|
needs: tag
|
||||||
@@ -106,7 +111,7 @@ jobs:
|
|||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-${{ github.ref_name }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
tags: latest
|
tags: latest
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
@@ -115,7 +120,7 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
build-args: |
|
build-args: |
|
||||||
VERSION=${{ needs.tag.outputs.version }}-${{ github.ref_name }}
|
VERSION=${{ needs.tag.outputs.version }}
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
from creyPY.fastapi.testing import GenericClient
|
from creyPY.fastapi.testing import GenericClient
|
||||||
|
|
||||||
from .main import app
|
from .main import app
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
7
renovate.json
Normal file
7
renovate.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"config:recommended",
|
||||||
|
":semanticCommitTypeAll(feat)"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
certifi==2023.11.17 # Testing
|
certifi==2024.8.30 # Testing
|
||||||
iniconfig==2.0.0 # PyTest Testing
|
iniconfig==2.0.0 # PyTest Testing
|
||||||
packaging==23.2 # PyTest Testing
|
packaging==23.2 # PyTest Testing
|
||||||
pluggy==1.3.0 # PyTest Testing
|
pluggy==1.5.0 # PyTest Testing
|
||||||
pytest==7.4.3 # PyTest Testing
|
pytest==7.4.4 # PyTest Testing
|
||||||
|
|
||||||
click==8.1.7 # Uvicorn
|
click==8.1.7 # Uvicorn
|
||||||
httptools==0.6.1 # Uvicorn
|
httptools==0.6.4 # Uvicorn
|
||||||
pyyaml==6.0.1 # Uvicorn
|
pyyaml==6.0.2 # Uvicorn
|
||||||
uvicorn==0.27.0.post1 # Uvicorn
|
uvicorn==0.27.0.post1 # Uvicorn
|
||||||
uvloop==0.19.0 # Uvicorn
|
uvloop==0.19.0 # Uvicorn
|
||||||
watchfiles==0.21.0 # Uvicorn
|
watchfiles==0.21.0 # Uvicorn
|
||||||
|
|||||||
Reference in New Issue
Block a user