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

Use pyproject.toml instead of uv.lock #186

Merged
merged 1 commit into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/example-build-deploy-python-google.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
env:
SYSTEM_NAME: 'core'
APPLICATION_NAME: 'demo-api-python'
PROJECT_FILE: 'applications/demo-api-python/uv.lock'
PROJECT_FILE: 'applications/demo-api-python/pyproject.toml'
HELM_VALUES_FILE: '.github/deploy/values-demo-api-python.yml'

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-build-deploy-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
env:
SYSTEM_NAME: 'core'
APPLICATION_NAME: 'demo-api-python'
PROJECT_FILE: 'applications/demo-api-python/uv.lock'
PROJECT_FILE: 'applications/demo-api-python/pyproject.toml'
HELM_VALUES_FILE: '.github/deploy/values-demo-api-python.yml'

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
"applications/demo-api/demo-api/core-demo-api.csproj",
"applications/demo-api-go/go.mod",
"applications/demo-api-go/Dockerfile",
"applications/demo-api-python/uv.lock"
"applications/demo-api-python/pyproject.toml"
],
"registry": ["","ghcr.io/3lvia"],
"include": [
Expand All @@ -75,7 +75,7 @@ jobs:
},
{
"application-name": "${{ env.APPLICATION_BASE_NAME }}-python",
"project-file": "applications/demo-api-python/uv.lock"
"project-file": "applications/demo-api-python/pyproject.toml"
}
]
}
Expand Down
6 changes: 3 additions & 3 deletions build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ inputs:
Please use `project-file` instead, which is a drop-in replacement. `dockerfile` will be removed in the future.
project-file:
description: |
Path to a `.csproj`-file for .NET, a `go.mod` file for Go, a `uv.lock` file for Python or a Dockerfile for any other project.
E.g. `applications/my-app/my-app.csproj`, `pkg/my-app/go.mod`, `uv.lock` or `src/Dockerfile`.
Path to a `.csproj`-file for .NET, a `go.mod` file for Go, a `pyproject.toml` file for Python or a Dockerfile for any other project.
E.g. `applications/my-app/my-app.csproj`, `pkg/my-app/go.mod`, `pyproject.toml` or `src/Dockerfile`.
If you require files outside the directory of the `project-file` to build your application, you will need to set `docker-build-context`.
required: false
go-main-package-dir:
Expand Down Expand Up @@ -161,7 +161,7 @@ runs:
- name: Install 3lv CLI
uses: 3lvia/cli/setup@trunk
with:
version: '0.24.0' # TODO: remove this (which will get latest version) when 3lv CLI is stable
version: '0.25.0' # TODO: remove this (which will get latest version) when 3lv CLI is stable

- name: Handle deprecated inputs
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ runs:
- name: Install 3lv CLI
uses: 3lvia/cli/setup@trunk
with:
version: '0.24.0' # TODO: remove this (which will get latest version) when 3lv CLI is stable
version: '0.25.0' # TODO: remove this (which will get latest version) when 3lv CLI is stable

- name: Deploy
shell: bash
Expand Down
Loading